-
Bug
-
Resolution: Done
-
Major
-
JBossAS-3.2.6 Final
-
None
SourceForge Submitter: speedyg .
Operating System : Windows XP
JDK : 1.4.2_04
Create 2 CMP beans with a one-to-many relation (use
relation-table as the preferred relation mapping).
Specify default values in the jbosscmp-jdbc.xml file for
both beans and the relation.
When the server is started, default values are correctly
inserted for both beans but an SQLException is thrown
while inserting data in the relation table.
In fact the sql statement is not correctly selected.
See the attached file for example and comments.