[#2279] UUIDs aren't correctly deserialised from Postgres UDTs -
Regenerated Postgres schema
This commit is contained in:
parent
48628892e2
commit
9c5a5d9465
@ -9,7 +9,7 @@ package org.jooq.test.postgres.generatedclasses;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public class Public extends org.jooq.impl.SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = -1115139070;
|
||||
private static final long serialVersionUID = 681210732;
|
||||
|
||||
/**
|
||||
* The singleton instance of <code>public</code>
|
||||
@ -83,6 +83,7 @@ public class Public extends org.jooq.impl.SchemaImpl {
|
||||
private final java.util.List<org.jooq.UDT<?>> getUDTs0() {
|
||||
return java.util.Arrays.<org.jooq.UDT<?>>asList(
|
||||
org.jooq.test.postgres.generatedclasses.udt.UAddressType.U_ADDRESS_TYPE,
|
||||
org.jooq.test.postgres.generatedclasses.udt.UStreetType.U_STREET_TYPE);
|
||||
org.jooq.test.postgres.generatedclasses.udt.UStreetType.U_STREET_TYPE,
|
||||
org.jooq.test.postgres.generatedclasses.udt.UUuids.U_UUIDS);
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,6 +21,11 @@ public final class UDTs {
|
||||
*/
|
||||
public static org.jooq.test.postgres.generatedclasses.udt.UStreetType U_STREET_TYPE = org.jooq.test.postgres.generatedclasses.udt.UStreetType.U_STREET_TYPE;
|
||||
|
||||
/**
|
||||
* The type <code>public.u_uuids</code>
|
||||
*/
|
||||
public static org.jooq.test.postgres.generatedclasses.udt.UUuids U_UUIDS = org.jooq.test.postgres.generatedclasses.udt.UUuids.U_UUIDS;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
||||
@ -0,0 +1,46 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.postgres.generatedclasses.udt;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public class UUuids extends org.jooq.impl.UDTImpl<org.jooq.test.postgres.generatedclasses.udt.records.UUuidsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 767310092;
|
||||
|
||||
/**
|
||||
* The singleton instance of <code>public.u_uuids</code>
|
||||
*/
|
||||
public static final org.jooq.test.postgres.generatedclasses.udt.UUuids U_UUIDS = new org.jooq.test.postgres.generatedclasses.udt.UUuids();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<org.jooq.test.postgres.generatedclasses.udt.records.UUuidsRecord> getRecordType() {
|
||||
return org.jooq.test.postgres.generatedclasses.udt.records.UUuidsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The attribute <code>public.u_uuids.u1</code>.
|
||||
*/
|
||||
public static final org.jooq.UDTField<org.jooq.test.postgres.generatedclasses.udt.records.UUuidsRecord, java.util.UUID> U1 = createField("u1", org.jooq.impl.SQLDataType.UUID, U_UUIDS);
|
||||
|
||||
/**
|
||||
* The attribute <code>public.u_uuids.u2</code>.
|
||||
*/
|
||||
public static final org.jooq.UDTField<org.jooq.test.postgres.generatedclasses.udt.records.UUuidsRecord, java.util.UUID[]> U2 = createField("u2", org.jooq.impl.SQLDataType.UUID.getArrayDataType(), U_UUIDS);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private UUuids() {
|
||||
super("u_uuids", org.jooq.test.postgres.generatedclasses.Public.PUBLIC);
|
||||
|
||||
// Initialise data type
|
||||
getDataType();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,49 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.postgres.generatedclasses.udt.records;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public class UUuidsRecord extends org.jooq.impl.UDTRecordImpl<org.jooq.test.postgres.generatedclasses.udt.records.UUuidsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1251595875;
|
||||
|
||||
|
||||
/**
|
||||
* Setter for <code>public.u_uuids.u1</code>.
|
||||
*/
|
||||
public void setU1(java.util.UUID value) {
|
||||
setValue(org.jooq.test.postgres.generatedclasses.udt.UUuids.U1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.u_uuids.u1</code>.
|
||||
*/
|
||||
public java.util.UUID getU1() {
|
||||
return getValue(org.jooq.test.postgres.generatedclasses.udt.UUuids.U1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.u_uuids.u2</code>.
|
||||
*/
|
||||
public void setU2(java.util.UUID[] value) {
|
||||
setValue(org.jooq.test.postgres.generatedclasses.udt.UUuids.U2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.u_uuids.u2</code>.
|
||||
*/
|
||||
public java.util.UUID[] getU2() {
|
||||
return getValue(org.jooq.test.postgres.generatedclasses.udt.UUuids.U2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new <code>public.u_uuids</code> record
|
||||
*/
|
||||
public UUuidsRecord() {
|
||||
super(org.jooq.test.postgres.generatedclasses.udt.UUuids.U_UUIDS);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user