cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evgeny Ryabitskiy (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (CAY-1336) Oracle specific type support (oracle.sql.*)
Date Tue, 09 Feb 2010 14:15:28 GMT

     [ https://issues.apache.org/jira/browse/CAY-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Evgeny Ryabitskiy reopened CAY-1336:
------------------------------------


Reopening this issues for 2.0 branch.

Currently there is a regression for Oracle type support.

I perform tests on 2.0.4 and 2.0.3 versions... on both there was standard Java types for CLOB
and Timestamp.
But in trunk (feature 2.0.5) it returns Oracle specific types.

It was changed in tasks:

CAY-672 Change the logic to get the Java class from ResultSetMetadata
CAY-1052  Invalid cast on NUMERICs with scale of 0 using Postgres JDBC 8.2+

So there is two ways:
Add TypeMappings for all Oracle types to 2.0 like it was done in this issue... 
or add new type mapping logic like in    CAY-1354



> Oracle specific type support (oracle.sql.*)
> -------------------------------------------
>
>                 Key: CAY-1336
>                 URL: https://issues.apache.org/jira/browse/CAY-1336
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>            Reporter: Evgeny Ryabitskiy
>            Assignee: Evgeny Ryabitskiy
>             Fix For: 3.1M1
>
>         Attachments: CAY-1336.patch
>
>
> Official Oracle JDBC driver can return one of this specific type:
> http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/jdbc-javadoc/oracle/sql/package-summary.html

> Cayenne should handle it in right way.
> Related to  CAY-1323 where was handled oracle.sql.Timestamp

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


Mime
View raw message