-----Message d'origine----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Date: jeudi 22 janvier 2004 15:08 �: [EMAIL PROTECTED] Objet: [Xdoclet-user] Problem with EJB-QL Compilation (Newbie)
Hi I have an EJB-QL issue when deploying an EJB. Jboss says : 51:17,033 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=com.gerling.inventaire.ejb.ConsumableCMPBean,service=EJB .jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT OBJECT(a) FROM consumableSchema as a where a.printer = ?1'; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.Un wnPathException: Unknown terminal field: at line 1, column 61. Encountered: "REFERENCE" after: "a.") here is the relevant snipplet : ....... * @ejb.finder * query = "SELECT OBJECT(a) FROM consumableSchema as a where a.printer = ?1" * signature = "java.util.Collection findByPrinter(java.lang.String printer)" * ....... Can someone help me ? Thanks Fr�d�ric ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
