Hi all, I found out, that JBoss 4 creates multiple instances (=Entity Beans) of one entity. This results in problems during update, because the changes, which are made, are overwritten by an subsequent ejbStore() call of another EJB of the same entity. Did anyone face the same problem? Is there any solution for it or should I kick the whole development in the trash bin?
Hereby I give you the most important part from the protocol. The relevant bean is RelationshipBean, its key is (objtyFr, objidFr, objtyTo, objidTo, lfdNr), (relty, validFr, validTo) are attributes. Any help is appreciated. Nick 2004-11-16 09:11:14,261 DEBUG [de.btconsult.crm.ejb.RelationshipBean] ejbActiviate() 2004-11-16 09:11:14,261 DEBUG [de.btconsult.crm.ejb.RelationshipBean] ejbLoad() 2004-11-16 09:11:14,261 DEBUG [de.btconsult.crm.ejb.RelationshipBean] objtyFr=KU;objidFr=0000000111;objtyTo=ZI;lfdNr=0001;relty=A003;validFr=2001-01-01;validTo=2004-12-31 2004-11-16 09:11:14,261 DEBUG [de.btconsult.crm.ejb.RelationshipBean] ejbStore() 2004-11-16 09:11:14,261 DEBUG [de.btconsult.crm.ejb.RelationshipBean] objtyFr=KU;objidFr=0000000111;objtyTo=ZI;lfdNr=0001;relty=A003;validFr=2001-01-01;validTo=2004-12-01 2004-11-16 09:11:14,271 DEBUG [de.btconsult.crm.ejb.RelationshipTypeBean] ejbStore() 2004-11-16 09:11:14,271 DEBUG [de.btconsult.crm.ejb.RelationshipBean] ejbStore() 2004-11-16 09:11:14,271 DEBUG [de.btconsult.crm.ejb.RelationshipBean] objtyFr=KU;objidFr=0000000111;objtyTo=ZI;lfdNr=0001;relty=A003;validFr=2001-01-01;validTo=2004-12-31 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855303#3855303 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855303 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user