I'm using JBoss-2.4.1a_Tomcat-3.2.3.zip with mySQL. If I
attempt to create two beans with the same primary key, I
get back:
java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is:
javax.transaction.TransactionRolledbackException: INSERTING AN
ALREADY EXISTING BEAN, ID = test; nested exception is:
java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN,
ID = test
I was expecting a CreateException. Is this right and can I rely
on it with different datastores underneath to return the same
exception?
Thanks.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user