second branch initialized
start second branch
changed branchId tofor second branch
execute sql statement for second branch
close second connection
commit second branch added, or rollback if an error occured