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 Issue 119: cannot add a constraint to a join table
Date Sun, 29 May 2005 03:28:08 GMT
Javadogs,

There is no way to specify a constraint except on the columns mapped to 
fields in a class. So, there can be a foreign key defined for the join 
columns or for the mapped columns but there is no way to define a 
unique or primary key constraint on multiple columns in a join table.

I can't see how to do this easily. Is this even an issue? Anyone else?

Craig

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