Joined: Sun Jul 28, 2013 9:47 pm Posts: 2
|
Hi I already reported this problem as part of a performance testing in thsi forum under this subject Hibernate @TypeDef creating 1000 typeclass instances.
I have one entity annotated with @TypeDef to do a trimming of String value read from the database. Currenlty I annotated only one field with @Type(type = "trimmedString"). I put a counter in TrimmedString class constructor. This is the last output -- no of times TrimmedString created :: 14. There is something worng with the object creation handling by Hibernate, this will cause a major perofmance issue in large application. Please someone from Hibernate team look into this problem and fix. we may need a singleton object here.
|
|