-->
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: Unable to understand hibernate logs
PostPosted: Mon Nov 01, 2004 1:48 pm 
Newbie

Joined: Fri Jun 04, 2004 11:01 am
Posts: 2
Hi

I am writing a portlet application on the gridsphere portal framework which uses Hibernate as the persistance layer. The problem is that when I start my application, the following set of logs seems to be repeating as if it is coming out of an infinite loop.

Since the implementation of the persistance layer has been done by the framework, the information that I give might be incomplete. But it would be nice if someone could look at the logs and suggest some probable reasons why such a thing would happen.

Hibernate version:
Quote:
1.7.1


The generated SQL (show_sql=true):
Quote:


Debug level Hibernate log excerpt:

Code:
294703 [Thread-38] (SessionImpl.java:555) DEBUG net.sf.hibernate.impl.SessionImpl  - opened session
296894 [Thread-38] (JDBCTransaction.java:37) DEBUG net.sf.hibernate.transaction.JDBCTransaction  - begin
297762 [Thread-38] (JDBCTransaction.java:41) DEBUG net.sf.hibernate.transaction.JDBCTransaction  - current autocommit status:false
297765 [Thread-38] (SessionImpl.java:1526) DEBUG net.sf.hibernate.impl.SessionImpl  - find: select gsreq from org.gridlab.gridsphere.services.core.request.GenericRequest gsreq
297766 [Thread-38] (QueryParameters.java:109) DEBUG net.sf.hibernate.engine.QueryParameters  - named parameters: {}
297883 [Thread-38] (SessionImpl.java:2242) DEBUG net.sf.hibernate.impl.SessionImpl  - flushing session
297884 [Thread-38] (SessionImpl.java:2435) DEBUG net.sf.hibernate.impl.SessionImpl  - Flushing entities and processing referenced collections
298163 [Thread-38] (SessionImpl.java:2776) DEBUG net.sf.hibernate.impl.SessionImpl  - Processing unreferenced collections
298164 [Thread-38] (SessionImpl.java:2790) DEBUG net.sf.hibernate.impl.SessionImpl  - Scheduling collection removes/(re)creates/updates
298166 [Thread-38] (SessionImpl.java:2266) DEBUG net.sf.hibernate.impl.SessionImpl  - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects
298168 [Thread-38] (SessionImpl.java:2271) DEBUG net.sf.hibernate.impl.SessionImpl  - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
298169 [Thread-38] (SessionImpl.java:1814) DEBUG net.sf.hibernate.impl.SessionImpl  - Dont need to execute flush
298170 [Thread-38] (QueryTranslator.java:199) DEBUG net.sf.hibernate.hql.QueryTranslator  - HQL: select gsreq from org.gridlab.gridsphere.services.core.request.GenericRequest gsreq
298184 [Thread-38] (QueryTranslator.java:200) DEBUG net.sf.hibernate.hql.QueryTranslator  - SQL: select genericreq0_.gsoid as gsoid, genericreq0_.userid as userid, genericreq0_.label as label, genericreq0_.lifetime as lifetime from gsrequest genericreq0_
298185 [Thread-38] (BatcherImpl.java:196) DEBUG net.sf.hibernate.impl.BatcherImpl  - about to open: 0 open PreparedStatements, 0 open ResultSets
298187 [Thread-38] (BatcherImpl.java:237) DEBUG net.sf.hibernate.SQL  - select genericreq0_.gsoid as gsoid, genericreq0_.userid as userid, genericreq0_.label as label, genericreq0_.lifetime as lifetime from gsrequest genericreq0_
298189 [Thread-38] (BatcherImpl.java:241) DEBUG net.sf.hibernate.impl.BatcherImpl  - preparing statement
298192 [Thread-38] (Loader.java:197) DEBUG net.sf.hibernate.loader.Loader  - processing result set
298194 [Thread-38] (Loader.java:226) DEBUG net.sf.hibernate.loader.Loader  - done processing result set (0 rows)
298195 [Thread-38] (BatcherImpl.java:203) DEBUG net.sf.hibernate.impl.BatcherImpl  - done closing: 0 open PreparedStatements, 0 open ResultSets
298197 [Thread-38] (BatcherImpl.java:261) DEBUG net.sf.hibernate.impl.BatcherImpl  - closing statement
298198 [Thread-38] (Loader.java:239) DEBUG net.sf.hibernate.loader.Loader  - total objects hydrated: 0
298200 [Thread-38] (SessionImpl.java:3112) DEBUG net.sf.hibernate.impl.SessionImpl  - initializing non-lazy collections
298201 [Thread-38] (JDBCTransaction.java:59) DEBUG net.sf.hibernate.transaction.JDBCTransaction  - commit
298203 [Thread-38] (SessionImpl.java:2242) DEBUG net.sf.hibernate.impl.SessionImpl  - flushing session
298204 [Thread-38] (SessionImpl.java:2435) DEBUG net.sf.hibernate.impl.SessionImpl  - Flushing entities and processing referenced collections
299620 [Finalizer] (SessionImpl.java:3384) DEBUG net.sf.hibernate.impl.SessionImpl  - running Session.finalize()
299803 [Thread-38] (SessionImpl.java:2776) DEBUG net.sf.hibernate.impl.SessionImpl  - Processing unreferenced collections
299805 [Thread-38] (SessionImpl.java:2790) DEBUG net.sf.hibernate.impl.SessionImpl  - Scheduling collection removes/(re)creates/updates
299806 [Thread-38] (SessionImpl.java:2266) DEBUG net.sf.hibernate.impl.SessionImpl  - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects
299808 [Thread-38] (SessionImpl.java:2271) DEBUG net.sf.hibernate.impl.SessionImpl  - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
299809 [Thread-38] (SessionImpl.java:2355) DEBUG net.sf.hibernate.impl.SessionImpl  - executing flush
299810 [Thread-38] (SessionImpl.java:2820) DEBUG net.sf.hibernate.impl.SessionImpl  - post flush
299812 [Thread-38] (SessionImpl.java:585) DEBUG net.sf.hibernate.impl.SessionImpl  - transaction completion
299815 [Thread-38] (SessionImpl.java:573) DEBUG net.sf.hibernate.impl.SessionImpl  - closing session
299816 [Thread-38] (SessionImpl.java:3332) DEBUG net.sf.hibernate.impl.SessionImpl  - disconnecting session
299818 [Thread-38] (SessionImpl.java:585) DEBUG net.sf.hibernate.impl.SessionImpl  - transaction completion


[/list]


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.