d.samuelson@btopenworld.c wrote:
Thanks for the quick response.....
an extract of the mapping is as follows:
<class name="Wilson.NHibernate.Example.Contact, WilsonNHibernateExample" table="Contacts" discriminator-value="?" >
<id name="Id" column="ContactId" access="nosetter.camelcase" unsaved-value="0">
<generator class="native">
<param name ="sequence">seq_TBLCONTACTS</param>
</generator>
</id>
<discriminator column="ContactType" />
I cannot use identity as this does not seem to be supported by Oracle?
Yes, but there is no generator that seems to fit Your situation - means You need to write Your own. And You probably need to tweak the Oracke dialect also...
Or create an Jira entry... Or search the web, maybe someone has created a one...
Gert