diff -r 10c9b9e54622 -r 574cd7fbb5b2 java/sql-dk/src/info/globalcode/sql/dk/Parameter.java --- a/java/sql-dk/src/info/globalcode/sql/dk/Parameter.java Thu Dec 26 01:53:15 2013 +0100 +++ b/java/sql-dk/src/info/globalcode/sql/dk/Parameter.java Thu Dec 26 11:58:14 2013 +0100 @@ -28,14 +28,14 @@ /** * @see Types */ - public static final int DEFAULT_TYPE = Types.VARCHAR; + public static final SQLType DEFAULT_TYPE = SQLType.VARCHAR; private Object value; - private int type; + private SQLType type; public Parameter() { } - public Parameter(Object value, Integer type) { + public Parameter(Object value, SQLType type) { this.value = value; if (type == null) { this.type = DEFAULT_TYPE; @@ -55,14 +55,14 @@ /** * @see java.sql.Types */ - public int getType() { + public SQLType getType() { return type; } /** * @see java.sql.Types */ - public void setType(int type) { + public void setType(SQLType type) { this.type = type; } }