When you reverse engineer the Hibernate HBM files from the database (in the MyEclipse database perspective), how do you control what Generator class is used (increment vs. identity, for example)?
I had a case where I had three HBM files where the generator class was identity and they weren’t adding records to the database until I changed the generator class to increment.
That seems obvious … now…. four hours later.
Is there a way to specify what generator class is used? I didn’t see it.
Even if I look at the Hiberate mapping files in the cool MyEclipse viewer, there doesn’t seem to be a way to modify the generator class except to do it manually.
This should be an option right in the Reverse Engineer dialog. Maybe it is and I just don’t see it?
Please let me know.
Thanks,
– m