-->
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.  [ 3 posts ] 
Author Message
 Post subject: how to use both HttpSession and org.hibenate.Session
PostPosted: Sat Aug 15, 2009 9:04 am 
Newbie

Joined: Sat Aug 15, 2009 8:46 am
Posts: 1
i have dout it is posible to connver all httpsession to org hibenate.session
please hellp me


Top
 Profile  
 
 Post subject: Re: how to use both HttpSession and org.hibenate.Session
PostPosted: Sat Aug 15, 2009 11:12 am 
Newbie

Joined: Sat Aug 15, 2009 10:45 am
Posts: 4
Use the fully qualified name of one of them.

e.g import org.hibernate.Session and refer to the http session as javax.servlet.http.Session


Top
 Profile  
 
 Post subject: Re: how to use both HttpSession and org.hibenate.Session
PostPosted: Sun Aug 16, 2009 9:24 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
Quote:
connver all httpsession to org hibenate.session


The HttpSession and the Hibernate Session are two completely different concepts that are only similar in name. Their functionality is not similar at all. Don't confuse the two!

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


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