Created
September 3, 2012 17:59
-
-
Save davybrion/3611435 to your computer and use it in GitHub Desktop.
code snippet for "Native ID Generation With NHibernate" post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<id name="Id" column="CustomerId" type="long" unsaved-value="-1" access="field.camelcase-underscore"> | |
<generator class="native" > | |
<param name="sequence">sq_customer</param> | |
</generator> | |
</id> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment