case Types.CLOB:
    private void setStatementValues (PreparedStatement stmt, int stmtNumber, Property p, int columnType) throws SQLException {        if (p.getValue() == null) {            stmt.setNull(stmtNumber, columnType);        } else {            switch (columnType) {                case Types.BIT:                case Types.TINYINT:                case Types.BIGINT:                case Types.SMALLINT:                case Types.INTEGER:                    stmt.setLong(stmtNumber, p.getIntegerValue());                    break;                case Types.REAL:                case Types.FLOAT:                case Types.DOUBLE:                case Types.NUMERIC:                case Types.DECIMAL:                    stmt.setDouble(stmtNumber, p.getFloatValue());                    break;                case Types.VARBINARY:                case Types.BINARY:                case Types.BLOB:                    stmt.setString(stmtNumber, p.getStringValue());                    break;                case Types.LONGVARBINARY:                case Types.LONGVARCHAR:                case Types.CLOB:                    try {                        stmt.setString(stmtNumber, p.getStringValue());                    } catch (SQLException x) {                        String str = p.getStringValue();                        Reader r = new StringReader(str);                        stmt.setCharacterStream(stmtNumber, r,                                                str.length());                    }                    break;                case Types.CHAR:                case Types.VARCHAR:                case Types.OTHER:                    stmt.setString(stmtNumber, p.getStringValue());                    break;                case Types.DATE:                case Types.TIME:                case Types.TIMESTAMP:                    stmt.setTimestamp(stmtNumber, p.getTimestampValue());                    break;                case Types.NULL:                    stmt.setNull(stmtNumber, 0);                    break;                default:                    stmt.setString(stmtNumber, p.getStringValue());                    break;            }        }    }