修改DefaultReadOnly值设置错误

将 setDefaultReadOnly(this.isDefaultAutoCommit()) 更正为setDefaultReadOnly(this.getDefaultReadOnly())
Merge pull request #514 from badsummer/master

Modify DefaultReadOnly value setting error