Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Performance - Direct JDBC connection?  RSS feed

 
Patrick Kok
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to Hibernate performance tuning.
Could anyone tell me what is the DIRECT JDBC connection means?
say, If my datasource is using c3p0 connection pool with postgresl jdbc 4.0 driver.
My understanding is to use SQL directly rather than HQL and use Sateless session.

It implies I must iterate my fetched records manually.
There is nothing to do the datasource config.
Please correct me if I am wrong.

OR
Any better or easier way to improve performance.

This info is quite confusing to me.
https://www.hibernate.org/350.html


P.S. I use Hibernate 3.3.2 + Spring 2.5.6

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!