You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Nezih BEN FREDJ (JIRA)" <ji...@apache.org> on 2018/12/07 16:25:00 UTC
[jira] [Commented] (OPENJPA-1691) Oracle XMLType column failed to
insert/update when xml contains more than 4000 characters
[ https://issues.apache.org/jira/browse/OPENJPA-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16713055#comment-16713055 ]
Nezih BEN FREDJ commented on OPENJPA-1691:
------------------------------------------
Hi,
I tried to apply instructions recommended by Heath Thomann but with no success. something is missing to tell OpenJpa that the column is xml.
> Oracle XMLType column failed to insert/update when xml contains more than 4000 characters
> -----------------------------------------------------------------------------------------
>
> Key: OPENJPA-1691
> URL: https://issues.apache.org/jira/browse/OPENJPA-1691
> Project: OpenJPA
> Issue Type: Bug
> Components: sql
> Affects Versions: 1.2.2, 2.0.0, 2.0.1
> Environment: Oracle 10g, JDBC driver (ojdbc14.jar) 10.2.0.4.0, OpenJPA 1.2.2
> Reporter: Kelvin Law
> Assignee: Milosz Tylenda
> Priority: Major
> Labels: openjpa, oracle, xmltype
> Fix For: 1.2.3, 1.3.0, 2.0.2, 2.1.0
>
> Attachments: OPENJPA-1691.1.2.x.patch, OPENJPA-1691_2.0.x.patch
>
>
> Oracle throws the following exception when XML content is greater than 4000 characters:
> ORA-01461: can bind a LONG value only for insert into a LONG column
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)