facebook

NamedQuery and NamedQueries

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #285523 Reply

    A. Rick Anderson
    Participant

    Where do I put the definition of a NamedQuery?

    I am trying to modify the DAO Factory produced by MyEclipse to use a NamedQuery, rather then a dynamic one. The only place that I can position the named Query tag, without MyEclipse complaining, is outside of the class defnition. However, I do that, I get a “Undefined NamedQuery” exception thrown at runtime. So, where do I put the definition of a NamedQuery so that MyEclipse can see it?

    My project is a POJO desktop application.

    #285560 Reply

    Loyal Water
    Member

    Moving to Off Topic >> Software Development

    Your can refer to this link:-
    http://docs.solarmetric.com/full/html/ejb3_overview_query.html#ejb3_overview_query_named

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: NamedQuery and NamedQueries

You must be logged in to post in the forum log in