This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problems with hibernate.cfg.xml: Initial SessionFactory creation failed

 
howard franklin
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought my problem had to do with the current_session_context_class.

I change from
<property name="hibernate.current_session_context_class">org.hibernate.context.ThreadLocalSessionContext</property>
to
<property name="current_session_context_class">thread</property>

but I am still having problems. Looking at the console looks like I got through everything
except for the current_session_context_class and the mapping.

 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
 
howard franklin
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. That did it. I really appreciate your help

Howard
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic