]
Sanne Grinovero resolved HHH-7066.
----------------------------------
Resolution: Fixed
Improve memory allocation on String extraction out of Clob fields
-----------------------------------------------------------------
Key: HHH-7066
URL:
https://hibernate.onjira.com/browse/HHH-7066
Project: Hibernate ORM
Issue Type: Improvement
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 4.1.1
Attachments: Overhead of DataHelper String extraction from Clob.png
Extracting a large String out of a Clob makes use of the
org.hibernate.type.descriptor.java.DataHelper, which allocats StringBuilder to create the
extracted String instances.
Adjusting the initial size of the StringBuilder according to expected / known data size
can have a good performace impact, as shown in the attached screenshot from a profiler
session.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: