Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Best practices  RSS feed

 
karan wadhwani
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will anybody suggest some links/or inputs for best practices in hibernate, mainly in annotation/Entity manager?
 
Devaka Cooray
Marshal
Posts: 5613
742
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I heard that the latest version of Hibernate In Action book includes the usage of Hibernate Entity Manager library.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd recommend researching the "Open Session in View" pattern. That tends to be a best practice.

https://www.hibernate.org/43.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!