Shouldn't need to. You should only need to provide
a name attribute to the <session-factory> element.

Note that this stuff was broken in beta 1, but I think
it is working in beta 2.




                                                                                       
                                               
                    "Viktor Szathmary"                                                 
                                               
                    <[EMAIL PROTECTED]>                 To:     [EMAIL PROTECTED]      
                       
                    Sent by:                                cc:                        
                                               
                    [EMAIL PROTECTED]       Subject:     [Hibernate] hib2 - 
Hibernate.configure()                     
                    eforge.net                                                         
                                               
                                                                                       
                                               
                                                                                       
                                               
                    09/02/03 12:24 PM                                                  
                                               
                                                                                       
                                               
                                                                                       
                                               




hi,

i'm trying to port an app to hibernate 2. it runs inside an appserver - i
was using Hibernate.configure() which took care of loading the XML, and
binding the SessionFactory to JNDI... it doesn't seem that new
Configuration().configure() is equivalent... do i need to manually bind
the SessionFactory to JNDI now?

best regards,
    viktor

--
http://fastmail.fm - Choose from over 50 domains or use your own


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel




**********************************************************************
Any personal or sensitive information contained in this email and
attachments must be handled in accordance with the Victorian Information
Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988
(Commonwealth), as applicable.

This email, including all attachments, is confidential.  If you are not the
intended recipient, you must not disclose, distribute, copy or use the
information contained in this email or attachments.  Any confidentiality or
privilege is not waived or lost because this email has been sent to you in
error.  If you have received it in error, please let us know by reply
email, delete it from your system and destroy any copies.
**********************************************************************





-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Reply via email to