You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Karan Malhi <ka...@gmail.com> on 2008/06/18 04:05:25 UTC

Re: svn commit: r665986 [1/2] - in /openejb/trunk/openejb3/container: openejb-core/src/main/java/org/apache/openejb/config/ openejb-core/src/test/java/org/apache/openejb/test/entity/cmp2/ openejb-core/src/test/java/org/apache/openejb/test/entity/cmp2

Was trying to look into this, could you provide a bit more detail on this?

On Tue, Jun 17, 2008 at 6:29 PM, David Blevins <da...@visi.com>
wrote:

> 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, dblevins@apache.org 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>
>>
>
>


-- 
Karan Singh Malhi

Re: svn commit: r665986 [1/2] - in /openejb/trunk/openejb3/container: openejb-core/src/main/java/org/apache/openejb/config/ openejb-core/src/test/java/org/apache/openejb/test/entity/cmp2/ openejb-core/src/test/java/org/apache/openejb/test/entity/cmp2

Posted by Karan Malhi <ka...@gmail.com>.
Ignore previous email . Gmail had hidden the stuff below your signature

On Tue, Jun 17, 2008 at 10:05 PM, Karan Malhi <ka...@gmail.com> wrote:

> Was trying to look into this, could you provide a bit more detail on this?
>
> On Tue, Jun 17, 2008 at 6:29 PM, David Blevins <da...@visi.com>
> wrote:
>
>> 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, dblevins@apache.org 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>
>>>
>>
>>
>
>
> --
> Karan Singh Malhi




-- 
Karan Singh Malhi