[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3892) Improve support for mapping SQL LONGVARCHAR and CLOB to Java String, SQL LONGVARBINARY and BLOB to Java byte[]
Gail Badner (JIRA)
noreply at atlassian.com
Thu Jan 19 18:47:10 EST 2012
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45183#comment-45183 ]
Gail Badner commented on HHH-3892:
----------------------------------
Please see:
- https://community.jboss.org/wiki/HibernateCoreMigrationGuide35
- https://community.jboss.org/wiki/HibernateCoreMigrationGuide36
> Improve support for mapping SQL LONGVARCHAR and CLOB to Java String, SQL LONGVARBINARY and BLOB to Java byte[]
> ---------------------------------------------------------------------------------------------------------------
>
> Key: HHH-3892
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3892
> Project: Hibernate ORM
> Issue Type: Improvement
> Components: core
> Reporter: Gail Badner
> Assignee: Gail Badner
> Fix For: 3.5.0.Beta-1
>
>
> Property types will be provided to enable an application to process data for a java.sql.Types.LONGVARCHAR or java.sql.Types.CLOB column as a Java String. Hibernate will internally process the data as a streams. On a read, stream data will immediately be materialized into a Java string.
> text - property type to map java.sql.Types.LONGVARCHAR column data as a Java String (via org.hibernate.type.TextType);
> (NOTE: currently, org.hibernate.type.TextType incorrectly maps "text" to java.sql.Types.CLOB; this will be fixed by this issue and updated in database dialects)
> materialized_clob - property type to map java.sql.Types.CLOB column data as a Java String (via org.hibernate.type.MaterializedClobType);
> In addition, new property types will be provided to enable an application to process data for a java.sql.Types.LONGVARBINARY or java.sql.Types.BLOB column as Java byte[]. Hibernate will internally process the data as a streams. On a read, stream data will immediately be materialized into a Java byte[].
> image - property type to map java.sql.Types.LONGVARBINARY column data as byte[] (via org.hibernate.type.ImageType);
> materialized_blob - property type to map java.sql.Types.BLOB column data as byte[] (via org.hibernate.type.MaterializedBlobType);
--
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