-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate INSERT/UPDATE delay, Please help
PostPosted: Wed Jun 25, 2008 12:56 am 
Newbie

Joined: Tue Jan 15, 2008 11:57 pm
Posts: 3
First of all I'm sorry that I can't provide all the required informaiton because the environment is at the customer site, and my colleague inform me about the problem.

os: Window server 2003
hibernate 3.0.x
db2 version 8.1.7.445

the problem is that when the applicaiton try to fire INSERT/UPDATE statement to db , it delay about 30 sec to start INSERT/UPDATE statement.

I know this because after I press insert button, I check the resule at the console and seeing the delay about 30 sec until the statement fired from hibernate printed out at the console.

Normally for others application, hibernate print out the statement after I press the insert button.

Thank you in advance


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 25, 2008 4:38 am 
Beginner
Beginner

Joined: Wed Sep 21, 2005 8:18 am
Posts: 31
we would not be able to help you much until you provide some more detail regarding objects, mapping etc. However, I think that is not a problem of hibernate, there is some problem in you business logic which is taking much time. Try one thing, write a unit test in which you enter data to hibernate session and see the performance now.

_________________
amer sohail


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 25, 2008 4:59 am 
Newbie

Joined: Tue Jan 15, 2008 11:57 pm
Posts: 3
amersohail794 Thank you for your reply.
3 hours later I just got informed by my colleague that the problem's been solved, he said that he fixed something about the logging system.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 25, 2008 10:19 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
And to think you thought Hiberante was to blame. Shame on you!

Thanks for the update. It's good to know the problem was fixed.

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.