-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Frage zu Tutorial...
PostPosted: Fri Oct 14, 2005 2:45 pm 
Newbie

Joined: Thu Oct 13, 2005 10:25 am
Posts: 19
Location: Germany, Hamburg
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3
Hallo,
ich wollte das Tutorial unter http://www.laliluna.de/first-hibernate- ... orial.html durchspielen. Nun bekomme ich an folgender Stelle einen Fehler:
session = SessionFactory.currentSession();

tx = session.beginTransaction();

List honeys = session.find("select from ...");
Die find Methode kann nicht gefunden werden.
Was habe ich falsch gemacht? Oder ist die in HB3 verändert???

Gruß,
Jan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 14, 2005 3:30 pm 
Newbie

Joined: Thu Oct 13, 2005 10:25 am
Posts: 19
Location: Germany, Hamburg
List honeys = session.createQuery("from foobar").list(); läuft...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.