Welcome to the MILK wiki! Here you will find all the information you need about the MILK database framework. If you want to see it in action just now, go to the cheatsheet or to the examples page
MILK is a Java database framework, focused on:
The main features of MILK are:
First of all, YOU DON'T HAVE TO. There is a lot of database frameworks on the market. Much of them are open source and free, so you have tons of options. MILK is just one of them.
I wrote MILK because I found that the frameworks I tried where too complex and fat for my taste (Hibernate, JPA, etc) and hid a lot of details about database interaction (in practice, making debugging harder), or too thin and make-it-yourself (DBUtils). It doesn't mean I think they are bad (at all), just that they were not suitable for my needs.
What I wanted was a library that made the execution of SQL sentences easy, managed the connections and transactions (so no resource can remain open by accident), and provided a simple ORM (in my day-to-day job, I really dind't need much more than object-to-table mapping).
So, use it if you find it easy and you want to know about your database, care about your database, but not be a slave because of it.
All right, all right, I get it. If you want a taste of it, go to the cheatsheet or to the examples page.