No more XML configurations any more! Get rid of your xml configuration problems!
The size of the library is just 39kbs, it is very light and easy for downloading!
You don't need to worry about the types of the data in database or in business code! Just enjoy it!
SessionFactory sessionFactory
= new SessionFactoryBuilder()
.build("datasource.properties");
Session session
= sessionFactory.getSession(true);
@Select("select user_id from User where age = ${age}")
public List<Long>
getUserIds(@Param("age") int age);
UserMapper userMapper
= session.getMapper(UserMapper.class);
List list = userMapper.getUserIds(18);
So you get the List of the Objects, you can build it into your buisiness logic! If you want more infomation about the usage, go to my github and find out! I got many use cases for you! Enjoy!
I hope you can fork me in the github!
Or you can download from here directly!