db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: NOT NULL constraints cannot be deferred
Date Wed, 21 Dec 2005 21:37:21 GMT
Hi Jörg,

I agree.

Currently attribute deferred applies to foreign-key and unique elements.

Can you propose a specific metadata attribute or element that covers  
your use-case?

Regards,

Craig

On Dec 19, 2005, at 8:00 AM, Jörg von Frantzius wrote:

> Hello,
>
> if I'm not misteaken, it currently is not possible to have checking  
> of "NOT NULL" constraints be deferred to commit-time. It's possible  
> to have FK and unique constraints checking deferred, but not "NOT  
> NULL" constraints.
>
> "NOT NULL" constraints can result from primitive types being used,  
> or an explicit "allows-null" in a column tag. There should be some  
> way to turn these constraints into deferred constraints as well,  
> IMHO, as any DDL generated by the implementation needs to be  
> modified by hand in order to have them deferred.
>
> Regards,
> Jörg
>
> -- 
> __________________________________________________________
> Dipl.-Inf. Jörg von Frantzius  |            artnology GmbH
>                               |                Milastr. 4
> Tel +49 (0)30 4435 099 26      |              10437 Berlin
> Fax +49 (0)30 4435 099 99      |  http://www.artnology.com
> _______________________________|__________________________
>

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