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
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
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
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
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.
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