Java 6 compilation errors

This commit is contained in:
lukaseder 2017-08-03 16:23:46 +02:00
parent 63f3278d77
commit 8ce5ff524e
9 changed files with 21 additions and 81 deletions

View File

@ -11,18 +11,13 @@ import java.util.List;
import javax.annotation.Generated;
import org.jooq.Catalog;
import org.jooq.Configuration;
import org.jooq.Record;
import org.jooq.Result;
import org.jooq.Table;
import org.jooq.impl.DSL;
import org.jooq.impl.SchemaImpl;
import org.jooq.util.postgres.pg_catalog.tables.PgAttrdef;
import org.jooq.util.postgres.pg_catalog.tables.PgAttribute;
import org.jooq.util.postgres.pg_catalog.tables.PgClass;
import org.jooq.util.postgres.pg_catalog.tables.PgCollation;
import org.jooq.util.postgres.pg_catalog.tables.PgConstraint;
import org.jooq.util.postgres.pg_catalog.tables.PgCursor;
import org.jooq.util.postgres.pg_catalog.tables.PgDescription;
import org.jooq.util.postgres.pg_catalog.tables.PgEnum;
import org.jooq.util.postgres.pg_catalog.tables.PgIndex;
@ -45,7 +40,7 @@ import org.jooq.util.postgres.pg_catalog.tables.PgType;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PgCatalog extends SchemaImpl {
private static final long serialVersionUID = 883582768;
private static final long serialVersionUID = -1875511495;
/**
* The reference instance of <code>pg_catalog</code>
@ -77,25 +72,6 @@ public class PgCatalog extends SchemaImpl {
*/
public final PgConstraint PG_CONSTRAINT = org.jooq.util.postgres.pg_catalog.tables.PgConstraint.PG_CONSTRAINT;
/**
* The table <code>pg_catalog.pg_cursor</code>.
*/
public final PgCursor PG_CURSOR = org.jooq.util.postgres.pg_catalog.tables.PgCursor.PG_CURSOR;
/**
* Call <code>pg_catalog.pg_cursor</code>.
*/
public static Result<Record> PG_CURSOR(Configuration configuration) {
return DSL.using(configuration).selectFrom(org.jooq.util.postgres.pg_catalog.tables.PgCursor.PG_CURSOR.call()).fetch();
}
/**
* Get <code>pg_catalog.pg_cursor</code> as a table.
*/
public static PgCursor PG_CURSOR() {
return org.jooq.util.postgres.pg_catalog.tables.PgCursor.PG_CURSOR.call();
}
/**
* The table <code>pg_catalog.pg_description</code>.
*/
@ -161,7 +137,6 @@ public class PgCatalog extends SchemaImpl {
PgClass.PG_CLASS,
PgCollation.PG_COLLATION,
PgConstraint.PG_CONSTRAINT,
PgCursor.PG_CURSOR,
PgDescription.PG_DESCRIPTION,
PgEnum.PG_ENUM,
PgIndex.PG_INDEX,

View File

@ -9,13 +9,9 @@ import javax.annotation.Generated;
import org.jooq.AggregateFunction;
import org.jooq.Configuration;
import org.jooq.Field;
import org.jooq.Record;
import org.jooq.Result;
import org.jooq.impl.DSL;
import org.jooq.util.postgres.pg_catalog.routines.Count1;
import org.jooq.util.postgres.pg_catalog.routines.Count2;
import org.jooq.util.postgres.pg_catalog.routines.FormatType;
import org.jooq.util.postgres.pg_catalog.tables.PgCursor;
/**
@ -93,18 +89,4 @@ public class Routines {
return f.asField();
}
/**
* Call <code>pg_catalog.pg_cursor</code>.
*/
public static Result<Record> pgCursor(Configuration configuration) {
return DSL.using(configuration).selectFrom(org.jooq.util.postgres.pg_catalog.tables.PgCursor.PG_CURSOR.call()).fetch();
}
/**
* Get <code>pg_catalog.pg_cursor</code> as a table.
*/
public static PgCursor pgCursor() {
return org.jooq.util.postgres.pg_catalog.tables.PgCursor.PG_CURSOR.call();
}
}

View File

@ -6,16 +6,11 @@ package org.jooq.util.postgres.pg_catalog;
import javax.annotation.Generated;
import org.jooq.Configuration;
import org.jooq.Record;
import org.jooq.Result;
import org.jooq.impl.DSL;
import org.jooq.util.postgres.pg_catalog.tables.PgAttrdef;
import org.jooq.util.postgres.pg_catalog.tables.PgAttribute;
import org.jooq.util.postgres.pg_catalog.tables.PgClass;
import org.jooq.util.postgres.pg_catalog.tables.PgCollation;
import org.jooq.util.postgres.pg_catalog.tables.PgConstraint;
import org.jooq.util.postgres.pg_catalog.tables.PgCursor;
import org.jooq.util.postgres.pg_catalog.tables.PgDescription;
import org.jooq.util.postgres.pg_catalog.tables.PgEnum;
import org.jooq.util.postgres.pg_catalog.tables.PgIndex;
@ -63,25 +58,6 @@ public class Tables {
*/
public static final PgConstraint PG_CONSTRAINT = org.jooq.util.postgres.pg_catalog.tables.PgConstraint.PG_CONSTRAINT;
/**
* The table <code>pg_catalog.pg_cursor</code>.
*/
public static final PgCursor PG_CURSOR = org.jooq.util.postgres.pg_catalog.tables.PgCursor.PG_CURSOR;
/**
* Call <code>pg_catalog.pg_cursor</code>.
*/
public static Result<Record> PG_CURSOR(Configuration configuration) {
return DSL.using(configuration).selectFrom(org.jooq.util.postgres.pg_catalog.tables.PgCursor.PG_CURSOR.call()).fetch();
}
/**
* Get <code>pg_catalog.pg_cursor</code> as a table.
*/
public static PgCursor PG_CURSOR() {
return org.jooq.util.postgres.pg_catalog.tables.PgCursor.PG_CURSOR.call();
}
/**
* The table <code>pg_catalog.pg_description</code>.
*/

View File

@ -25,7 +25,7 @@ import org.jooq.util.postgres.pg_catalog.PgCatalog;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Count1 extends AbstractRoutine<Long> {
private static final long serialVersionUID = -914112895;
private static final long serialVersionUID = 1943491154;
/**
* The parameter <code>pg_catalog.count.RETURN_VALUE</code>.
@ -33,8 +33,9 @@ public class Count1 extends AbstractRoutine<Long> {
public static final Parameter<Long> RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.BIGINT, false, false);
/**
* The parameter <code>pg_catalog.count._1</code>.
* @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled.
*/
@java.lang.Deprecated
public static final Parameter<Object> _1 = createParameter("_1", org.jooq.impl.SQLDataType.OTHER, false, true);
/**

View File

@ -30,7 +30,7 @@ import org.jooq.util.postgres.pg_catalog.PgCatalog;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PgAttrdef extends TableImpl<Record> {
private static final long serialVersionUID = 1871215253;
private static final long serialVersionUID = -2089865182;
/**
* The reference instance of <code>pg_catalog.pg_attrdef</code>
@ -56,8 +56,9 @@ public class PgAttrdef extends TableImpl<Record> {
public final TableField<Record, Short> ADNUM = createField("adnum", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_attrdef.adbin</code>.
* @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled.
*/
@java.lang.Deprecated
public final TableField<Record, Object> ADBIN = createField("adbin", org.jooq.impl.DefaultDataType.getDefaultDataType("pg_node_tree"), this, "");
/**

View File

@ -30,7 +30,7 @@ import org.jooq.util.postgres.pg_catalog.PgCatalog;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PgConstraint extends TableImpl<Record> {
private static final long serialVersionUID = -605536348;
private static final long serialVersionUID = 226638591;
/**
* The reference instance of <code>pg_catalog.pg_constraint</code>
@ -156,8 +156,9 @@ public class PgConstraint extends TableImpl<Record> {
public final TableField<Record, Long[]> CONEXCLOP = createField("conexclop", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, "");
/**
* The column <code>pg_catalog.pg_constraint.conbin</code>.
* @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled.
*/
@java.lang.Deprecated
public final TableField<Record, Object> CONBIN = createField("conbin", org.jooq.impl.DefaultDataType.getDefaultDataType("pg_node_tree"), this, "");
/**

View File

@ -30,7 +30,7 @@ import org.jooq.util.postgres.pg_catalog.PgCatalog;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PgIndex extends TableImpl<Record> {
private static final long serialVersionUID = 1505268966;
private static final long serialVersionUID = 1625837647;
/**
* The reference instance of <code>pg_catalog.pg_index</code>
@ -131,13 +131,15 @@ public class PgIndex extends TableImpl<Record> {
public final TableField<Record, Object[]> INDOPTION = createField("indoption", org.jooq.impl.DefaultDataType.getDefaultDataType("int2vector").getArrayDataType(), this, "");
/**
* The column <code>pg_catalog.pg_index.indexprs</code>.
* @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled.
*/
@java.lang.Deprecated
public final TableField<Record, Object> INDEXPRS = createField("indexprs", org.jooq.impl.DefaultDataType.getDefaultDataType("pg_node_tree"), this, "");
/**
* The column <code>pg_catalog.pg_index.indpred</code>.
* @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled.
*/
@java.lang.Deprecated
public final TableField<Record, Object> INDPRED = createField("indpred", org.jooq.impl.DefaultDataType.getDefaultDataType("pg_node_tree"), this, "");
/**

View File

@ -30,7 +30,7 @@ import org.jooq.util.postgres.pg_catalog.PgCatalog;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PgProc extends TableImpl<Record> {
private static final long serialVersionUID = 474802814;
private static final long serialVersionUID = -1662913134;
/**
* The reference instance of <code>pg_catalog.pg_proc</code>
@ -156,8 +156,9 @@ public class PgProc extends TableImpl<Record> {
public final TableField<Record, String[]> PROARGNAMES = createField("proargnames", org.jooq.impl.SQLDataType.CLOB.getArrayDataType(), this, "");
/**
* The column <code>pg_catalog.pg_proc.proargdefaults</code>.
* @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled.
*/
@java.lang.Deprecated
public final TableField<Record, Object> PROARGDEFAULTS = createField("proargdefaults", org.jooq.impl.DefaultDataType.getDefaultDataType("pg_node_tree"), this, "");
/**

View File

@ -30,7 +30,7 @@ import org.jooq.util.postgres.pg_catalog.PgCatalog;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PgType extends TableImpl<Record> {
private static final long serialVersionUID = -1742765319;
private static final long serialVersionUID = 1358881027;
/**
* The reference instance of <code>pg_catalog.pg_type</code>
@ -181,8 +181,9 @@ public class PgType extends TableImpl<Record> {
public final TableField<Record, Long> TYPCOLLATION = createField("typcollation", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column <code>pg_catalog.pg_type.typdefaultbin</code>.
* @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled.
*/
@java.lang.Deprecated
public final TableField<Record, Object> TYPDEFAULTBIN = createField("typdefaultbin", org.jooq.impl.DefaultDataType.getDefaultDataType("pg_node_tree"), this, "");
/**