Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB QL question . Help

 
tashu Bairy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic