• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EntityState.TYPE_MANAGED?

 
Ranch Hand
Posts: 499
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
reply
    Bookmark Topic Watch Topic
  • New Topic