I ran into an issue where this:

addConstraint(new
ConstrainedProperty("categoryid").notNull(true).manyToOne(Category.class,
"id"));

was not correctly generating the foreign key constraint, but this:

addConstraint(new
ConstrainedProperty("categoryId").notNull(true).manyToOne(Category.class,
"id"));

was. It would setup the categoryid in the DB, but there would be no FK
constraint applied in the DB unless I used the correct capitalization,
is this proper behavior?

Cheers,
 Tyler
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to