4 ms·
From the creator of Hibernate Gavin King "Just because you're using Hibernate, doesn't mean you have to use it for everything.” https://mobile.twitter.com/jav
by victor106 7y ago
From the creator of Hibernate Gavin King
"Just because you're using Hibernate, doesn't mean you have to use it for everything.”
https://mobile.twitter.com/javaooq/status/504184043765002240 https://mobile.twitter.com/javaooq/status/504184043765002240
This is how I use it
1. Use Hibernate for most updates.
2. Use JOOQ for reads. Gives you everything from compiler checks to type safety.
ORM is a tool. Just like any other tool in CS or non-CS you have to know when to use it and when not to use it and what other options exist.