Hi,
Just wanted to get my concept clear here . If we load an object through Query Interface and set ReadOnly attribute to true, does Hibernate never dirty check the object in that session ? Or only for the instance which we have loaded
For example :
If i loaded one object with ReadOnly flag as true and read some information from it . Now in the same code flow and same hibernate session one more function is loading the same object but with ReadOnly flag set as false . Will changes on this object gets persisted ?
Thanks Aditya
|