[#1411] Add support for Postgres "any" data type (with quotes!). This

seems to map well to java.lang.Object
This commit is contained in:
Lukas Eder 2012-05-11 11:15:28 +02:00
parent 1fac2d30ec
commit 6eb56640df
15 changed files with 28 additions and 27 deletions

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public class PgCatalog extends org.jooq.impl.SchemaImpl {
private static final long serialVersionUID = -371905234;
private static final long serialVersionUID = 1109544775;
/**
* The singleton instance of pg_catalog

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public class PgCatalogFactory extends org.jooq.util.postgres.PostgresFactory {
private static final long serialVersionUID = 1626557035;
private static final long serialVersionUID = 1813233842;
/**
* Create a factory with a connection

View File

@ -8,7 +8,7 @@ package org.jooq.util.postgres.pg_catalog;
*
* Convenience access to all stored procedures and functions in pg_catalog
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public final class Routines {

View File

@ -8,7 +8,7 @@ package org.jooq.util.postgres.pg_catalog;
*
* Convenience access to all tables in pg_catalog
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public final class Tables {

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.routines;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public class Count1 extends org.jooq.impl.AbstractRoutine<java.lang.Long> {
private static final long serialVersionUID = -772102665;
private static final long serialVersionUID = 1018949472;
/**
@ -24,7 +24,7 @@ public class Count1 extends org.jooq.impl.AbstractRoutine<java.lang.Long> {
* The SQL type of this item ("any", any) could not be mapped.<br/>
* Deserialising this field might not work!
*/
public static final org.jooq.Parameter<java.lang.Object> _1 = createParameter("_1", org.jooq.util.postgres.PostgresDataType.getDefaultDataType("\"any\""));
public static final org.jooq.Parameter<java.lang.Object> _1 = createParameter("_1", org.jooq.impl.SQLDataType.OTHER);
/**
* Create a new routine call instance

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.routines;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public class Count2 extends org.jooq.impl.AbstractRoutine<java.lang.Long> {
private static final long serialVersionUID = 1180633735;
private static final long serialVersionUID = -101223220;
/**

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.routines;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public class FormatType extends org.jooq.impl.AbstractRoutine<java.lang.String> {
private static final long serialVersionUID = -1785499997;
private static final long serialVersionUID = 428047358;
/**

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.routines;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public class PgCursor extends org.jooq.impl.AbstractRoutine<java.lang.Void> {
private static final long serialVersionUID = -747987068;
private static final long serialVersionUID = 1046377097;
/**

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public class PgAttribute extends org.jooq.impl.TableImpl<org.jooq.Record> {
private static final long serialVersionUID = -519027695;
private static final long serialVersionUID = 1961406872;
/**
* The singleton instance of pg_catalog.pg_attribute

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public class PgClass extends org.jooq.impl.TableImpl<org.jooq.Record> {
private static final long serialVersionUID = -1753706892;
private static final long serialVersionUID = -2038078835;
/**
* The singleton instance of pg_catalog.pg_class

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public class PgEnum extends org.jooq.impl.TableImpl<org.jooq.Record> {
private static final long serialVersionUID = 800254732;
private static final long serialVersionUID = -741676635;
/**
* The singleton instance of pg_catalog.pg_enum

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public class PgNamespace extends org.jooq.impl.TableImpl<org.jooq.Record> {
private static final long serialVersionUID = -1769943747;
private static final long serialVersionUID = 2129977430;
/**
* The singleton instance of pg_catalog.pg_namespace

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public class PgProc extends org.jooq.impl.TableImpl<org.jooq.Record> {
private static final long serialVersionUID = 26734556;
private static final long serialVersionUID = 1760477283;
/**
* The singleton instance of pg_catalog.pg_proc

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.3.1-SNAPSHOT"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.4.0"},
comments = "This class is generated by jOOQ")
public class PgType extends org.jooq.impl.TableImpl<org.jooq.Record> {
private static final long serialVersionUID = 1130750896;
private static final long serialVersionUID = -1252060599;
/**
* The singleton instance of pg_catalog.pg_type

View File

@ -136,6 +136,7 @@ public class PostgresDataType<T> extends AbstractDataType<T> {
public static final PostgresDataType<Timestamp> TIMESTAMPWITHTIMEZONE = new PostgresDataType<Timestamp>(SQLDataType.TIMESTAMP, "timestamp with time zone");
public static final PostgresDataType<Timestamp> TIMESTAMPTZ = new PostgresDataType<Timestamp>(SQLDataType.TIMESTAMP, "timestamptz");
public static final PostgresDataType<Result<Record>> REFCURSOR = new PostgresDataType<Result<Record>>(SQLDataType.RESULT, "refcursor");
public static final PostgresDataType<Object> ANY = new PostgresDataType<Object>(SQLDataType.OTHER, "any");
// Meta-table types
public static final PostgresDataType<Long> OID = new PostgresDataType<Long>(SQLDataType.BIGINT, "oid");