Bugs item #514974, was opened at 2002-02-08 12:15
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=514974&group_id=22866

Category: JBossCMP
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Matt (mpetteys)
Assigned to: Nobody/Anonymous (nobody)
Summary: Case-Sensitive EJBQL Path Expressions

Initial Comment:

It appears that the path expressions in EJBQL are case 
sensitive and returns a simple error message something 
like "EJBQL Cannot be parsed: <query>" when they are 
wrong.  It would be nice if these were treated as case 
insensitive.  I cannot find in the spec where it says 
that it is supposed to be or doesn't have to be case-
sensitive so maybe this is a feature request.

For example..

this query works...

SELECT DISTINCT OBJECT(o) FROM UserGroupRole o WHERE 
o.userAccount.id = ?1

and this one doesn't work...

SELECT DISTINCT OBJECT(o) FROM UserGroupRole o WHERE 
o.useraccount.id = ?1

where this is the relationship

      <ejb-relation>
         <ejb-relation-name>USERGROUPROLE-ACCOUNT</ejb-
relation-name>
         <!-- bidirectional -->
         <ejb-relationship-role>
            <ejb-relationship-role-name>user-has-
usergrouproles</ejb-relationship-role-name>
            <multiplicity>One</multiplicity>
            <relationship-role-source>
               <ejb-name>UserAccount</ejb-name>
            </relationship-role-source>
            <cmr-field>
               <cmr-field-name>userGroupRoles</cmr-
field-name>
               <cmr-field-
type>java.util.Collection</cmr-field-type>
            </cmr-field>
         </ejb-relationship-role>
         <ejb-relationship-role>
            <ejb-relationship-role-name>usergrouprole-
belongsto-useraccount</ejb-relationship-role-name>
            <multiplicity>Many</multiplicity>
            <relationship-role-source>
               <ejb-name>UserGroupRole</ejb-name>
            </relationship-role-source>
            <cmr-field>
               <cmr-field-name>userAccount</cmr-field-
name>
            </cmr-field>
         </ejb-relationship-role>
      </ejb-relation>
   </relationships>


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=514974&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to