那是当然的, 
conn.setAutoCommit(true); 执行完自动提交
conn.setAutoCommit(false); 要执行 conn.commit() 才提交。
事务提交了,锁不就开了吗