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 -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -