You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Evgeny Ryabitskiy (JIRA)" <ji...@apache.org> on 2010/02/09 15:15:28 UTC

[jira] Reopened: (CAY-1336) Oracle specific type support (oracle.sql.*)

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