Cayenne, Postgres: primary key generation
问题 I'm using Cayenne 3.2M1 and Postgres 9.0.1 to create a database. Right now I'm having problems with the primary key generation of Cayenne since I have tables with more than one primary key and as far as I've read Cayenne cant generate more that one primary key per table. So I want the Postgres to do that work. I have this table: CREATE TABLE telefonocliente ( cod_cliente integer NOT NULL DEFAULT currval('cliente_serial'::regclass), cod_telefono integer NOT NULL DEFAULT nextval(