Hi G,

On Jun 13, 2006, at 12:07 PM, Michael Segel wrote:

If there exists a value N such that you can return V1 that doesn't throw an exception due to the unique constraint on the identity column, then the sequence should return that number. Or rather Derby should trap for this and determine how to find a value N if it exists. If N does not exist, then you
should indicate that the table is "full".

Cycling through my earlier comments now.

The generator and the unique constraint checking are orthogonal concepts.

Craig

Failing to do so would mean that there is a design defect that needs to be
corrected.

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to