Can I stop auto persistence for a particular class? There are a few attributes of a class that are converted before persisting to the table. The attributes are converted back after session.find(). These returned objects with the converted attributes are considered dirty by Hibernate, and are persisted automatically during the session. The problem is that the persisted objects now end up with unconverted attributes in the table.
Is there a way to stop to specify read-only for session.find() if I can stop auto persistence?
Thanks,
Barry
|