File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB QL question . Help" Watch "EJB QL question . Help" New topic

EJB QL question . Help

tashu Bairy

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
I agree. Here's the link:
subject: EJB QL question . Help
Similar Threads
parameterized LIKE with EJB QL
EJB_QL identification var problem
Using EJB-QL LIKE and a replacable param(?1).
need help in EJB QL with upper and like
Entity Bean Problem