For some time now when I try to access my database I get the following error :
2012-Feb-02 16:42:20 [JCLLoggerAdapter - WARN] exception clearing
maxRows/queryTimeout
org.h2.jdbc.JdbcSQLException: Connection is broken: "unexpected status
1325408256" [90067-149]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.message.DbException.get(DbException.java:144)
at org.h2.engine.SessionRemote.done(SessionRemote.java:558)
at org.h2.command.CommandRemote.executeQuery(CommandRemote.java:151)
at org.h2.jdbc.JdbcConnection.getQueryTimeout(JdbcConnection.java:667)
at org.h2.jdbc.JdbcStatement.getQueryTimeout(JdbcStatement.java:551)
at
org.apache.tomcat.dbcp.dbcp.DelegatingStatement.getQueryTimeout(DelegatingStatement.java:246)
at
org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:299)
at
org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:234)
at org.hibernate.loader.Loader.doQuery(Loader.java:749)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
at org.hibernate.loader.Loader.loadCollection(Loader.java:2019)
at
org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:59)
at
org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:587)
at
org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:83)
at
org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1744)
at
org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:366)
at
org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:108)
at
org.hibernate.collection.PersistentBag.iterator(PersistentBag.java:272)
It doens't happen all the time, but it happens often enough to be a worry. As
it does not happen consistently I wonder what the cause and resolution could
be. I am using version H2 1.3.149 (2011-01-07) ? Should I upgrade and will this
resolve this problem ?
Kind regards and thanks for your help
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.