-->
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: Identifier of an instance altered from a number to null
PostPosted: Tue Aug 10, 2004 10:09 pm 
Beginner
Beginner

Joined: Wed Aug 04, 2004 9:01 pm
Posts: 21
Hello all,

I am a newbie trying to create an instance of Java Object and persisting this in the database, in the process when I am commiting the transaction, I am getting an exception - Identifier of an instance altered from #58 to null. Anyone to rescue?


2004-08-10 22:10:11 DEBUG BatcherImpl.logOpenPreparedStatement(196) - about to open: 0 open PreparedStatements, 0 open ResultSets
2004-08-10 22:10:12 DEBUG BatcherImpl.getPreparedStatement(237) - select hibernate_sequence.nextval from dual
Hibernate: select hibernate_sequence.nextval from dual
2004-08-10 22:10:12 DEBUG BatcherImpl.getPreparedStatement(241) - preparing statement
2004-08-10 22:10:12 DEBUG SequenceGenerator.generate(81) - Sequence identifier generated: 58
2004-08-10 22:10:12 DEBUG BatcherImpl.logClosePreparedStatement(203) - done closing: 0 open PreparedStatements, 0 open ResultSets
2004-08-10 22:10:12 DEBUG BatcherImpl.closePreparedStatement(261) - closing statement
2004-08-10 22:10:12 DEBUG SessionImpl.saveWithGeneratedIdentifier(778) - generated identifier: 58
2004-08-10 22:10:12 DEBUG SessionImpl.doSave(825) - saving [com.aol.ic.art.data.vo.RequestVO#58]
2004-08-10 22:10:12 DEBUG SessionImpl.flushEverything(2242) - flushing session
2004-08-10 22:10:12 DEBUG SessionImpl.flushEntities(2435) - Flushing entities and processing referenced collections
2004-08-10 22:10:12 FATAL ARTInitServlet.init(?) - Init ART - In catch block identifier of an instance of com.aol.ic.art.data.vo.RequestVO altered from 58 to null


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 10, 2004 10:17 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
What part of the red message box was confusing?

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 10, 2004 10:59 pm 
Beginner
Beginner

Joined: Wed Aug 04, 2004 9:01 pm
Posts: 21
everything


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.