cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Razumovsky (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAY-1307) Error committing CLOB on Oracle8
Date Wed, 11 Nov 2009 12:28:39 GMT

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

Andrey Razumovsky updated CAY-1307:
-----------------------------------

    Fix Version/s: 3.0 beta 2

Seems we'll need that "method" hack for Oracle8. But still, please check you have latest JDBC
driver.

> Error committing CLOB on Oracle8
> --------------------------------
>
>                 Key: CAY-1307
>                 URL: https://issues.apache.org/jira/browse/CAY-1307
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Core Library
>    Affects Versions: 3.0 beta 1
>            Reporter: Bryan Lewis
>             Fix For: 3.0 beta 2
>
>
> I downloaded the new 3.0B1 release to try in our Oracle8 environment.  During a commit
of a new object with a CLOB field, this exception occurred:
> SELECT * FROM STORY WHERE STORY_ID = ? FOR UPDATE [bind: 1:530354]
> [write LOB: 1:'A bunch of text...']
> ...
> org.apache.cayenne.access.DataContext.flushToParent(DataContext.java:1134)
> org.apache.cayenne.access.DataContext.commitChanges(DataContext.java:1045)
> ...
>  ...
> Caused by: java.lang.AbstractMethodError: oracle.sql.CLOB.setCharacterStream(J)Ljava/io/Writer;
> org.apache.cayenne.dba.oracle.OracleLOBBatchAction.writeClob(OracleLOBBatchAction.java:296)
> org.apache.cayenne.dba.oracle.OracleLOBBatchAction.processLOBRow(OracleLOBBatchAction.java:199)
> org.apache.cayenne.dba.oracle.OracleLOBBatchAction.performAction(OracleLOBBatchAction.java:128)
> org.apache.cayenne.access.DataNodeQueryAction.runQuery(DataNodeQueryAction.java:87)
> org.apache.cayenne.access.DataNode.performQueries(DataNode.java:274)
> ...

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