• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TypedQuery in JPA?

 
Pawan Choure
Greenhorn
Posts: 27
Eclipse IDE Oracle Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone post me the sample example of TypedQuery.I am trying to use Typed Query but no success.
 
E Erik Svensson
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, this is a TypedQuery used together with a NamedQuery (which is also a native query) but it works for me.


The entity class:



Hope this helps.

Cheers
Erik
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic