Hi,
My Entity does have "Requires" set,
My Exact problem is that, the database has a "unique" constraint set on it, So its failure is revealed only when ejbstore is called.
When this cosntraint is viaolated i throw an EJBException("Unique cosntraint violated").
But The remote Exception when caught , always gives me transactionRollBackException, i tried remoteExeption.detail as well.
So, the problems are :
1. Catch the RemoteException when SessionBean is running "requires new" and entity "requires" (works in WSAD 5.0, but i dont know why,it doesnt on WSAD 5.1.2)
2. Catch the Message that i set in EJBException. ( i want to see the message , because there are two unique constraints and i need to diffrenciate between the same)
Regards,
Shailesh