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.  [ 3 posts ] 
Author Message
 Post subject: connection pool gets session.save() stuck
PostPosted: Fri Jul 27, 2007 6:40 pm 
Beginner
Beginner

Joined: Thu May 17, 2007 2:41 pm
Posts: 48
I have an application which works perfectly until I added in the connection pool. all I did was adding

properties.setProperty("hibernate.c3p0.max_size", "1");
properties.setProperty("hibernate.c3p0.min_size", "0");
properties.setProperty("hibernate.c3p0.timeout", "10000");
properties.setProperty("hibernate.c3p0.max_statements", "100");
properties.setProperty("hibernate.c3p0.idle_test_period", "300");
properties.setProperty("hibernate.c3p0.acquire_increment", "2");

to the Configuration properties. and session.save(object) stops working.

there is no error thrown. the insert statement was never issued as made evident by spy.log. and the thread remains a live. but the call never returns.

another funny thing.

the configuration with connection pool does work as long as no subclassing (with <union-subclass> was used. the combination of subclassing and connection pool causes this failure. this rings any bells?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 09, 2007 12:50 am 
Beginner
Beginner

Joined: Thu May 17, 2007 2:41 pm
Posts: 48
please disregard. I can not duplicate this problem any more.


Top
 Profile  
 
 Post subject: Re: connection pool gets session.save() stuck
PostPosted: Mon Oct 10, 2011 8:20 am 
Newbie

Joined: Mon Oct 10, 2011 8:17 am
Posts: 1
i meet the same issue


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

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.