db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Russell <Craig.Russ...@Sun.COM>
Subject Re: Issue 119: cannot add a constraint to a join table
Date Sun, 29 May 2005 19:08:51 GMT
Hi Abe,

Learn something every day.

So in order to define a primary key constraint on a join table, I'll 
have to amend my primary-key proposal to include multiple column 
elements and name= and table= attributes.

Thanks,

Craig

On May 29, 2005, at 11:56 AM, Abe White wrote:

>> Sorry, Abe, I should have reiterated the subject in the text. I'm 
>> talking about the fact that you cannot define constraints for join 
>> tables and tables used to contain Map and List fields. It's possible 
>> to define constraints on mapped columns of classes.
>
> Sure you can.  That's why the class-level constraint element have a 
> "table" attribute.
>
>
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