db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: "generated by default" question
Date Tue, 13 Jun 2006 19:22:25 GMT
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:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message