If I have an instance of a persistence object, and I set some members in like so:
MyThing thing = session.get(MyThing.class, id);
thing.setSomething(thing.getSomething());
session.update(thing);
Will this actually cause hibernate to issue an SQL update command to refresh the record? Or is hibernate smart enough to know that the object was updated, but the values have not actually changed?