-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: NullPointerException in BatchingBatcher on INSERT
PostPosted: Thu Feb 01, 2007 2:15 pm 
Newbie

Joined: Tue May 03, 2005 4:01 am
Posts: 5
I get a exception on a saveorupdate of one of my object.

I've got this graph to save :
Reservation --> Facture

The first saveorupdate on a Reservation with facture works fine but the second causes the exception.

If anyone can help, Thanks !

Hibernate version:
3.2.1
Mapping documents:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
<class name="xxx.reservation.FactureView" lazy="false" table="FACTURE" dynamic-insert="true" dynamic-update="true" select-before-update="false" optimistic-lock="version">

<!-- Identifiant unique assigné -->
<id name="id" column="FACTURE_ID" type="long">
<generator class="native">
<param name="sequence">FCT_SEQ</param>
</generator>
</id>

<!-- version -->
<version name="version" column="VERSION" type="integer" unsaved-value="null" />

<!-- libelle Taxes Total -->
<property name="libelleTaxesTotal" type="string" update="true" insert="true" column="LIBELLE_TAXES_TOTAL"/>

<!-- montant_Taxes_Total -->
<property name="montantTaxesTotal" type="integer" update="true" insert="true" column="MONTANT_TAXES_TOTAL"/>

<!-- libelle taxes aller -->
<property name="libelleTaxesAller" type="string" update="true" insert="true" column="LIBELLE_TAXES_ALLER"/>

<!-- montant taxes aller -->
<property name="montantTaxesAller" type="integer" update="true" insert="true" column="MONTANT_TAXES_ALLER"/>

<!-- libelle taxes retour -->
<property name="libelleTaxesRetour" type="string" update="true" insert="true" column="LIBELLE_TAXES_RETOUR"/>

<!-- montant taxes retour -->
<property name="montantTaxesRetour" type="integer" update="true" insert="true" column="MONTANT_TAXES_RETOUR"/>

<!-- Prix billet -->
<property name="prixBillet" type="integer" update="true" insert="true" column="PRIX_BILLET"/>

<!-- Prix adulte aller -->
<property name="prixAdulteAller" type="integer" update="true" insert="true" column="PRIX_ADULTE_ALLER"/>

<!-- Prix Enfant Aller -->
<property name="prixEnfantAller" type="integer" update="true" insert="true" column="PRIX_ENFANT_ALLER"/>

<!-- Prix Bebe Aller -->
<property name="prixBebeAller" type="integer" update="true" insert="true" column="PRIX_BEBE_ALLER"/>

<!-- Prix Chien Aller -->
<property name="prixChienAller" type="integer" update="true" insert="true" column="PRIX_CHIENT_ALLER"/>

<!-- Prix Bebe Aller -->
<property name="prixVelosAller" type="integer" update="true" insert="true" column="PRIX_VELOS_ALLER"/>

<!-- Prix Adulte Retour -->
<property name="prixAdulteRetour" type="integer" update="true" insert="true" column="PRIX_ADULTE_RETOUR"/>

<!-- Prix Enfant Retour -->
<property name="prixEnfantRetour" type="integer" update="true" insert="true" column="PRIX_ENFANT_RETOUR"/>

<!-- Prix Bebe Retour -->
<property name="prixBebeRetour" type="integer" update="true" insert="true" column="PRIX_BEBE_RETOUR"/>

<!-- Prix Chien Retour -->
<property name="prixChienRetour" type="integer" update="true" insert="true" column="PRIX_CHIENT_RETOUR"/>

<!-- Prix Bebe Retour -->
<property name="prixVelosRetour" type="integer" update="true" insert="true" column="PRIX_VELOS_RETOUR"/>

<!-- Prix Vehicule Aller -->
<property name="prixVehiculeAller" type="integer" update="true" insert="true" column="PRIX_VEHICULE_ALLER"/>

<!-- Prix Vehicule Retour -->
<property name="prixVehiculeRetour" type="integer" update="true" insert="true" column="PRIX_VEHICULE_RETOUR"/>

<!-- Prix Vehicule Tracte Aller -->
<property name="prixVehiculeTracteAller" type="integer" update="true" insert="true" column="PRIX_VEHICULE_TRACTE_ALLER"/>

<!-- Prix Vehicule Retour -->
<property name="prixVehiculeTracteRetour" type="integer" update="true" insert="true" column="PRIX_VEHICULE_TRACTE_RETOUR"/>

<!-- Prix Installation Aller -->
<property name="prixInstallationAller" type="integer" update="true" insert="true" column="PRIX_INSTALLATION_ALLER"/>

<!-- Prix Vehicule Retour -->
<property name="prixInstallationRetour" type="integer" update="true" insert="true" column="PRIX_INSTALLATION_RETOUR"/>

<!-- Montant Commission Passager -->
<property name="montantCommissionPassager" type="integer" update="true" insert="true" column="MONTANT_COMMISSION_PASSAGER"/>

<!-- Taux Commission Passager -->
<property name="tauxCommissionPassager" type="integer" update="true" insert="true" column="TAUX_COMMISSION_PASSAGER"/>

<!-- Montant Commission Vehicule -->
<property name="montantCommissionVehicule" type="integer" update="true" insert="true" column="MONTANT_COMMISSION_VEHICULE"/>

<!-- Taux Commission Vehicule -->
<property name="tauxCommissionVehicule" type="integer" update="true" insert="true" column="TAUX_COMMISSION_VEHICULE"/>

<!-- Dossier -->
<many-to-one name="dossier" unique="true" update="true" insert="true" column="DOSSIER_ID" foreign-key="FACTURE_DOS_FK" lazy="false" cascade="all"/>

<!-- infosPaiementCB -->
<many-to-one name="infosPaiementCB" update="true" insert="true" column="PCB_ID" foreign-key="FACTURE_PCB_FK" lazy="false" cascade="all"/>
</class>
</hibernate-mapping>

Code between sessionFactory.openSession() and session.close():

Transaction tx = session.beginTransaction();
session.saveOrUpdate(reservation);
tx.commit();

Full stack trace of any exception that occurs:
[01/02/07 19:49:57:861 CET] 22fac9da SystemOut O ERROR [Servlet.Engine.Transports : 7] (BatchingBatcher.java:51)- Exception executing batch:
java.lang.NullPointerException
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:63)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at biz.sncm.persistence.dao.reservation.hibernate.reservation.ReservationDAO.saveOrUpdate(ReservationDAO.java:121)
at biz.sncm.business.client.services.ServiceCompteClient.saveOrUpdateReservation(ServiceCompteClient.java:541)
at biz.sncm.travelfront.reserver.PassagerSubmitAction.executeAction(PassagerSubmitAction.java:1107)
at biz.sncm.travelfront.framework.BaseNavigationAction.execute(BaseNavigationAction.java(Compiled Code))
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
[01/02/07 19:49:57:863 CET] 22fac9da SystemOut O ERROR [Servlet.Engine.Transports : 7] (DAOException.java:37)- Hibernate rollback : null
java.lang.NullPointerException
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:63)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at biz.sncm.persistence.dao.reservation.hibernate.reservation.ReservationDAO.saveOrUpdate(ReservationDAO.java:121)
at biz.sncm.business.client.services.ServiceCompteClient.saveOrUpdateReservation(ServiceCompteClient.java:541)
at biz.sncm.travelfront.reserver.PassagerSubmitAction.executeAction(PassagerSubmitAction.java:1107)
at biz.sncm.travelfront.framework.BaseNavigationAction.execute(BaseNavigationAction.java(Compiled Code))
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
[01/02/07 19:49:57:864 CET] 22fac9da SystemOut O DEBUG [Servlet.Engine.Transports : 7] (HibernateUtil.java:144)- closeSession: Hibernate Session Close
[01/02/07 19:49:57:866 CET] 22fac9da SystemOut O ERROR [Servlet.Engine.Transports : 7] (DAOException.java:37)- Exception getting currentSession: null
java.lang.NullPointerException
at com.ibm.ws.classloader.SinglePathClassProvider.getRealResourcePath(SinglePathClassProvider.java(Compiled Code))
at com.ibm.ws.classloader.SinglePathClassProvider$1.run(SinglePathClassProvider.java(Compiled Code))
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Inlined Compiled Code))
at com.ibm.ws.classloader.SinglePathClassProvider.getClassBytesFromDir(SinglePathClassProvider.java(Inlined Compiled Code))
at com.ibm.ws.classloader.SinglePathClassProvider.getClassBytes(SinglePathClassProvider.java(Inlined Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java(Compiled Code))
at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java(Compiled Code))
at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:100)
at oracle.jdbc.driver.T4CConnection.do_rollback(T4CConnection.java:478)
at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:1045)
at oracle.jdbc.OracleConnectionWrapper.rollback(OracleConnectionWrapper.java:91)
at com.ibm.ejs.cm.pool.ConnectO.decRef(ConnectO.java(Compiled Code))
at com.ibm.ejs.cm.pool.ConnectionPool.freeConnection(ConnectionPool.java(Compiled Code))
at com.ibm.ejs.cm.proxy.ConnectionProxy.close(ConnectionProxy.java(Compiled Code))
at org.hibernate.connection.DatasourceConnectionProvider.closeConnection(DatasourceConnectionProvider.java:74)
at org.hibernate.jdbc.ConnectionManager.closeConnection(ConnectionManager.java:445)
at org.hibernate.jdbc.ConnectionManager.cleanup(ConnectionManager.java:379)
at org.hibernate.jdbc.ConnectionManager.close(ConnectionManager.java:318)
at org.hibernate.impl.SessionImpl.close(SessionImpl.java:298)
at biz.sncm.persistence.dao.hibernate.HibernateUtil.closeSession(HibernateUtil.java:145)
at biz.sncm.persistence.dao.reservation.hibernate.reservation.ReservationDAO.saveOrUpdate(ReservationDAO.java:128)
at biz.sncm.business.client.services.ServiceCompteClient.saveOrUpdateReservation(ServiceCompteClient.java:541)
at biz.sncm.travelfront.reserver.PassagerSubmitAction.executeAction(PassagerSubmitAction.java:1107)
at biz.sncm.travelfront.framework.BaseNavigationAction.execute(BaseNavigationAction.java(Compiled Code))
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
[01/02/07 19:49:57:869 CET] 22fac9da SystemOut O ERROR [Servlet.Engine.Transports : 7] (DAOException.java:37)- Hibernate rollback : Exception getting currentSession: null
biz.sncm.common.exception.DAOException: Exception getting currentSession: null
at biz.sncm.persistence.dao.hibernate.HibernateUtil.closeSession(HibernateUtil.java:148)
at biz.sncm.persistence.dao.reservation.hibernate.reservation.ReservationDAO.saveOrUpdate(ReservationDAO.java:128)
at biz.sncm.business.client.services.ServiceCompteClient.saveOrUpdateReservation(ServiceCompteClient.java:541)
at biz.sncm.travelfront.reserver.PassagerSubmitAction.executeAction(PassagerSubmitAction.java:1107)
at biz.sncm.travelfront.framework.BaseNavigationAction.execute(BaseNavigationAction.java(Compiled Code))
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

Name and version of the database you are using:
Oracle9i

The generated SQL (show_sql=true):
insert into FACTURE (VERSION, LIBELLE_TAXES_TOTAL, MONTANT_TAXES_TOTAL, LIBELLE_TAXES_ALLER, MONTANT_TAXES_ALLER, LIBELLE_TAXES_RETOUR, MONTANT_TAXES_RETOUR, PRIX_BILLET, PRIX_ADULTE_ALLER, PRIX_ENFANT_ALLER, PRIX_BEBE_ALLER, PRIX_CHIENT_ALLER, PRIX_VELOS_ALLER, PRIX_ADULTE_RETOUR, PRIX_ENFANT_RETOUR, PRIX_BEBE_RETOUR, PRIX_CHIENT_RETOUR, PRIX_VELOS_RETOUR, PRIX_VEHICULE_ALLER, PRIX_VEHICULE_RETOUR, PRIX_VEHICULE_TRACTE_ALLER, PRIX_VEHICULE_TRACTE_RETOUR, PRIX_INSTALLATION_ALLER, PRIX_INSTALLATION_RETOUR, MONTANT_COMMISSION_PASSAGER, TAUX_COMMISSION_PASSAGER, MONTANT_COMMISSION_VEHICULE, TAUX_COMMISSION_VEHICULE, DOSSIER_ID, PCB_ID, FACTURE_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 2:32 am 
Expert
Expert

Joined: Tue Jan 30, 2007 12:45 am
Posts: 283
Location: India
Hi bjorn.dunk

use Hibernate log .It will give you exact colunm

_________________
Dharmendra Pandey


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.