wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes EJB QL question . Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB QL question . Help" Watch "EJB QL question . Help" New topic
Author

EJB QL question . Help

tashu Bairy
Greenhorn

Joined: Jun 22, 2005
Posts: 9
i have a field in db called "isManual" which takes T or F.
when i write this query in my bean as
* @ejbgen:finder ejb-ql="SELECT OBJECT(o) from Task as o WHERE o.manualTask ='T'" generate-on="Local" signature="Collection findManualTask( java.util.Collection taskList )", it builds fine while giving runtime error as
[BEA][Oracle JDBC Driver] Value can not be converted
to requested type
What's the problem here
Thanks in advance
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EJB QL question . Help