Hello,
I have a CMP entity bean, and a session bean with a createObject(ValueObject object) method as a facade to create new instances.
I want to catch a DuplicateKeyException on my createObject method, however I'm unable to do it... JBoss catches the exception and shows it on the console...
Does anyone know how to catch DuplicateKeyException?
I think it may be related to the transaction support I have on the beans... What transaction support do I need to be able to catch those exceptions?
Thanks in advance.