This content has been marked as final.
Show 5 replies
-
1. Re: XPetstore EJBQL problem on Jboss 3.2.4&3.2.5, but works
mlange Jun 26, 2004 6:52 PM (in response to mj123)I had the same problem with 3.2.4. Possibly related to a reserved keyword 'order' after which one of the entity beans is named. Just change the XDoclet tags to sth. different and it works.
-marek -
2. Re: XPetstore EJBQL problem on Jboss 3.2.4&3.2.5, but works
mj123 Jun 27, 2004 9:03 AM (in response to mj123)it does work.
thanks for help -
3. Re: XPetstore EJBQL problem on Jboss 3.2.4&3.2.5, but works
sandrods Nov 29, 2004 12:47 PM (in response to mj123)Could you please tell me wich XDoclet tags have you changed in order for this to work.
Regards,
Sandro Duarte -
4. 3827621
john.mendonca Nov 30, 2004 8:55 PM (in response to mj123)Did you ever figure out which XDoclet tags to change. I also have the same problem!
-
5. Re: XPetstore EJBQL problem on Jboss 3.2.4&3.2.5, but works
redbeard15 Dec 13, 2004 2:23 PM (in response to mj123)In the OrderEJB.java file, change the 'schema="Order"' attribute of the @ejb.bean tag to something like 'schema="OrderSum"'.
Change the 'query="SELECT ... From Order ..." attribut to
'query="SELECT ... From OrderSum ..."' in the 'findByCustomer' finder definition.