I think the test failures on the SunCmpConversionTest are due to this change. I'm unsure of what I could have done on the CmpJpaConversion side to make this column go from a <basic> to an <id>. Any clues would be helpful.

-David

On Jun 9, 2008, at 11:05 PM, [EMAIL PROTECTED] wrote:

URL: 
http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/test/resources/convert/oej2/cmp/itest-2.2/itest-2.2-orm.xml?rev=665986&r1=665985&r2=665986&view=diff
= = = = = = = = ====================================================================== --- openejb/trunk/openejb3/container/openejb-core/src/test/resources/ convert/oej2/cmp/itest-2.2/itest-2.2-orm.xml (original) +++ openejb/trunk/openejb3/container/openejb-core/src/test/resources/ convert/oej2/cmp/itest-2.2/itest-2.2-orm.xml Mon Jun 9 23:05:30 2008
@@ -232,22 +232,23 @@
            </basic>
        </attributes>
    </entity>
- <entity name="OneOwningSideBean" class = "openejb .org.apache.openejb.test.entity.cmp2.cmrmapping.OneOwningSideBean"> + <entity name="OneOwningSideBean" class = "openejb .org.apache.openejb.test.entity.cmr.cmrmapping.OneOwningSideBean">
        <description>TestModule#OneOwningSideBean</description>
        <table name="OneOwning"/>
+ <id-class class="org.apache.openejb.test.entity.cmr.cmrmapping.CompoundPK"/>
        <attributes>
-            <basic name="id">
+            <id name="id">
                <column name="col_id"/>
-            </basic>
-            <basic name="field1">
+            </id>
+            <id name="field1">
                <column name="col_field1"/>
-            </basic>
+            </id>
            <one-to-one name="oneInverseSide">
<join-column referenced-column-name="col_id" name="col_field1"/>
            </one-to-one>
        </attributes>
    </entity>

Reply via email to