I'm using an example found at
http://homepage.mac.com/edahand/project ... mple1.html with Sybase Anywhere 9 and Tomcat 5.0.19. Adding entries to my testdb seems to work fine, however when I shut down the instance of Tomcat with a control-c the entries within my table get removed. I turned on logging with gives the following, but I can't tell what's going on. Please help.
Code:
FINEST: done processing result set (4 rows)
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.BatcherImpl logClosePreparedStatement
FINEST: done closing: 4 open PreparedStatements, 0 open ResultSets
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.BatcherImpl closePreparedStatement
FINEST: closing statement
May 9, 2004 10:58:15 PM net.sf.hibernate.loader.Loader doQuery
FINEST: total objects hydrated: 4
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.SessionImpl initializeEntity
FINE: resolving associations for [com.edhand.example1.Item#21]
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.SessionImpl initializeEntity
FINE: done materializing entity [com.edhand.example1.Item#21]
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.SessionImpl initializeEntity
FINE: resolving associations for [com.edhand.example1.Item#22]
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.SessionImpl initializeEntity
FINE: done materializing entity [com.edhand.example1.Item#22]
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.SessionImpl initializeEntity
FINE: resolving associations for [com.edhand.example1.Item#20]
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.SessionImpl initializeEntity
FINE: done materializing entity [com.edhand.example1.Item#20]
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.SessionImpl initializeEntity
FINE: resolving associations for [com.edhand.example1.Item#19]
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.SessionImpl initializeEntity
FINE: done materializing entity [com.edhand.example1.Item#19]
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.SessionImpl initializeNonLazyCollections
FINE: initializing non-lazy collections
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.SessionImpl close
FINEST: closing session
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.SessionImpl disconnect
FINE: disconnecting session
May 9, 2004 10:58:15 PM net.sf.hibernate.connection.DriverManagerConnectionProvider closeConnection
FINEST: returning connection to pool, pool size: 1
May 9, 2004 10:58:15 PM net.sf.hibernate.impl.SessionImpl afterTransactionCompletion
FINEST: transaction completion
May 9, 2004 10:58:21 PM org.apache.coyote.http11.Http11Protocol pause
INFO: http11protocol.pause
Derek Greer