Skip to content

Commit

Permalink
current_session_context_class now managed
Browse files Browse the repository at this point in the history
increased default c3p0 max sessions to 100
  • Loading branch information
ar committed Jul 26, 2016
1 parent 2c98035 commit aae0f19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dbsupport/src/main/resources/hibernate.cfg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
<property name="use_streams_for_binary">true</property>
<property name="connection.isolation">2</property>
<property name="hibernate.transaction.flush_before_completion">true</property>

<property name="current_session_context_class">managed</property>
<property name="hibernate.c3p0.min_size">2</property>
<property name="hibernate.c3p0.max_size">20</property>
<property name="hibernate.c3p0.max_size">100</property>
<property name="hibernate.c3p0.timeout">300</property>
<property name="hibernate.c3p0.max_statements">300</property>
<property name="hibernate.c3p0.idle_test_period">3000</property>
Expand Down

0 comments on commit aae0f19

Please # to comment.