Joined: Mon Jun 07, 2004 9:18 am Posts: 13 Location: Torino, Italy
|
Anyone knows why the PostgreSQLDialect uses sequences instead of PostgreSQL "serial" or "bigserial" data type for the native id mapping ?
PostgreSQL 8 supports identity generation via serial and bigserial data types, and there is no reason to use sequences when mapping id as "native".
The documentation states that native picks identity, sequence or hilo depending on the capability of the DB. Since PostgreSQL 8 is able to handle identity, why is sequence used instead ?
Thanks !
|
|