ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniele Valentini (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATIS-473) see IBATIS-78
Date Tue, 04 Dec 2007 08:36:43 GMT
see IBATIS-78

                 Key: IBATIS-473
                 URL: https://issues.apache.org/jira/browse/IBATIS-473
             Project: iBatis for Java
          Issue Type: Bug
          Components: DAO
    Affects Versions: 2.3.0
         Environment: JVM 1.5 with Spring Trasaction
            Reporter: Daniele Valentini
            Priority: Critical

I've read a bug (2005) IBATIS-78 that there is a problem with JDBC Driver Oracle when the
select staement is a follow:

"select * from [tableName] where [fieldName]=#value#"

where a fieldName is defined a CHAR(10) type and the parameter passed (value) is a java.lang.String
if the parameter is : "ABCD      " the record found it! and if parameter is : "ABC" the records
not found!.

I use a class JDBC : oracle.jdbc.pool.OracleDataSource present in the jar file named ojdbc14.jar
(Oracle 10.2g)
The fix present in precedent Bug say that the problem is  present with a DBCP (BasicDataSource)

The problem is very critical for my Project .
How to ?????

I've read also that the property the DataSource Driver.fixedString imposted a true value but
the property in my class JDBC (oracle.jdbc.pool.OracleDataSource) not is present 

PS. i use in jndi for localized a dataSource in my Server WAS 6.1 but the problem is present
also in Junit Test without a server .

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message