Hello,
is it possible to use Constraints? It seems not to work ...
http://www.datanucleus.org/products/accessplatform_1_1/jpa/orm/constraints.html
The properties codingSystem and code should be unique. Is there a
workaround?
@Entity
@Table(uniqueconstraint...@uniqueconstraint(columnNames=
{"codingSystem","code"})})
public class ArticleCode {
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Key id;
private String codingSystem;
private String code;
Thanks,
Ralph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---