Hi all, I'm trying write entity beans in Jboss 3.0.4 that have a CMR as part of the primary key. Is this even possible with EJB (I'd hope so). Basically I have the following tables/objects
Tables: Account: accountNum:number <various other account fields, etc> pk: accountNum Userids: accountNum:number userid:String startdate:date <other info about system userids> pk: accountNum, userid, startdate fk: accountNum that refs Account table The relationship is 1-M (accounts-userids) in case you haven't guessed, so I used xdoclet to build the relationship between the two and I put an @ejb:pk-field tag on the relationship methods but that doesn't seem to work in looking at the generated code. I also tried at one point to have accountNum on my UserEJB be a persisted field and tried to have a relation at the same time, but that didn't work for some reason either (can't remember what it was at this point) So my question is, is this possible in CMP 2.0, and if so, can somebody give me some pointers/advice. Thanks, Eric ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
