This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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