-
1. Re: Container insert extra data
dsundstrom Jul 8, 2002 10:59 PM (in response to roysun)Are you trying to map an entity to an existing table? If so, you need to declare the exact mapping in the jbosscmp-jdbc.xml file.
-
2. Re: Container insert extra data
roysun Jul 9, 2002 1:23 AM (in response to roysun)Is there examples for mapping in jbosscmp-jdbc.xml?
Yes I am mapping exist table. Thanks
Roy -
3. Re: Container insert extra data
roysun Jul 9, 2002 11:23 AM (in response to roysun)I copied exact same thing of relationship declaration from ejb-jar.xml to jbosscmp-jdbc.xml and tried.
It has same error.
Roy -
4. Re: Container insert extra data
roysun Jul 9, 2002 11:43 AM (in response to roysun)I copied exact thing of relationship declaration from ejb-jar.xml to jbosscmp-jdbc.xml and tried.
I had same error.
Roy -
5. Re: Container insert extra data
roysun Jul 9, 2002 11:47 AM (in response to roysun)I copied exact thing of relationship declaration from ejb-jar.xml to jbosscmp-jdbc.xml and tried.
I had same error.
Roy -
6. Re: Container insert extra data
dsundstrom Jul 9, 2002 2:15 PM (in response to roysun)The examples are in the JBossCMP documentation available from FlashLine ($10). The jbosscmp-jdbc.xml file has a simmilar structure to the ejb-jar.xml file but contains different leaf elements. You can also determine the structure from the dtd located in docs/dtd directory of the JBoss distribution.