----- Original Message ----- From: "Thomas Hentschel Lund" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 05, 2004 6:46 PM Subject: [Xdoclet-user] Problems with jboss and unknown cmr fields after xdoclet 1.2b3->1.2 final upgrade
> org.jboss.deployment.DeploymentException: Error compiling EJB-QL > statement 'select object(o) from APMCSession o where o.UserLight.id=?1 > and o.APRun.id=?2'; - nested throwable: > (org.jboss.ejb.plugins.cmp.ejbql.UnknownPathException: Unknown cmr field > in path: at line 1, column 54. Encountered: "UserLight" after: "o.") > The finder that is generating the error > > * @ejb.finder signature="java.util.Collection findEndedByUserLight > (java.lang.Long userid)" > * query="select object(o) from APMCSession o where > o.enddate is not null and o.UserLight.id=?1" > * unchecked="true" EJB-QL is case sensitive, use o.userLight instead of o.UserLight (userLight is the CMR field name, as you can see from the DD). HTH, Damjan S. Vujnovic ------------------------------------------------------- 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 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
