Good Day,

Thank you very much for the help earlier, the ConstainedProperty#manyToOne()
validation works like a dream. I was wondering if it was possible to load a
property like location onto a bean like position given the following database
structure.

Position (Table)                Location (Table)
----------------                ----------------
id (PK)                         id (PK)
location_id (FK)                description


public class Position {
        ...
        private Location location;
        ...
        public void setLocation(final Location value) {this.location = value;}
        public Location getLocation() {return this.location;}
}

The question is how to populate the Location property on the Position class
when it is loaded from the database?


Mark P Ashworth
Fax:  086 686 1624
Cell: 084 235 3554
http://www.connext.co.za

_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to