I think this is a bug in the EJBQLToSQL92Compiler:
If there is a space character between the () in in the findAll() finder method, 
jboss3.2.5 will throw the following error at deployment time:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  |         at java.lang.String.charAt(String.java:444)
  |         at 
org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.java:305)
  | 
So if you use:
  |  * @ejb.finder
  |  *      signature="java.util.Collection findAll( )"
  |  *      query="SELECT OBJECT(o) FROM WebOrder AS o" 
  | 
You will get the error described above, but then you wont if you use:

  |  * @ejb.finder
  |  *      signature="java.util.Collection findAll()"
  |  *      query="SELECT OBJECT(o) FROM WebOrder AS o" 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840883#3840883

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840883


-------------------------------------------------------
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-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to