Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate and connection pooling

 
Mohamad Ibrahim
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i combine between hibernate and connection pooling ?
I know hibernate is a framework , but it uses a different way to connect to the data bases
 
vijin das
Ranch Hand
Posts: 129
Firefox Browser Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamad Ibrahim wrote:How can i combine between hibernate and connection pooling ?
I know hibernate is a framework , but it uses a different way to connect to the data bases


Hibernate Provides

1) Object relational mapping:
2) Connection Management:
3) Transaction management:

Hibernate is very good tool as far as object relational mapping is concern, but in terms of connection management and transaction management, it is lacking in performance and capabilities. So usually hibernate is being used with other connection management and transaction management tools. For example Apache DBCP is used for connection pooling with the Hibernate.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic