commitCopyHelper() and refreshCopyHelper()
refreshCopyHelper() is to retrieve the fields using primary key.refresh copy helper is treated as "find for update” and it locks that particular row unless or until you are done with entire transaction. So you read something with refreshcopyHelper and you keep doing no of things and when you are finally done then only these locks are released.RefreshCopyHelper reads the database to update the access bean.
commitCopyHelper() is to insert or update fields :
No comments:
Post a Comment