Re: Transaction Rollback not working with iBatis + Spring

2010-07-22 Thread Bruno Issenmann
Both tables are linked by constraints on primary keys, so i can't make only one insert. I must have missed something with the ibatis config or the doa manager. Thanks for your time. Bruno - To unsubscribe, e-mail:

Re: Transaction Rollback not working with iBatis + Spring

2010-07-22 Thread Bruno Issenmann
Larry Meadors larry.meadors at gmail.com writes: Wait - I'm REALLY confused. Can you post a stack trace? Doh, I just noticed - this conversation should be on the new list. Maybe it's time to start this as a new thread and give us the stack trace and the relevant code anew. :) The

Re: Transaction Rollback not working with iBatis + Spring

2010-07-21 Thread Bruno Issenmann
Hi, I'm facing the same problem. Did you solved it ? Thanks - To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org

Re: Transaction Rollback not working with iBatis + Spring

2010-07-21 Thread Larry Meadors
You don't need the batch, and I'm pretty sure it won't ever work with the batch because the inserts don't happen when you call them (they happen when you call executeBatch()) so your ids don't get set when you expect them to. Remove the lines related to the batch, and I think it'll work. Larry

Re: Transaction Rollback not working with iBatis + Spring

2010-07-21 Thread Bruno Issenmann
Thanks for ansering. I do not use the batch. I'm just doing two inserts then i commit. I still have an integrity contraint violation. - To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands,

RE: Transaction Rollback not working with iBatis + Spring

2010-07-21 Thread Vinaya Tirikkovalluru
@ibatis.apache.org Subject: Re: Transaction Rollback not working with iBatis + Spring Thanks for ansering. I do not use the batch. I'm just doing two inserts then i commit. I still have an integrity contraint violation

How to do logging in iBatis + Spring

2010-03-07 Thread Bhaarat Sharma
We use iBatis + Spring and make use of stored procedures to fetch information from Oracle DB. To find out what parameters (HashMap) is sent to the stored procedure we have to actually set debug points. We'd like this information to go to a log. Basically print out name of the Stored Proc + all

Re: How to do logging in iBatis + Spring

2010-03-07 Thread Nathan Maves
, Mar 7, 2010 at 8:13 AM, Bhaarat Sharma bhaara...@gmail.com wrote: We use iBatis + Spring and make use of stored procedures to fetch information from Oracle DB. To find out what parameters (HashMap) is sent to the stored procedure we have to actually set debug points. We'd like

Ibatis + Spring

2009-03-27 Thread a.rubalcaba
-- View this message in context: http://www.nabble.com/Ibatis-%2B-Spring-tp22745182p22745182.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

Transaction Rollback not working with iBatis + Spring

2009-03-05 Thread Jasmin Mehta
Hi, I have 2 tables CUSTOMER and DEPENDENT. In CUSTOMER table the primary key is cust_id which is foreign key to DEPENDENT table. I would like to make insert to both tables together as a batch and also if one fails than other must roll back. If I remove the constraints of having cust_id as

Ibatis + Spring : log4j does not work

2008-12-23 Thread oci
Hello, I have a problem using log4j with ibatis. Log4j works well but i can't see the log for SQL requests and results. I think i need to add this line LogFactory.selectLog4JLogging(); but i don't know where i should add it. I am currently using spring framework and i don't know where i can put

Re: Ibatis + Spring : log4j does not work

2008-12-23 Thread luc
Add this line in log4j.properties. log4j.logger.java.sql=DEBUG 2008/12/23 oci zarbi...@hotmail.com Hello, I have a problem using log4j with ibatis. Log4j works well but i can't see the log for SQL requests and results. I think i need to add this line LogFactory.selectLog4JLogging(); but

Re: Ibatis + Spring : log4j does not work

2008-12-23 Thread oci
It has no effects :( Hereafter, my log4j.properties : # Global logging configuration log4j.rootLogger=INFO, stdout # Console output... log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

Ibatis+Spring related: Update over a dblink doesn't update the table

2008-08-28 Thread mailtorakeshp
Hi, I am using Ibatis with Spring and updating a table (on the remote DB) over a dblink, but the changes are not being seen when I login to the remote DB. When I update any table in the local DB, I can observe the changes in the database, but not in case of update over a dblink. Looks like, I

Re: Ibatis+Spring related: Update over a dblink doesn't update the table

2008-08-28 Thread mailtorakeshp
Got it working the following way. DaoImpl: getSqlMapClientTemplate().queryForObject(datapull.commit); sql: --- statement id=commitcommit/statement -Rakesh mailtorakeshp wrote: Hi, I am using Ibatis with Spring and updating a table (on the remote DB) over a dblink, but the

RE: Ibatis+Spring related: Update over a dblink doesn't update the table

2008-08-28 Thread Poitras Christian
] Sent: Thursday, August 28, 2008 2:45 PM To: user-java@ibatis.apache.org Subject: Re: Ibatis+Spring related: Update over a dblink doesn't update the table Got it working the following way. DaoImpl: getSqlMapClientTemplate().queryForObject(datapull.commit); sql: --- statement id

RE: iBATIS, Spring, and transactions...

2007-04-11 Thread Meindert
/ /bean _ From: Poitras Christian [mailto:[EMAIL PROTECTED] Sent: 10 April 2007 07:10 PM To: user-java@ibatis.apache.org Subject: RE: iBATIS, Spring, and transactions... First, you can still use BeanAction with Spring DAO. The most simple solution to set your static variable

RE: iBATIS, Spring, and transactions...

2007-04-10 Thread Poitras Christian
Message- From: Meindert [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 April 2007 04:52 To: user-java@ibatis.apache.org Subject: RE: iBATIS, Spring, and transactions... Hi All, Does anybody have an answer on the question posted below? I want to switch of from IBATIS DAO to spring because IBATIS DAO

Re: iBATIS, Spring, and transactions...

2007-04-10 Thread Larry Meadors
That would be AWESOME, if you want, I can help with proofing, etc. Maybe someone else would be willing to provide a *simple* iBATIS DAO sample application that we could convert and then document the process. Larry On 4/10/07, Poitras Christian [EMAIL PROTECTED] wrote: I have to say that it

RE: iBATIS, Spring, and transactions...

2007-04-10 Thread Poitras Christian
the insert/updates I used at first to fill database. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: Tuesday, 10 April 2007 10:16 To: user-java@ibatis.apache.org Subject: Re: iBATIS, Spring, and transactions... That would be AWESOME, if you

RE: iBATIS, Spring, and transactions...

2007-04-10 Thread Meindert
] Sent: 10 April 2007 04:25 PM To: user-java@ibatis.apache.org; [EMAIL PROTECTED] Subject: RE: iBATIS, Spring, and transactions... That would be a great idea! It's always welcome to see some code to show each steps. My app is already to big to use it direclty as an example... Christian

RE: iBATIS, Spring, and transactions...

2007-04-10 Thread Poitras Christian
From: Meindert [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 April 2007 12:30 To: user-java@ibatis.apache.org Subject: RE: iBATIS, Spring, and transactions... I'm busy converting and went to the site http://www.learntechnology.net/content/ibatis/spring_ibatis.jsp

Re: iBatis, Spring and postgres stored procedure

2005-12-05 Thread Lunohodov
Betreff: iBatis, Spring and postgres stored procedure I stuck into a problem and after a few resultless hours I would like to aks for your help. I searched for a similar problem(the forum as also fired some googles) but could not find anything so I am starting a new thread... I have a PostgreSQL

AW: iBatis, Spring and postgres stored procedure

2005-12-03 Thread Volker Reichel
- Von: Lunohodov [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 2. Dezember 2005 16:18 An: user-java@ibatis.apache.org Betreff: iBatis, Spring and postgres stored procedure I stuck into a problem and after a few resultless hours I would like to aks for your help. I searched for a similar problem

iBatis, Spring and postgres stored procedure

2005-12-02 Thread Lunohodov
I stuck into a problem and after a few resultless hours I would like to aks for your help. I searched for a similar problem(the forum as also fired some googles) but could not find anything so I am starting a new thread... I have a PostgreSQL database with several stored procedures for fetching,