提交 34e3c903 authored 作者: noelgrandin's avatar noelgrandin

fix spelling in parameter name

上级 89695a09
...@@ -24,14 +24,14 @@ public class DbColumn { ...@@ -24,14 +24,14 @@ public class DbColumn {
private int position; private int position;
public DbColumn(DbContents contents, ResultSet rs, boolean prodecureColumn) throws SQLException { public DbColumn(DbContents contents, ResultSet rs, boolean procedureColumn) throws SQLException {
name = rs.getString("COLUMN_NAME"); name = rs.getString("COLUMN_NAME");
quotedName = contents.quoteIdentifier(name); quotedName = contents.quoteIdentifier(name);
String type = rs.getString("TYPE_NAME"); String type = rs.getString("TYPE_NAME");
// a procedures column size is identified by PRECISION, for table this // a procedures column size is identified by PRECISION, for table this
// is COLUMN_SIZE // is COLUMN_SIZE
String columnSizeName; String columnSizeName;
if (prodecureColumn) { if (procedureColumn) {
columnSizeName = "PRECISION"; columnSizeName = "PRECISION";
} else { } else {
columnSizeName = "COLUMN_SIZE"; columnSizeName = "COLUMN_SIZE";
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论