Is there a library that deals exclusively with lazy-loading class fields without all the bells and whistles of full-fledged ORM? Alternatively, which ORM (with a liberal license) provides the best lazy-loading mechanism that I can reuse?
MyBatis sounds like it might be just what your after. It's not an ORM, but a "data mapper" to map SQL statements (or stored procedures) to objects. There are both Java and .Net versions.
In my experience, it works very well, and is far simpler to use than a full blown ORM (I'm looking at you Hibernate). The community remains active, and has spawned a number of integration projects for libraries like Spring and Guice, as well as MyBatis Migrations for managing databases (similar to RoR Migrations).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With