• Post Reply Bookmark Topic Watch Topic
  • New Topic

CreateQuery

 
Charlie Jones
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there!

I have another difficulty!

When I am using the EntityManager to create queries, it does not accept "where" statements

in other words:



words!

BUT



does not.

i dont understand what i might be doing wrong

thnx in advance

 
Diogo Gonzaga
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"select object(o) from Item as o where o.ITEMNAME='TeddyBear'"

Try again and it would be solved.
 
Charlie Jones
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thankyou so much for the reply,
unfortunately its still giving me the error

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!