HibernateDomainExporter and composite-id #161

Closed
lallafa opened this Issue Jun 2, 2012 · 1 comment

Projects

None yet

2 participants

@lallafa
lallafa commented Jun 2, 2012

Our hibernate mapping uses composite-ids without a class (persistent object is its own identifier):

<hibernate-mapping>
    <class name="test.MyEntity" table="MY_TABLE">
        <composite-id>
            <key-property name="pk1" column="PK1"/>
            <key-property name="pk2" column="PK2"/>
        </composite-id>
        <property name="prop1" column="PROP1">
    </class>
</hibernate-mapping>

HibernateDomainExporter should generate code for QMyEntity.myEntity.pk1 and QMyEntity.myEntity.pk2.

@timowest timowest added a commit that referenced this issue Jun 2, 2012
@timowest timowest #161 added composite key support 48b51ad
@timowest
Member

Released in 2.7.0

@timowest timowest closed this Jun 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment