• Post Reply Bookmark Topic Watch Topic
  • New Topic

Clearing Entity from Hibernate

 
jyoti j singh
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JPA1 + hibernate ; and not able to clear Entity form org.hibernate.cache.entry.CacheEntry; whenever I call persist(), I am calling clear() also (as detach() is not available in JPA1); but still when I see memory dump in Dynatrace; it shows me N no. of instances of the Entity in org.hibernate.cache.entry.CacheEntry collection. Can someone please shed some light on this.thanks.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!