I want to perform select for update operation using hibernate 4 with simple POJO. Can somebody share me step by step example how I can achive this task. I google it but there are not step by step examples all are small code snippets where I understand that select for update using hibernate can only be performed with pessimistic locking technique.
Thanks,
DKamran