How to manage a database bean using GenericQueryManager but without a "id"?
Person.java
class Person {
private String username;
private String password;
/*...................*/
}
and I want to use username as the primary KEY, without a int type
"ID", is it possible?
=============
addConstraint(new ConstrainedProperty("username")
.maxLength(20)
.minLength(3)
.identifier(true)
);
=============
in PersonMetaData is not working, seems identifier can only be int type?
hui.
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users