• Post Reply Bookmark Topic Watch Topic
  • New Topic

EntityState.TYPE_MANAGED?

 
Charles O'Leary
Ranch Hand
Posts: 61
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I suppose there isn't a simple method for obtaining (the current) entity state? Determining entity state from a few lines of code is one thing. But looking at a (huge) existing enterprise app with a multitude of code paths and determining entity state ... that's quite different. (I'm using Hibernate < 3.4)

(Hypothetical?) Example:
EntityState.ENUM EntityManager.getEntityType(Object object)
 
I've got no option but to sell you all for scientific experiments. Or a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!