hibernate/hibernate-orm — pull request #274 by Sanne (2012-02-14 18:50:31+00:00)
Title: HHH-7066

While focusing mainly on [HHH-7066](https://hibernate.onjira.com/browse/HHH-7066), I found some other changes while profiling String allocations in Hibernate Core.

I've also replaced all StringBuffer with StringBuilder, and found some areas in which we could improve on the StringBuilder initial allocation. This makes the patch rather large, but I've kept all commits separated so you can remove those if it's not an appropriate time to do such a change.