Hello,
is it possible to use Constraints in the google-app-engine? It seems not to work ... http://www.datanucleus.org/products/accessplatform%5F1%5F1/jpa/orm/constr...
The properties codingSystem and code should be unique. Is there a workaround?
@Entity @Table(uniqueConstraints={@UniqueConstraint(columnNames= {"codingSystem","code"})}) public class ArticleCode {
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Key id;
private String codingSystem;
private String code;
Thanks, Ralph