[#3081] Let generated POJOs reference generated UDT POJOs instead of UDT Records - Regenerate databases
This commit is contained in:
parent
2b9acf7366
commit
50075f1d16
@ -37,5 +37,5 @@ public interface ITAuthor extends java.io.Serializable {
|
||||
/**
|
||||
* Getter for <code>public.t_author.address</code>.
|
||||
*/
|
||||
public org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord getAddress();
|
||||
public org.jooq.test.postgres.generatedclasses.udt.interfaces.IUAddressType getAddress();
|
||||
}
|
||||
|
||||
@ -37,5 +37,5 @@ public interface IVAuthor extends java.io.Serializable {
|
||||
/**
|
||||
* Getter for <code>public.v_author.address</code>.
|
||||
*/
|
||||
public org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord getAddress();
|
||||
public org.jooq.test.postgres.generatedclasses.udt.interfaces.IUAddressType getAddress();
|
||||
}
|
||||
|
||||
@ -9,22 +9,22 @@ package org.jooq.test.postgres.generatedclasses.tables.pojos;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TAuthor implements org.jooq.test.postgres.generatedclasses.tables.interfaces.ITAuthor {
|
||||
|
||||
private static final long serialVersionUID = 1496330061;
|
||||
private static final long serialVersionUID = 979289363;
|
||||
|
||||
private final java.lang.Integer id;
|
||||
private final java.lang.String firstName;
|
||||
private final java.lang.String lastName;
|
||||
private final java.sql.Date dateOfBirth;
|
||||
private final java.lang.Integer yearOfBirth;
|
||||
private final org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord address;
|
||||
private final java.lang.Integer id;
|
||||
private final java.lang.String firstName;
|
||||
private final java.lang.String lastName;
|
||||
private final java.sql.Date dateOfBirth;
|
||||
private final java.lang.Integer yearOfBirth;
|
||||
private final org.jooq.test.postgres.generatedclasses.udt.pojos.UAddressType address;
|
||||
|
||||
public TAuthor(
|
||||
java.lang.Integer id,
|
||||
java.lang.String firstName,
|
||||
java.lang.String lastName,
|
||||
java.sql.Date dateOfBirth,
|
||||
java.lang.Integer yearOfBirth,
|
||||
org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord address
|
||||
java.lang.Integer id,
|
||||
java.lang.String firstName,
|
||||
java.lang.String lastName,
|
||||
java.sql.Date dateOfBirth,
|
||||
java.lang.Integer yearOfBirth,
|
||||
org.jooq.test.postgres.generatedclasses.udt.pojos.UAddressType address
|
||||
) {
|
||||
this.id = id;
|
||||
this.firstName = firstName;
|
||||
@ -60,7 +60,7 @@ public class TAuthor implements org.jooq.test.postgres.generatedclasses.tables.i
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord getAddress() {
|
||||
public org.jooq.test.postgres.generatedclasses.udt.pojos.UAddressType getAddress() {
|
||||
return this.address;
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,22 +9,22 @@ package org.jooq.test.postgres.generatedclasses.tables.pojos;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VAuthor implements org.jooq.test.postgres.generatedclasses.tables.interfaces.IVAuthor {
|
||||
|
||||
private static final long serialVersionUID = -1592051893;
|
||||
private static final long serialVersionUID = 1036404497;
|
||||
|
||||
private final java.lang.Integer id;
|
||||
private final java.lang.String firstName;
|
||||
private final java.lang.String lastName;
|
||||
private final java.sql.Date dateOfBirth;
|
||||
private final java.lang.Integer yearOfBirth;
|
||||
private final org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord address;
|
||||
private final java.lang.Integer id;
|
||||
private final java.lang.String firstName;
|
||||
private final java.lang.String lastName;
|
||||
private final java.sql.Date dateOfBirth;
|
||||
private final java.lang.Integer yearOfBirth;
|
||||
private final org.jooq.test.postgres.generatedclasses.udt.pojos.UAddressType address;
|
||||
|
||||
public VAuthor(
|
||||
java.lang.Integer id,
|
||||
java.lang.String firstName,
|
||||
java.lang.String lastName,
|
||||
java.sql.Date dateOfBirth,
|
||||
java.lang.Integer yearOfBirth,
|
||||
org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord address
|
||||
java.lang.Integer id,
|
||||
java.lang.String firstName,
|
||||
java.lang.String lastName,
|
||||
java.sql.Date dateOfBirth,
|
||||
java.lang.Integer yearOfBirth,
|
||||
org.jooq.test.postgres.generatedclasses.udt.pojos.UAddressType address
|
||||
) {
|
||||
this.id = id;
|
||||
this.firstName = firstName;
|
||||
@ -60,7 +60,7 @@ public class VAuthor implements org.jooq.test.postgres.generatedclasses.tables.i
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.test.postgres.generatedclasses.udt.records.UAddressTypeRecord getAddress() {
|
||||
public org.jooq.test.postgres.generatedclasses.udt.pojos.UAddressType getAddress() {
|
||||
return this.address;
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ public interface IUAddressType extends java.io.Serializable {
|
||||
/**
|
||||
* Getter for <code>public.u_address_type.street</code>.
|
||||
*/
|
||||
public org.jooq.test.postgres.generatedclasses.udt.records.UStreetTypeRecord getStreet();
|
||||
public org.jooq.test.postgres.generatedclasses.udt.interfaces.IUStreetType getStreet();
|
||||
|
||||
/**
|
||||
* Getter for <code>public.u_address_type.zip</code>.
|
||||
|
||||
@ -9,24 +9,24 @@ package org.jooq.test.postgres.generatedclasses.udt.pojos;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UAddressType implements org.jooq.test.postgres.generatedclasses.udt.interfaces.IUAddressType {
|
||||
|
||||
private static final long serialVersionUID = 494346919;
|
||||
private static final long serialVersionUID = 1062009819;
|
||||
|
||||
private final org.jooq.test.postgres.generatedclasses.udt.records.UStreetTypeRecord street;
|
||||
private final java.lang.String zip;
|
||||
private final java.lang.String city;
|
||||
private final org.jooq.test.postgres.generatedclasses.enums.UCountry country;
|
||||
private final java.sql.Date since;
|
||||
private final java.lang.Integer code;
|
||||
private final byte[] f_1323;
|
||||
private final org.jooq.test.postgres.generatedclasses.udt.pojos.UStreetType street;
|
||||
private final java.lang.String zip;
|
||||
private final java.lang.String city;
|
||||
private final org.jooq.test.postgres.generatedclasses.enums.UCountry country;
|
||||
private final java.sql.Date since;
|
||||
private final java.lang.Integer code;
|
||||
private final byte[] f_1323;
|
||||
|
||||
public UAddressType(
|
||||
org.jooq.test.postgres.generatedclasses.udt.records.UStreetTypeRecord street,
|
||||
java.lang.String zip,
|
||||
java.lang.String city,
|
||||
org.jooq.test.postgres.generatedclasses.enums.UCountry country,
|
||||
java.sql.Date since,
|
||||
java.lang.Integer code,
|
||||
byte[] f_1323
|
||||
org.jooq.test.postgres.generatedclasses.udt.pojos.UStreetType street,
|
||||
java.lang.String zip,
|
||||
java.lang.String city,
|
||||
org.jooq.test.postgres.generatedclasses.enums.UCountry country,
|
||||
java.sql.Date since,
|
||||
java.lang.Integer code,
|
||||
byte[] f_1323
|
||||
) {
|
||||
this.street = street;
|
||||
this.zip = zip;
|
||||
@ -38,7 +38,7 @@ public class UAddressType implements org.jooq.test.postgres.generatedclasses.udt
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.test.postgres.generatedclasses.udt.records.UStreetTypeRecord getStreet() {
|
||||
public org.jooq.test.postgres.generatedclasses.udt.pojos.UStreetType getStreet() {
|
||||
return this.street;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user