-->
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 .. altered
PostPosted: Mon May 23, 2005 11:41 am 
Newbie

Joined: Mon May 23, 2005 11:31 am
Posts: 1
I am trying to add an object which has following hibernate mapping and I am getting teh following error.I checked my accessor declaration , class hierarchy, hibernate mapping file.

MAPPING================


<?xml version="1.0"?>

<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">

<hibernate-mapping package="com.sungard.omnimanager.db.model">
<class name="User">
<composite-id>
<key-property name="userid" />
<key-property name="profileName" />
<key-property name="accessId" />
</composite-id>

<property name="deleted" type="boolean"/>
<property name="sslEnabled" type="boolean"/>

</class>
</hibernate-mapping>



ERROR =================

identifier of an instance of com.sungard.omnimanager.db.model.User altered from com.sungard.omnimanager.db.model.User@56f631[
accessId=MATCOM
userid=EBSEBS
profileName=WORDLWIDE
sslEnabled=false
id=<null>
deleted=false
] to com.sungard.omnimanager.db.model.User@56f631[
accessId=MATCOM
userid=EBSEBS
profileName=WORDLWIDE
sslEnabled=false
id=<null>
deleted=false
]
at com.sungard.omnimanager.db.utility.OmniMgrHibernateUtility.addDbEntity(OmniMgrHibernateUtility.java:136)
at com.sungard.omnimanager.db.dao.UserDAO.addUser(UserDAO.java:46)
at com.sungard.omnimanager.db.dao.UserDAO.main(UserDAO.java:29)


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.