Bugs item #978763, was opened at 2004-06-24 17:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=978763&group_id=22866
Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Cuong Lam (cuongl)
Assigned to: Nobody/Anonymous (nobody)
Summary: accessing entities in a relationship throws EJBException
Initial Comment:
We have a 3 or 4 entities related to each other. When
we try to traverse the entities in the relationship, eg
EntityALocal a = entityahome.findByPrimaryKey (new
Long(1));
Collection c = a.getRelated ();
If you try to access the fields of the entities in the
collection, we get:
javax.ejb.EJBException: Could not load field value:
ticketVersionID
we have traced gone through the jboss source and
found that to fix the problem could be fixed by changing
the file
server/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCLoad
EntityCommand.java. In the method boolean execute ()
[the big one], we changed
// load any preloaded fields into the context
if(readAheadCache.load(ctx))
{
return true;
}
to:
readAheadCache.load(ctx)
and the exception disappeared.
This problem occurs only in jboss 3.2.4 (not jboss 3.2.3)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=978763&group_id=22866
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development