cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: CAY-1354
Date Mon, 05 Apr 2010 14:29:01 GMT
Hi Evgeny,

did you read my email to dev list sent on April 2?

Andrus

On Apr 5, 2010, at 5:18 PM, evgeny@apache.org wrote:

> Author: evgeny
> Date: Mon Apr  5 14:18:34 2010
> New Revision: 930864
>
> URL: http://svn.apache.org/viewvc?rev=930864&view=rev
> Log:
> CAY-1354 Wrong Types mapping for selected values in Row Queries
>
> Move logic of Java type resolving from driver to Cayenne type mapping.
> Reason: Drivers can return here different types (even some specific  
> like com.oracle.TIMESTAMP)
>
> Modified:
>    cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5- 
> unpublished/src/main/java/org/apache/cayenne/access/jdbc/ 
> ColumnDescriptor.java
>
> Modified: cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5- 
> unpublished/src/main/java/org/apache/cayenne/access/jdbc/ 
> ColumnDescriptor.java
> URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/jdbc/ColumnDescriptor.java?rev=930864&r1=930863&r2=930864&view=diff
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5- 
> unpublished/src/main/java/org/apache/cayenne/access/jdbc/ 
> ColumnDescriptor.java (original)
> +++ cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5- 
> unpublished/src/main/java/org/apache/cayenne/access/jdbc/ 
> ColumnDescriptor.java Mon Apr  5 14:18:34 2010
> @@ -67,7 +67,7 @@ public class ColumnDescriptor implements
>         this.name = columnName;
>         this.dataRowKey = columnName;
>         this.jdbcType = jdbcType;
> -        this.javaClass = javaClass;
> +        this.javaClass = TypesMapping.getJavaBySqlType(jdbcType);
>     }
>
>     /**
>
>
>


Mime
View raw message