-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: disable prepared statements for performance on postgresql
PostPosted: Thu Feb 22, 2007 2:50 pm 
Beginner
Beginner

Joined: Thu Jun 23, 2005 4:11 pm
Posts: 24
I'm having performance issues on postgresql 8.2 and think I've concluded that the problem is that postgresql cannot optimize queries by using constraint exclusion or partial indexes when prepared statements are used via hibernate.

Is there any way to disable prepared statements at the session or session factory level? I could not find any answers in the forum or documentation.

I guess it could be done by hand creating sql statements but it seems like this would be a real pain and fragile.

thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.