PostgreSQL "bigserial" type not supported
Brought to you by:
jhudson8
I have a table whose key column is defined as a
"bigserial" (an autogenerated ID type like "serial" but
it's a 64-bit integer rather than 32-bit) and when
Hibernate Synchronizer generates the mapping file, the
file contains a message, "Please tell Joe Hudson that
the type 'bigserial' could not be resolved."
For Hibernate's purposes, this should probably be a
Long with a "sequence" generator type, since obviously
Hibernate will need to use the sequence explicitly when
it inserts new rows.