Win a copy of Reactive Design Patterns this week in the Functional Programming forum
or Learn Linux in a Month of Lunches in the Linux forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Clearing Entity from Hibernate

jyoti j singh
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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!