the error message...
...
2004-03-05 13:22:33,298 ERROR [STDERR] Query "insert into StockMaster (CategoryId, Description, LongDescription, Units, MBflag, LastCurCostDate, LastCost, ActualCost, MaterialCost, LabourCost, OverheadCost, LowestLevel, Discontinued, Controlled, EOQ, Volume, KGS, BarCode, StockId) values ('df', 'df', 'df', 'sd', 'M', null, 0, 0, 0, 0, 0, 2, 0, 0, 0.0, 2.0, 2.0, '', 'fdf')" execution time: 78
2004-03-05 13:22:33,298 DEBUG [net.sf.hibernate.impl.BatcherImpl] done closing: 0 open PreparedStatements, 0 open ResultSets
2004-03-05 13:22:33,298 DEBUG [net.sf.hibernate.impl.BatcherImpl] closing statement
2004-03-05 13:22:33,298 DEBUG [net.sf.hibernate.impl.SessionImpl] post flush
2004-03-05 13:22:33,298 ERROR [net.sf.hibernate.transaction.JDBCTransaction] Commit failed
java.sql.SQLException: You cannot commit during a managed transaction!
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:495)
...
2004-03-05 13:22:33,313 DEBUG [net.sf.hibernate.impl.SessionImpl] transaction completion
2004-03-05 13:22:33,345 DEBUG [net.sf.hibernate.transaction.JDBCTransaction] rollback
2004-03-05 13:22:33,345 DEBUG [com.creativesol.erp4all.service.ejb.InventoryBean] HibernateException: Commit failed with SQL exception:
2004-03-05 13:22:33,345 DEBUG [net.sf.hibernate.impl.SessionImpl] closing session
2004-03-05 13:22:33,345 DEBUG [net.sf.hibernate.impl.SessionImpl] disconnecting session
2004-03-05 13:22:33,345 DEBUG [net.sf.hibernate.impl.SessionImpl] transaction completion
2004-03-05 13:22:33,360 INFO [org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@1a82e92
java.lang.Exception: STACKTRACE
....
|