facebook

[Closed]session.find method – cannot find

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #239543 Reply

    Hi,

    Apologies if this is a really dumb question but I am fairly new to HIbernate and MyEclipseIDE.

    I have managed to persist some data to my database but am having problems retrieving the data using the session.find method as recommended in the book I am following, the method does not seem to exist within the Session class.

    Where am I going wrong?

    Thanks

    Paul

    #239545 Reply

    Found the answer, the method has been deprecated in Hibernate3, will use createQuery as suggested.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Closed]session.find method – cannot find

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