How does Hibernate detect dirty state of an entity object? How does Hibernate detect dirty state of an entity object? java java