Skip to content

Instantly share code, notes, and snippets.

@rdp
Created September 27, 2012 20:47
Show Gist options
  • Save rdp/3796379 to your computer and use it in GitHub Desktop.
Save rdp/3796379 to your computer and use it in GitHub Desktop.
hibernate non standard ID
<class name="TapeTransfer" table="TapeTransfer">
<composite-id>
<key-property name="tapeKeep"/>
<key-property name="tapeKeep1"/>
</composite-id>
<property name="status" not-null="true"/>
</class>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment