-
1. Re: How to map One-To-Many Relationship
tdang Jul 29, 2002 4:19 AM (in response to tdang)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! -
2. Re: How to map One-To-Many Relationship
dsundstrom Jul 29, 2002 4:43 PM (in response to tdang)It is covered in the quick start guide available on our source forge download page.
-
3. Re: How to map One-To-Many Relationship
tdang Aug 2, 2002 7:37 AM (in response to tdang)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!
Regards. -
4. Re: How to map One-To-Many Relationship
russellsimpkins Aug 3, 2002 11:46 AM (in response to tdang)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?