-->
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.  [ 2 posts ] 
Author Message
 Post subject: Transient Object Exception
PostPosted: Thu Feb 04, 2016 11:06 pm 
Newbie

Joined: Mon Oct 19, 2015 2:38 pm
Posts: 4
Hi all,

I'm in the process of migrating an application from Java 7 to 8. The the following hibernate exception is currently the bane of my existence: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing. Unfortunately I can't post any code, but can anyone think of a difference in the way hibernate behaves between the two java versions that could lead to this exception? Any input would be greatly appreciated. Thanks.

hibernate 3.6.10
spring 4.1
java 1.8
wildfly 8.2


Top
 Profile  
 
 Post subject: Re: Transient Object Exception
PostPosted: Fri Feb 05, 2016 8:03 am 
Beginner
Beginner

Joined: Thu Nov 26, 2015 11:40 am
Posts: 33
Without looking at the code it is difficult to say. At least from an Hibernate perspective, I can say that if it already working in Java 7 there is no reason why it shouldn't work with Java 8.

IMO, I doubt the problem could be at some other place in your code but not Hibernate.


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