-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate @TypeDef creating 1000 typeclass instances
PostPosted: Sun Jul 28, 2013 9:50 pm 
Newbie

Joined: Sun Jul 28, 2013 9:47 pm
Posts: 2
I have posted this question in StakOverflow site, but I did not get an answer, so I am posting here, looking for an answer.
I got all my entities annotated with @TypeDef which is actually trimming the String result from the database using a TrimClass. When I done the profiling I could find there are more than 1000 active objects in the memory and survived many garbage collection. I just need a singelton object here. since this is controlled by Hibernate I dont know how to fix this issue.
please give a reply.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.