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