I have legacy Oracle db with a sequence named PRODUCT_ID_SEQ.
PRODUCT_ID_SEQ
Here is the mapping of Product class for which I need generate correct ids:<
Product
I had the same issue while upgrading from 3.5.5 to 5.0.6.Final.
I solved it by re-configuring mapping in the HBM file from:
to:
true none 1 PRODUCT_ID_SEQ