]
Steve Ebersole updated HHH-3892:
--------------------------------
Fix Version/s: (was: 3.2.7)
3.2.x
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 Core
Issue Type: Improvement
Components: core
Reporter: Gail Badner
Assignee: Gail Badner
Fix For: 3.2.x, 3.3.x, 3.5
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.
-
If you think it was sent incorrectly contact one of the administrators: