hibernate里联合主键配置
- <hibernate-mapping package="com.boise">
- <class name="PropertyFileBsline" table="property_file_bsline">
- <composite-id name="Id" class="PropertyFileBslinePK">
- <key-property name="Bslineid" column="bslineid" type="string"/>
- <key-property name="Bslinepropertyid" column="bslinepropertyid"
- type="string"/>
- </composite-id>
- <property
- name="Bslinepropertyname"
- column="bslinepropertyname"
- type