Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-06 Thread Chema
in >> >>>>>>> the above." >> >>>>>>> >> >>>>>>> I think it's not by cause of my configuration >> >>>>>>> >> >>>>>>> Thanks ! >> >>&g

Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Clinton Begin
>>>>>> sqlMap.delete() performs a commit? That should not be the case if > the tx manager is configured correctly. > >>>>>>>> Whats your configuration? Could you please also try updating > ibatis to 2.3.4, 2.3.0 is really old... > >>>>>&g

Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Chema
;>>> 2.3.4, 2.3.0 is really old... >>>>>>>> >>>>>>>> Regards >>>>>>>> >>>>>>>> Kai >>>>>>>> >>>>>>>> --- Original Nachricht

Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Jeff Butler
; Absender: Chema >>>>>>> Datum: 03.10.2008 15:01 >>>>>>>> That doesn't work because sqlMap.delete() performs commit >>>>>>>> automatically. >>>>>>>> I'm using the transaction manager of JBoss , with JNDI/JDBC

Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Chema
t;>>>> That doesn't work because sqlMap.delete() performs commit automatically. >>>>>>> I'm using the transaction manager of JBoss , with JNDI/JDBC. >>>>>>> Can I disabled this ? By code is not possible because Jboss TX manage

Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Kai Grabfelder
By code is not possible because Jboss TX manager >>>>>> throws a SQLExeception. >>>>>> Another w/a ? >>>>>> >>>>>> Thanls ! >>>>>> >>>>>> >>>>>> >>>>

Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Jeff Butler
;>> >>>>> >>>>> >>>>> >>>>> >>>>> 2008/10/3 Kai Grabfelder <[EMAIL PROTECTED]>: >>>>>> if you are using CTM (container managed transactions), like in your >>>>&

Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Chema
; sqlMap.delete("deleteRecords", param); >>>>> >>>>> If it does not I think your sqlmap configuration is not correct. Could >>>>> you post it here? >>>>> >>>>> Regards >>>>> >>

Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Jeff Butler
it does not I think your sqlmap configuration is not correct. Could you >>>> post it here? >>>> >>>> Regards >>>> >>>> Kai >>>> >>>> --- Original N

Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Chema
richt --- >>> Absender: Chema >>> Datum: 03.10.2008 12:53 >>>> Hello: >>>> >>>> I'm using JBoss 3.2 and EJB 2.0 with iBatis 2.3.0 >>>> I've got configured a external transaction manager in SQLMap >&g

Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Kai Grabfelder
hricht --- >> Absender: Chema >> Datum: 03.10.2008 12:53 >>> Hello: >>> >>> I'm using JBoss 3.2 and EJB 2.0 with iBatis 2.3.0 >>> I've got configured a external transaction manager in SQLMap >>> configuration file. >>> &

Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Chema
2.0 with iBatis 2.3.0 >> I've got configured a external transaction manager in SQLMap >> configuration file. >> >> When an EJB component ( session bean ) tries to delete record using by >> iBatis sqlMap client, JBoss retrieve this >> error: >>

Re: java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Kai Grabfelder
. > > When an EJB component ( session bean ) tries to delete record using by > iBatis sqlMap client, JBoss retrieve this > error: > > 11:02:09,406 ERROR [Connection] Error calling Connection.commit: > java.sql.SQLExcepti

java.sql.SQLException: You cannot commit during a managed transaction

2008-10-03 Thread Chema
ion] Error calling Connection.commit: java.sql.SQLException: You cannot commit during a managed transaction! at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:525) This error happens when I perform this sqlMap.startT