• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Performance - Direct JDBC connection?

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

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.

Any better or easier way to improve performance.

This info is quite confusing to me.

P.S. I use Hibernate 3.3.2 + Spring 2.5.6

Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!