-->
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: Queries langsam, wenn c3p0 für connection pooling verwendet
PostPosted: Mon Jun 07, 2010 7:47 am 
Newbie

Joined: Mon Jun 07, 2010 7:41 am
Posts: 2
Die Queries mit Hibernate sind sehr langsam, wenn c3p0 für's connection pooling verwendet wird.

hibernate_cfg:

!hibernate.connection.provider_class=org.hibernate.connection.C3P0ConnectionProvider
!hibernate.default_batch_fetch_size=100
!hibernate.c3p0.initial_size=1
!hibernate.c3p0.min_size=1
!hibernate.c3p0.max_size=400
!hibernate.c3p0.timeout=1000
!hibernate.c3p0.max_statements=500
!hibernate.c3p0.idle_test_period=3000

Momentan ist alles auskommentiert. Nur mit hibernate.connection.provider_class=org.hibernate.connection.C3P0ConnectionProvider und alle weiteren Parameter weiterhin auskommentiert ändert sich nichts.

Hat jemand eine Idee, was die Ursache sein könnte ?


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.