How are you getting the FK ids? When you get your entity X, say through: EntityLocal x = xHome.findByPrimaryKey(xId);
Do you then get your FKs through x.getId2() x.getId3() ? If so, I don't understand then. The CMR I am familiar with makes that unecessary, unpossible. The container will make sure that ID exists, correct? CMRs would allow you to say EntityYLocal y = x.getY(); EntityZLocal z = x.getZ(); Either way, I'd think if you were using x.getId2() and x.getId3() as above that would enlist X in the cache. <a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826755#3826755">View the original post</a> <a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826755>Reply to the post</a> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user