jboss « JDBC « JPA Q&A





1. Extremely large number of com.mysql.jdbc.StatementImpl$CancelTask objects in system causing OOM exceptions    stackoverflow.com

I am using jboss 4.2.3 with mysql-connector-5.1.8. My application is doing a large number of DB reads(order of few hundered thousands) and signification of writes. Over a period of time jboss ...

2. Hibernate leaving prepared statements open...JBoss exception    forum.hibernate.org

Here's my code: Code: Session session = null; try { session = openSession(); while(interests.hasNext()) { PStatUserSelection answer = (PStatUserSelection) interests.next(); session.save(answer); } session.flush(); } finally { ...

3. Hibernate, JBoss, JDBC, deploy causes error    forum.hibernate.org

Here is stack trace: LocalManagedConnectionFactory.createManagedConnection crashes at line 160. We believe that the problem is in hotdeployment: JBoss does not manage to undeploy the application and connections and that is why hotdeployment fails when Hibernate asks for a connection from JBoss connection manager. I use jTDS driver, but problems occur with MS JDBC Driver too. 09:15:50,995 WARN [JBossManagedConnectionPool] Throwable while attempting ...

4. Two JBoss session factories, complains unclosed resultset    forum.hibernate.org

Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: 3.0.5, Database MS Sqlserver 2000 using identity primary key Mapping documents: ...