Hibernate.orgCommunity Documentation
The underlying issue is that the actual semanctics of the application itself changes in these cases.
Starting with version 3.2.3, Hibernate comes with a set of enhanced identifier generators targetting portability in a much different way.
There are specifically 2 bundled enhancedgenerators:
org.hibernate.id.enhanced.SequenceStyleGenerator
org.hibernate.id.enhanced.TableGenerator
The idea behind these generators is to port the actual semantics of the identifer value
generation to the different databases. For example, the
org.hibernate.id.enhanced.SequenceStyleGenerator
mimics the behavior of
a sequence on databases which do not support sequences by using a table.
Copyright © 2004 Red Hat, Inc.