We've been implementing Hibernate recently as a replacement for JDBC.
What I like is not having to constantly write SELECT
, UPDATE
, INSERT
statements and the associated PreparedStatement
and ResultSet
code.
However we've been struggling with random bizarre behavior (example A) which I find hard to understand and resolve due to all the different configuration/feature options and the associated Hibernate behavior. I find some of the features like caching, lazy loading, etc, etc very cool but way more than I need - and ultimately confusing.
Is there a better middle ground for someone just looking to avoid the tediousness of JDBC but who doesn't need all the features of Hibernate?