I am using Interbase with a BMP bean. If I have a column with a
unique
constraint and attempt to add another row with the same value I don't get a
SQLException. JBoss seems to throw some internal errors which I am unable to
catch. The output is below.
constraint and attempt to add another row with the same value I don't get a
SQLException. JBoss seems to throw some internal errors which I am unable to
catch. The output is below.
Has anyone had any luck with unique
constraints errors in JBoss?
-Bob
[com.faq.ejb.UserMasterHome] TRANSACTION ROLLBACK EXCEPTION:null; nested
exception is:
javax.ejb.EJBException
[com.faq.ejb.UserMasterHome] java.lang.ClassCastException:
java.lang.VerifyError
[com.faq.ejb.UserMasterHome] at
org.jboss.ejb.plugins.BMPPersistenceManager.c
reateEntity(BMPPersistenceManager.java:151)
[com.faq.ejb.UserMasterHome] at
org.jboss.ejb.EntityContainer.createHome(Enti
tyContainer.java:441)
[com.faq.ejb.UserMasterHome] at java.lang.reflect.Method.invoke(Native
Method
)
