i have a table where the primary key is not auto-generated..it is determined by the user
the data is :
ASK-100
ASK-200
PLE-100
how do i map this in the hibernate.xml file?
is it:
<id name="flexCode" column="FLEX_CODE" type="string">
<generator class="native"/>
</id>
??
I was wondering if anyone would know the generator class i need to use for the folowingf