Is there any documentation on how Glassfish handles various sequencing options?
I am testing EJB with Apache Derby, and am a bit puzzled by following:
1. Apache Derby supports autoincrement columns, but Glassfish seems to use a Sequence table instead of native sequencing even when generate is set to AUTO.
2. The SEQUENCE table is generated in the default schema - how can one specify the schema for this? I have worked around this issue by specifying the schema name as the JDBC connect id.
3. There does not appear to be any primary key on the SEQUENCE table. Is this correct? I have seen multiple rows being inserted into the table with the same Sequence name.