lucashungaro wrote:
Are you using connection pooling and/or object/query cache?
Post here your hibernate.cfg.xml and the table mappings used on the user login.
My hibernateconfig file is over 1,200 lines. Is there any portion you would specifically want to see?
Edit: Sorry, I thought you meant my hibernate mappings. Here is hibernate.cfg.xml.
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<!-- Generated by MyEclipse Hibernate Tools. -->
<hibernate-configuration>
<session-factory>
<property name="hibernate.cglib.use_reflection_optimizer">false</property>
<property name="connection.datasource">java:comp/env/jdbc/ABATE</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="show_sql">false</property>
<!-- <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>-->
<mapping resource="hibernate_mappings.xml" />
</session-factory>
</hibernate-configuration>