Hibernate version: 2.1.6
Hibernate extensions: 2.1.2
mapping-example
Code:
<class
name="ClassA"
table="tableA"
>
<composite-id name="aid" class="ClassAID">
<key-property .../>
<key-property .../>
</composite-id>
<property ..../>
<property ..../>
<meta attribute="class-code">
// will be inserted into both - ClassA and ClassAID :(
</meta>
</class>
hi,
i'm using the meta-attribute "class-code" and was a little bit surprised that the code is inserted into the class itself and the id-class in case of a "composite-id".
Is there a possibility that the code will only be inserted to one of these classes?
Or better, that i can configure in which class?
Or much better to have an "class-code" attribute for the id and the class?
thx!
curio