I have column names with  underscores( USER_ID ) in my database. When I tried to write 
a CMP2 bean for this table in the primarykey query I have

SELECT object(a) FROM user a where a.us_userid

While deploying I am getting an error saying 
Unknown terminal field: at line 1, column 39.  Encountered: "us" after: "a."

Can someone please tell me how can I get rid of this. Is there anything I have to do 
before the "_" to make the column read as one complete string. Since "_" is a wild 
character in EJBQL I guess an error is generated here. 


Any help is greatly appreciated.

Thanks,
Anna.


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

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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to