-->
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: org.springframework.orm.hibernate3.HibernateSystemException
PostPosted: Thu Oct 04, 2007 10:21 am 
Newbie

Joined: Thu Oct 04, 2007 9:46 am
Posts: 3
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3

Mapping documents: 1

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs: Failed to get pooled tasks: org.springframework.orm.hibernate3.HibernateSystemException: failed to lazily initialize a collection of role: org.jbpm.taskmgmt.exe.TaskInstance.variableInstances, no session or session was closed; nested exception is org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.jbpm.taskmgmt.exe.TaskInstance.variableInstances, no session or session was closed




Name and version of the database you are using:hibernate3

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


Problems with Session and transaction handling?

Read this: http://hibernate.org/42.html


Top
 Profile  
 
 Post subject: Hiiiiiiiiiiiiiiiii
PostPosted: Thu Oct 04, 2007 10:55 am 
Newbie

Joined: Thu Oct 04, 2007 10:25 am
Posts: 1
Nice Post.....First You answer to My question

What is Your Question do u understand first....Give me Exactly where you found this exception.What is LazyInitializationException?.


I will give you the solution tomorrow.....


Top
 Profile  
 
 Post subject: Re: Hiiiiiiiiiiiiiiiii
PostPosted: Thu Oct 04, 2007 1:25 pm 
Newbie

Joined: Thu Oct 04, 2007 9:46 am
Posts: 3
AmalRaginedu wrote:
Nice Post.....First You answer to My question

What is Your Question do u understand first....Give me Exactly where you found this exception.What is LazyInitializationException?.


I will give you the solution tomorrow.....


thanks for ur response.While the implementation of alfresco 2.1 we got this exception.would u please tell me how do we implement hybernate in alfresco.


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.