Joined: Thu Mar 08, 2007 8:49 am Posts: 11 Location: Hyd
|
[b]3.0[/b]
Hi,
Most of our DB tables are having Composite-IDs.we r using own sequence generator logic. we have Id_Generator table which contains other tables as argument.
[b]Id_Generator table
TBName next_no delete_Flag Row_Version_No
Advance 1 1 0
Product 3 1 2
[/b]
I want to write a generic IDGenerator class and send tablename as argument from .hbm file.
Can any one help me on writting own IDGenerator class.
_________________ Thanks&Regards
Sunil k
|
|