Hi All
I have table in the database (sqlserver) with varchar data type as primary key.
I want to know what to use as primary key generatec class in the tablename.hbm.xml file.
Like in case of numeric columns we use identity or hilo what will be an equivalent for
String (varchar).
I tried using uuid.hex but that generates a huge id & my column size is only 16.
I have seen some thing like generated class - assigned. but never found any implementation example for the same
Do post your views
Bye
Hari