[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4635) Oracle ORA-24816 inserting and updating data for entities containg LOB attributes

Strong Liu (JIRA) noreply at atlassian.com
Sun Jul 17 11:04:17 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42961#comment-42961 ] 

Strong Liu commented on HHH-4635:
---------------------------------

okay, i tried org.hibernate.test.annotations.lob.LobTest with:
{quote}
    @Column(length = 4000)
	public String getShortDescription() {
		return shortDescription;
	}
{quote}
and insert shortDescription a 4000 length data, but no failures (btw, i'm using master source which you can found at http://github.com/hibernate/hibernate-core, not 3.6 branch)

so, would you please provide a test case?

> Oracle ORA-24816 inserting and updating data for entities containg LOB attributes
> ---------------------------------------------------------------------------------
>
>                 Key: HHH-4635
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4635
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.3.1
>            Reporter: Clay Atkins
>            Priority: Critical
>
> Inserting or updating an entity with LOB results in the following error from oracle:
> {noformat}
> Caused by: java.sql.SQLException: ORA-24816: Expanded non LONG bind data supplied after actual LONG or LOB column
> {noformat}
> Fairly confident that the ordering of the LOB attributes is not putting them at the end of the insert or the update. Oracle requires all LOB columns to be the last in the statement.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list