Rev 1 | Rev 253 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | fvelez | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!DOCTYPE hibernate-configuration PUBLIC |
||
3 | "-//Hibernate/Hibernate Configuration DTD 3.0//EN" |
||
4 | "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> |
||
5 | <hibernate-configuration> |
||
6 | <session-factory> |
||
7 | <property name="connection.url">@database.connection.url@</property> |
||
8 | <property name="connection.driver_class">com.mysql.jdbc.Driver</property> |
||
9 | <property name="connection.username">@database.username@</property> |
||
10 | <property name="connection.password">@database.password@</property> |
||
11 | <property name="connection.autocommit">false</property> |
||
12 | <property name="dialect">org.hibernate.dialect.MySQLDialect</property> |
||
31 | jmachado | 13 | <property name="show_sql">@hibernate.show.sql@</property> |
1 | fvelez | 14 | <property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property> |
15 | <property name="hibernate.c3p0.min_size">5</property> |
||
16 | <property name="hibernate.c3p0.max_size">20</property> |
||
17 | <property name="hibernate.c3p0.timeout">1800</property> |
||
18 | <property name="hibernate.max_statements">50</property> |
||
19 | |||
20 | |||
21 | <!--<property name="current_session_context_class">org.hibernate.context.CurrentSessionContext</property>--> |
||
22 | <!--<property name="current_session_context_class">org.hibernate.context.JTASessionContext</property>--> |
||
23 | <!--<property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.TransactionManagerLookup</property>--> |
||
24 | <property name="current_session_context_class">org.hibernate.context.ThreadLocalSessionContext</property> |
||
25 | |||
26 | {0} |
||
27 | </session-factory> |
||
28 | </hibernate-configuration> |