java - SaveOrUpdate if a row is null Hibernate -


i'm bit confused hibernate's saveorupdate. example, if try "update" row address_type of 'bi', updated or new row inserted?

enter image description here

it update existing record if exist in db else create new record address_type of bi. refer hibernate documentation link.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -