hibernate - how to tell if an entity is new or not?
Hi!
I'm wondering how to tell if an entity is new or has already been persisted? The things I have at hand are the entity itself and the sessionFactory. Thanks in advance. |
All times are GMT -5. The time now is 07:03 AM. |