class DbParameterAccessor {

    public void set(Object value) throws Exception {
        if (direction == OUTPUT || direction == RETURN_VALUE) {
            throw new UnsupportedOperationException("Trying to set value of output parameter " + name);
        }
        cs.setObject(index, toJdbcCompatibleValue(value), sqlType, userDefinedTypeName);
    }

    @SuppressWarnings("unchecked") public  DbParameterAccessor(String name, Direction direction, int sqlType, Class javaType, int position,
                               TypeTransformerFactory dbfitToJdbcTransformerFactory);
    public  DbParameterAccessor(String name, Direction direction, int sqlType, String userDefinedTypeName, Class javaType, int position,
                               TypeTransformerFactory dbfitToJdbcTransformerFactory);

}