I think what Christian is trying to suggest is you may be using a database that does not support a "native" key generation mechanism. From the Hibernate documentation:
selects identity, sequence or hilo depending upon the capabilities of the underlying database.
Either none of these mechanisms exist in the database you use or they are perhaps missconfigued?