[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4268) StringClobType doesn't work with Sybase ASA
strong liu (JIRA)
noreply at atlassian.com
Mon Sep 21 13:22:50 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33999#action_33999 ]
strong liu commented on HHH-4268:
---------------------------------
it seems like TextType will work fine, but I haven confirm that
> StringClobType doesn't work with Sybase ASA
> -------------------------------------------
>
> Key: HHH-4268
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4268
> Project: Hibernate Core
> Issue Type: Bug
> Components: annotations
> Environment: Database: Adaptive Server Anywhere, version: 9.0.1.1753
> JDBC: jConnect (TM) for JDBC(TM)/6.05(Build 26023)
> Reporter: Paul Middelkoop
>
> Sybase ASA doesn't support the CLOB datatype. However StringClobType works fine except when inserting a null value in the PreparedStatement. I fixed this by changing st.setNull(index, Types.CLOB) to st.setString(index, null). Maybe this can be added to the next release?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list