Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • <quote>In hibernate 4.3, it seems that need to use hibernate.properties to do confi</quote> Is there any reference? thanks Commented Jun 9, 2014 at 5:27
  • @okwap I didn't find, but after try, it works this way when use hibernate standalone. When use with spring it works both way. Commented Jun 9, 2014 at 15:22
  • In that .hbm.xml is missing <property name="current_session_context_class">....</property> . Without that launched No CurrentSessionContext configured. Commented Oct 22, 2014 at 20:27
  • What if you had 2 different database vendors such as DB2 and Oracle, how would you set hibernate dialect in that case? Commented May 18, 2022 at 21:49