-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate 4 + session.getSession
PostPosted: Wed Jan 11, 2012 4:41 pm 
Newbie

Joined: Fri May 15, 2009 3:36 am
Posts: 3
Hello, to All.

Now I merge project to hibernate 4.0 and i get the error: that mehtod Session.getSession doesn't exist. What I must use instead?

My old Code:
Code:
Session sesionMap = session.getSession(EntityMode.MAP);


Top
 Profile  
 
 Post subject: Re: Hibernate 4 + session.getSession
PostPosted: Wed May 23, 2012 2:05 pm 
Newbie

Joined: Mon Apr 16, 2012 2:42 pm
Posts: 5
I'm wondering the same thing. :(


Top
 Profile  
 
 Post subject: Re: Hibernate 4 + session.getSession
PostPosted: Mon Jun 11, 2012 6:00 pm 
Newbie

Joined: Mon Apr 16, 2012 2:42 pm
Posts: 5
How are people using Hibernate's Dynamic Map Representation without the Session.getSession method?


Top
 Profile  
 
 Post subject: Re: Hibernate 4 + session.getSession
PostPosted: Tue Jun 12, 2012 8:30 pm 
Newbie

Joined: Tue Jun 01, 2010 4:18 am
Posts: 11
CW_CDB wrote:
How are people using Hibernate's Dynamic Map Representation without the Session.getSession method?


Please look at this issue, although personally I don't understand why this feature is removed.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.