Hi,
I'm trying to use a HiLo ID generator for my classes. I want to store the high values all in one table, and have created multiple columns (one for each table).
Code:
MYIDTABLE
TABLE1 TABLE2 TABLE3
483 23 8298
This works for my current solution, so I'm looking for a ID generator which stores each high value in a different row, not in a different column.
Code:
MYIDTABLE
TABLENAME HIGHVALUE
TABLE1 483
TABLE2 23
TABLE3 8298
This would be much more flexible for future extensions. Is such a generator out there, or do I have to write my own generator?
Hibernate version: 3.05