how to write generator element when the primary key is type of string

2 views
Skip to first unread message

rajeshkarna75

unread,
Mar 4, 2009, 4:47:06 AM3/4/09
to Hibernate Shards Dev
Hi,

How to write generator element in hbm file when the primary key in
the database table of type string?

Can anybody please give the sample code, as I am fairly new in using
hibernate f/w.?

Regards,

Rajesh Karna

Max Ross

unread,
Mar 6, 2009, 12:16:27 PM3/6/09
to hibernate-...@googlegroups.com
Rajesh,

Please correct me if I'm wrong, but your question doesn't sound like it's related to Hibernate Shards.  I'd recommend posting your question to a general Hibernate users forum.

Max
Reply all
Reply to author
Forward
0 new messages