If it wastes a lot of your time to find out the error in the example, please send me an example of One-To-Many Relationship bean with the sql statement and its configuration files (ejb-jar.xml, jboss.xml, jbosscmp-jdbc.xml) so that I can find out the error myself.
Thanks for your help!
It is covered in the quick start guide available on our source forge download page.
I downloaded a new JBoss 3.0.1RC because some bugs with relationships were fixed. And I have studied examples as you mentioned above, I still have the problem and do not know what to do now.
Please help me!
Every comments are welcome!
I'm a little new to JBoss/EJB so excuse me if this sounds a little naive, but if you are getting, java.lang.reflect.UndeclaredThrowableException
, I would think that the error is not in the mapping, but in the coding. Did you make sure that your code is correctly written to either declare your method as throws xException, and that in your client code is in the appropriate try catch block?