Hi, In Hibernate is possible to MAKE the time out NOT to happen for the connection?.
We are NOT using the connection pool for creating the connection.We are using normal Hibernate to create the connection.
<hibernate-configuration> <session-factory> <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> <property name="hibernate.connection.url">jdbc:mysql://xxxxxx:xxxx/xxxxxxx</property> <property name="hibernate.connection.username">root</property> <property name="hibernate.connection.password">la6bicro</property> <property name="hibernate.connection.pool_size">10</property> <property name="current_session_context_class">thread</property> <property name="show_sql">true</property> <property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property> <property name="hibernate.hbm2ddl.auto">update</property> <property name="connection.autoReconnect"> true</property>
Regards, Uvaraj S.
|