<?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" >
<hibernate-mapping package="com.travelsky.poc"> <class name="A" table="A"> <composite-id > <key-property column="FIRST" name="First" type="integer" /> <key-property column="SECOND" name="Second" type="integer" /> </composite-id >
<property column="NAME" name="Name" type="string" />
</class> </hibernate-mapping>
|