-->
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: "identifier of an instance of X altered from 1 to 1&quo
PostPosted: Thu Mar 31, 2005 5:45 am 
Newbie

Joined: Fri Mar 04, 2005 3:00 pm
Posts: 14
Hello,

Anyone got any ideeas what this error is trying to say ?

I am using a native generator (which in fact becomes sequence) and the type of the identifier is long (basic type, not wrapper).

Here's part of the log, maybe it helps :

Code:
org.hibernate.SQL - select hibernate_sequence.nextval from dual
DEBUG 2005-03-31 01:27:02,285  org.hibernate.jdbc.AbstractBatcher - preparing statement
DEBUG 2005-03-31 01:27:02,315  org.hibernate.id.SequenceGenerator - Sequence identifier generated: 1
DEBUG 2005-03-31 01:27:02,315  org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG 2005-03-31 01:27:02,315  org.hibernate.jdbc.AbstractBatcher - closing statement
DEBUG 2005-03-31 01:27:02,315  org.hibernate.event.AbstractSaveEventListener - generated identifier: 1, using strategy: org.hibernate.id.SequenceGenerator
DEBUG 2005-03-31 01:27:02,325  org.hibernate.event.AbstractSaveEventListener - saving [ro.citrusmedia.lims.web.webclients.WebClientInfo#1]
DEBUG 2005-03-31 01:27:02,345  org.hibernate.engine.Cascades - processing cascade ACTION_SAVE_UPDATE for: ro.citrusmedia.lims.web.webclients.WebClientInfo
DEBUG 2005-03-31 01:27:02,355  org.hibernate.engine.Cascades - done processing cascade ACTION_SAVE_UPDATE for: ro.citrusmedia.lims.web.webclients.WebClientInfo
DEBUG 2005-03-31 01:27:02,535  org.hibernate.event.WrapVisitor - Wrapped collection in role: ro.citrusmedia.lims.web.webclients.WebClientInfo.contacts
DEBUG 2005-03-31 01:27:02,535  org.hibernate.event.WrapVisitor - Wrapped collection in role: ro.citrusmedia.lims.web.webclients.WebClientInfo.generalRequests
DEBUG 2005-03-31 01:27:02,535  org.hibernate.event.WrapVisitor - Wrapped collection in role: ro.citrusmedia.lims.web.webclients.WebClientInfo.offerRequests
DEBUG 2005-03-31 01:27:02,535  org.hibernate.event.WrapVisitor - Wrapped collection in role: ro.citrusmedia.lims.web.webclients.WebClientInfo.specificRequests
DEBUG 2005-03-31 01:27:02,535  org.hibernate.event.WrapVisitor - Wrapped collection in role: ro.citrusmedia.lims.web.webclients.WebClientInfo.addresses
DEBUG 2005-03-31 01:27:02,575  org.hibernate.engine.Cascades - processing cascade ACTION_SAVE_UPDATE for: ro.citrusmedia.lims.web.webclients.WebClientInfo
DEBUG 2005-03-31 01:27:02,575  org.hibernate.engine.Cascades - cascade ACTION_SAVE_UPDATE for collection: ro.citrusmedia.lims.web.webclients.WebClientInfo.contacts
DEBUG 2005-03-31 01:27:02,585  org.hibernate.engine.Cascades - done cascade ACTION_SAVE_UPDATE for collection: ro.citrusmedia.lims.web.webclients.WebClientInfo.contacts
DEBUG 2005-03-31 01:27:02,585  org.hibernate.engine.Cascades - deleting orphans for collection: ro.citrusmedia.lims.web.webclients.WebClientInfo.contacts
DEBUG 2005-03-31 01:27:02,585  org.hibernate.engine.Cascades - done deleting orphans for collection: ro.citrusmedia.lims.web.webclients.WebClientInfo.contacts

..... and this is the end of the log
Code:
DEBUG 2005-03-31 01:27:02,626  org.hibernate.engine.Cascades - done processing cascade ACTION_SAVE_UPDATE for: ro.citrusmedia.lims.web.webclients.WebClientInfo
DEBUG 2005-03-31 01:27:02,626  org.hibernate.event.AbstractFlushingEventListener - dirty checking collections
DEBUG 2005-03-31 01:27:02,626  org.hibernate.event.AbstractFlushingEventListener - Flushing entities and processing referenced collections
ERROR 2005-03-31 01:27:02,716  ro.citrusmedia.lims.web.BaseDAO - Hexception:org.hibernate.HibernateException: identifier of an instance of ro.citrusmedia.lims.web.webclients.WebClientInfo altered from 1 to 1
DEBUG 2005-03-31 01:27:02,716  org.hibernate.transaction.JDBCTransaction - rollback
DEBUG 2005-03-31 01:27:02,746  org.hibernate.transaction.JDBCTransaction - rolled back JDBC Connection
DEBUG 2005-03-31 01:27:02,756  ro.citrusmedia.lims.web.BaseDAO - closeSession()
DEBUG 2005-03-31 01:27:02,756  org.hibernate.impl.SessionImpl - closing session
DEBUG 2005-03-31 01:27:02,756  org.hibernate.impl.SessionImpl - disconnecting session
DEBUG 2005-03-31 01:27:02,756  org.hibernate.jdbc.AbstractBatcher - closing JDBC connection (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)
ERROR 2005-03-31 01:27:02,766  ro.citrusmedia.lims.web.webclients.HibernateWebClientsDAOModifyTest - DAOLayerException:ro.citrusmedia.lims.web.DAOLayerException: org.hibernate.HibernateException: identifier of an instance of ro.citrusmedia.lims.web.webclients.WebClientInfo altered from 1 to 1



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.