I have OneToOne relation with lazy loading. I want related entity to be loaded like with LockOption.UPGRADE option, ie with pessimistic locking. How can I do this?
I have OneToOne relation with lazy loading. I want related entity to be loaded like with LockOption.UPGRADE option, ie with pessimistic locking. How can I do this?