-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate 2 Without jndi bind
PostPosted: Wed Aug 26, 2009 7:00 pm 
Newbie

Joined: Wed Aug 26, 2009 6:50 pm
Posts: 1
Is it possible in hibernate 2 to have session factory not bind to JNDI?
in my cfg file I am specifiying name="" or removing name and it gives
org.dom4j.DocumentException: Error on line 2 of document : The system identifier must begin with either a single or double quote character. Nested exception: The system identifier must begin with either a single or double quote character.


When I define my sessionfactory in the hibernate.cfg file it requires a name=""
<session-factory name="sessions/ITS_FACTORY">

I was able to use a different jar (pathology) using (Hibernate 3) without a name attribute in the session-factory element
<session-factory > which prevented it from binding to JNDI.


How can I get hibernate 2 to not JNDI bind?

Thanks,
Isaac


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

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.