Directly accessing a relational database from an object-oriented Java application can be inefficient and introduce problems. Moving to Persistence Frameworks may be the solution you need.

This story continues at http://www.databasejournal.com/news/article.php/3357461