public void setTmpTable1(TmpTable1 _tmpTable1) { tmpTable1.setTmpData(_tmpTable1); select firstOnly forUpdate tmpTable1; }