You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2009/11/25 17:55:40 UTC
[jira] Closed: (CAY-1307) Error committing CLOB on Oracle8
[ https://issues.apache.org/jira/browse/CAY-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-1307.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.1
This is fixed on 3.1 and 3.0 branch. Bryan, could you please test the fix, as none of us have Oracle 8
> 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
> Assignee: Andrus Adamchik
> Fix For: 3.0 beta 2, 3.1
>
> Attachments: CAY-1307.diff, Oracle8LOBBatchAction.java
>
>
> 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.