Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while Writing EJB Query?

 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i am using EJB Query as
SELECT OBJECT(m) FROM Employee m WHERE ( m.salary > ?1 AND m.salary < ?2)
when i generate SQL using deploytool it says
Error while generate SQL invalide type for expression m.salary > ?1
i am using cloudspace.
Please help me
 
Herman Schelti
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi gowher,

what exact error message do you get?
Can you post the code that calls this ejb-ql?

Herman
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic