-->
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: error get the current session
PostPosted: Sat Jul 09, 2011 5:21 am 
Newbie

Joined: Sat Jul 09, 2011 5:02 am
Posts: 1
hi all

i am faced the problem like that :

The method getCurrentSession() is undefined for the type SessionFactory

i can't get the hibernate session even though i am ready reference to library of hibernate.

hibernate3.jar
hibernate-annotations.jar
hibernate-commons-annotations.jar
hibernate-core.jar
log4j-1.2.15.jar


Thanks and best regards


Top
 Profile  
 
 Post subject: Re: error get the current session
PostPosted: Mon Jul 11, 2011 8:14 am 
Beginner
Beginner

Joined: Sat Aug 01, 2009 5:28 am
Posts: 42
pls share your code with stack trace....and i suggest as a newbie use openSession.....

_________________
Warm Regards,
Tarun Walia


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.