Re: Error processing Null during Insert statement - Help

2007-06-25 Thread Sunil Jigyasu
Daniel, How do you tell Spring what the driver is expected to do if it encounters a null in the input? Sunil Jigyasu Henry Lu-2 wrote: > > The data type cast is needed only null values are passed to JDBC driver. > Because in the Spring, you got to tell what the driver expect to do if a > n

Stored Procedures, Callable Statements are not supported ...

2007-06-25 Thread Warren
I am using Ibatis version 2.3.0.677 with PostgreSQL 8.1 with 8.1-405 JDBC driver and Ibatis DAO 2.2.0. I am getting the following exception: com.ibatis.dao.client.DaoException: Error executing update. Cause: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in com/cl

Re: Multi result sets support broken in ibatis-2.3.0.677

2007-06-25 Thread Clinton Begin
Thanks for the input here, and yes we hope you can fix it. :-) Question though: Are you suggesting that it does work in versions previous to 2.3? Cheers, Clinton On 6/21/07, Arnaud LemaƮtre <[EMAIL PROTECTED]> wrote: Hi, Following my previous mail, i did jdbc quick and dirty equivalent t

Re: Question on using Transactions with iBatis and Spring

2007-06-25 Thread Chris Lamey
Hello, I think it depends on how you are setting your data source. If you are setting the iBATIS DataSource via the Spring SqlMapClientFactoryBean in a Spring context, you are using an EXTERNAL DataSource as far as iBATIS is concerned. iBATIS at that point wouldn't have anything to do with the c

Re: Question on using Transactions with iBatis and Spring

2007-06-25 Thread Brandon Goodin
There are multiple ways to handle transcations. You can handle them from the sqlmap. This is apparently what you are referencing in the book. You can also manage them with normal Spring mechansisms. Following is the configuration for Spring we are using on a current project.

Question on using Transactions with iBatis and Spring

2007-06-25 Thread Robert Glover
I am confused over how to use transactions with iBatis and Spring. (I'm actually using iBatis and Abator and Spring). The Spring 2.0.6 manual (section 12.5) says, "...Transaction management can be handled through Spring's standard facilities. There are no special transaction strategies fo