[#519] Add support for MySQL UNSIGNED numeric types
This commit is contained in:
parent
e8f4bab3cb
commit
8a60d7ee0f
@ -36,6 +36,7 @@
|
||||
|
||||
package org.jooq.util.mysql;
|
||||
|
||||
import static java.util.Arrays.asList;
|
||||
import static org.jooq.util.mysql.information_schema.tables.Columns.COLUMNS;
|
||||
import static org.jooq.util.mysql.information_schema.tables.Columns.ORDINAL_POSITION;
|
||||
import static org.jooq.util.mysql.information_schema.tables.Columns.TABLE_NAME;
|
||||
@ -68,21 +69,31 @@ public class MySQLTableDefinition extends AbstractTableDefinition {
|
||||
List<ColumnDefinition> result = new ArrayList<ColumnDefinition>();
|
||||
|
||||
for (Record record : create().select(
|
||||
Columns.COLUMN_NAME,
|
||||
Columns.ORDINAL_POSITION,
|
||||
Columns.DATA_TYPE,
|
||||
Columns.NUMERIC_PRECISION,
|
||||
Columns.NUMERIC_SCALE,
|
||||
Columns.COLUMN_COMMENT,
|
||||
Columns.EXTRA)
|
||||
.from(COLUMNS)
|
||||
.where(TABLE_SCHEMA.equal(getSchemaName()))
|
||||
.and(TABLE_NAME.equal(getName()))
|
||||
.orderBy(ORDINAL_POSITION)
|
||||
.fetch()) {
|
||||
Columns.ORDINAL_POSITION,
|
||||
Columns.COLUMN_NAME,
|
||||
Columns.COLUMN_COMMENT,
|
||||
Columns.COLUMN_TYPE,
|
||||
Columns.DATA_TYPE,
|
||||
Columns.NUMERIC_PRECISION,
|
||||
Columns.NUMERIC_SCALE,
|
||||
Columns.EXTRA)
|
||||
.from(COLUMNS)
|
||||
.where(TABLE_SCHEMA.equal(getSchemaName()))
|
||||
.and(TABLE_NAME.equal(getName()))
|
||||
.orderBy(ORDINAL_POSITION)
|
||||
.fetch()) {
|
||||
|
||||
DataTypeDefinition type = new DefaultDataTypeDefinition(getDatabase(),
|
||||
record.getValue(Columns.DATA_TYPE),
|
||||
String dataType = record.getValue(Columns.DATA_TYPE);
|
||||
|
||||
// [#519] Some types have unsigned versions
|
||||
if (asList("tinyint", "smallint", "mediumint", "int", "bigint").contains(dataType.toLowerCase())) {
|
||||
if (record.getValue(Columns.COLUMN_TYPE).toLowerCase().contains("unsigned")) {
|
||||
dataType += "unsigned";
|
||||
}
|
||||
}
|
||||
|
||||
DataTypeDefinition type = new DefaultDataTypeDefinition(getDatabase(),
|
||||
dataType,
|
||||
record.getValue(Columns.NUMERIC_PRECISION),
|
||||
record.getValue(Columns.NUMERIC_SCALE),
|
||||
getName() + "_" + record.getValue(Columns.COLUMN_NAME));
|
||||
|
||||
@ -14,19 +14,19 @@ package org.jooq.examples.mysql.sakila;
|
||||
public class Keys extends org.jooq.impl.AbstractKeys {
|
||||
|
||||
// IDENTITY definitions
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.ActorRecord, java.lang.Short> IDENTITY_actor = createIdentity(org.jooq.examples.mysql.sakila.tables.Actor.ACTOR, org.jooq.examples.mysql.sakila.tables.Actor.ACTOR.ACTOR_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.AddressRecord, java.lang.Short> IDENTITY_address = createIdentity(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS, org.jooq.examples.mysql.sakila.tables.Address.ADDRESS.ADDRESS_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CategoryRecord, java.lang.Byte> IDENTITY_category = createIdentity(org.jooq.examples.mysql.sakila.tables.Category.CATEGORY, org.jooq.examples.mysql.sakila.tables.Category.CATEGORY.CATEGORY_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CityRecord, java.lang.Short> IDENTITY_city = createIdentity(org.jooq.examples.mysql.sakila.tables.City.CITY, org.jooq.examples.mysql.sakila.tables.City.CITY.CITY_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CountryRecord, java.lang.Short> IDENTITY_country = createIdentity(org.jooq.examples.mysql.sakila.tables.Country.COUNTRY, org.jooq.examples.mysql.sakila.tables.Country.COUNTRY.COUNTRY_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord, java.lang.Short> IDENTITY_customer = createIdentity(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER, org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER.CUSTOMER_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, java.lang.Short> IDENTITY_film = createIdentity(org.jooq.examples.mysql.sakila.tables.Film.FILM, org.jooq.examples.mysql.sakila.tables.Film.FILM.FILM_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord, java.lang.Integer> IDENTITY_inventory = createIdentity(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY, org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY.INVENTORY_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.LanguageRecord, java.lang.Byte> IDENTITY_language = createIdentity(org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE, org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE.LANGUAGE_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord, java.lang.Short> IDENTITY_payment = createIdentity(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT, org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT.PAYMENT_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.ActorRecord, org.joou.UShort> IDENTITY_actor = createIdentity(org.jooq.examples.mysql.sakila.tables.Actor.ACTOR, org.jooq.examples.mysql.sakila.tables.Actor.ACTOR.ACTOR_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.AddressRecord, org.joou.UShort> IDENTITY_address = createIdentity(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS, org.jooq.examples.mysql.sakila.tables.Address.ADDRESS.ADDRESS_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CategoryRecord, org.joou.UByte> IDENTITY_category = createIdentity(org.jooq.examples.mysql.sakila.tables.Category.CATEGORY, org.jooq.examples.mysql.sakila.tables.Category.CATEGORY.CATEGORY_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CityRecord, org.joou.UShort> IDENTITY_city = createIdentity(org.jooq.examples.mysql.sakila.tables.City.CITY, org.jooq.examples.mysql.sakila.tables.City.CITY.CITY_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CountryRecord, org.joou.UShort> IDENTITY_country = createIdentity(org.jooq.examples.mysql.sakila.tables.Country.COUNTRY, org.jooq.examples.mysql.sakila.tables.Country.COUNTRY.COUNTRY_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord, org.joou.UShort> IDENTITY_customer = createIdentity(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER, org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER.CUSTOMER_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, org.joou.UShort> IDENTITY_film = createIdentity(org.jooq.examples.mysql.sakila.tables.Film.FILM, org.jooq.examples.mysql.sakila.tables.Film.FILM.FILM_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord, org.joou.UInteger> IDENTITY_inventory = createIdentity(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY, org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY.INVENTORY_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.LanguageRecord, org.joou.UByte> IDENTITY_language = createIdentity(org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE, org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE.LANGUAGE_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord, org.joou.UShort> IDENTITY_payment = createIdentity(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT, org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT.PAYMENT_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.RentalRecord, java.lang.Integer> IDENTITY_rental = createIdentity(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL, org.jooq.examples.mysql.sakila.tables.Rental.RENTAL.RENTAL_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.StaffRecord, java.lang.Byte> IDENTITY_staff = createIdentity(org.jooq.examples.mysql.sakila.tables.Staff.STAFF, org.jooq.examples.mysql.sakila.tables.Staff.STAFF.STAFF_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.StoreRecord, java.lang.Byte> IDENTITY_store = createIdentity(org.jooq.examples.mysql.sakila.tables.Store.STORE, org.jooq.examples.mysql.sakila.tables.Store.STORE.STORE_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.StaffRecord, org.joou.UByte> IDENTITY_staff = createIdentity(org.jooq.examples.mysql.sakila.tables.Staff.STAFF, org.jooq.examples.mysql.sakila.tables.Staff.STAFF.STAFF_ID);
|
||||
public static final org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.StoreRecord, org.joou.UByte> IDENTITY_store = createIdentity(org.jooq.examples.mysql.sakila.tables.Store.STORE, org.jooq.examples.mysql.sakila.tables.Store.STORE.STORE_ID);
|
||||
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
public static final org.jooq.UniqueKey<org.jooq.examples.mysql.sakila.tables.records.ActorRecord> KEY_actor_PRIMARY = createUniqueKey(org.jooq.examples.mysql.sakila.tables.Actor.ACTOR, org.jooq.examples.mysql.sakila.tables.Actor.ACTOR.ACTOR_ID);
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Actor extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.ActorRecord> {
|
||||
|
||||
private static final long serialVersionUID = 2087895104;
|
||||
private static final long serialVersionUID = 1343164635;
|
||||
|
||||
/**
|
||||
* The singleton instance of actor
|
||||
@ -35,7 +35,7 @@ public class Actor extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.my
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.ActorRecord, java.lang.Short> ACTOR_ID = createField("actor_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.ActorRecord, org.joou.UShort> ACTOR_ID = createField("actor_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -67,7 +67,7 @@ public class Actor extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.my
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.ActorRecord, java.lang.Short> getIdentity() {
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.ActorRecord, org.joou.UShort> getIdentity() {
|
||||
return org.jooq.examples.mysql.sakila.Keys.IDENTITY_actor;
|
||||
}
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class ActorInfo extends org.jooq.impl.TableImpl<org.jooq.examples.mysql.sakila.tables.records.ActorInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = -2132230826;
|
||||
private static final long serialVersionUID = 691176627;
|
||||
|
||||
/**
|
||||
* The singleton instance of actor_info
|
||||
@ -35,7 +35,7 @@ public class ActorInfo extends org.jooq.impl.TableImpl<org.jooq.examples.mysql.s
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.ActorInfoRecord, java.lang.Short> ACTOR_ID = createField("actor_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.ActorInfoRecord, org.joou.UShort> ACTOR_ID = createField("actor_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Address extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.AddressRecord> {
|
||||
|
||||
private static final long serialVersionUID = -255466610;
|
||||
private static final long serialVersionUID = 1606371632;
|
||||
|
||||
/**
|
||||
* The singleton instance of address
|
||||
@ -35,7 +35,7 @@ public class Address extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.AddressRecord, java.lang.Short> ADDRESS_ID = createField("address_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.AddressRecord, org.joou.UShort> ADDRESS_ID = createField("address_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -60,7 +60,7 @@ public class Address extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.
|
||||
* REFERENCES city [sakila.city.city_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.AddressRecord, java.lang.Short> CITY_ID = createField("city_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.AddressRecord, org.joou.UShort> CITY_ID = createField("city_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -92,7 +92,7 @@ public class Address extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.AddressRecord, java.lang.Short> getIdentity() {
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.AddressRecord, org.joou.UShort> getIdentity() {
|
||||
return org.jooq.examples.mysql.sakila.Keys.IDENTITY_address;
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Category extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.CategoryRecord> {
|
||||
|
||||
private static final long serialVersionUID = 120998556;
|
||||
private static final long serialVersionUID = 1249737415;
|
||||
|
||||
/**
|
||||
* The singleton instance of category
|
||||
@ -35,7 +35,7 @@ public class Category extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CategoryRecord, java.lang.Byte> CATEGORY_ID = createField("category_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CategoryRecord, org.joou.UByte> CATEGORY_ID = createField("category_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -62,7 +62,7 @@ public class Category extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CategoryRecord, java.lang.Byte> getIdentity() {
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CategoryRecord, org.joou.UByte> getIdentity() {
|
||||
return org.jooq.examples.mysql.sakila.Keys.IDENTITY_category;
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class City extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.CityRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1954219428;
|
||||
private static final long serialVersionUID = 207274276;
|
||||
|
||||
/**
|
||||
* The singleton instance of city
|
||||
@ -35,7 +35,7 @@ public class City extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mys
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CityRecord, java.lang.Short> CITY_ID = createField("city_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CityRecord, org.joou.UShort> CITY_ID = createField("city_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -50,7 +50,7 @@ public class City extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mys
|
||||
* REFERENCES country [sakila.country.country_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CityRecord, java.lang.Short> COUNTRY_ID = createField("country_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CityRecord, org.joou.UShort> COUNTRY_ID = createField("country_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -72,7 +72,7 @@ public class City extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mys
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CityRecord, java.lang.Short> getIdentity() {
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CityRecord, org.joou.UShort> getIdentity() {
|
||||
return org.jooq.examples.mysql.sakila.Keys.IDENTITY_city;
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Country extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.CountryRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1109437430;
|
||||
private static final long serialVersionUID = -534108443;
|
||||
|
||||
/**
|
||||
* The singleton instance of country
|
||||
@ -35,7 +35,7 @@ public class Country extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CountryRecord, java.lang.Short> COUNTRY_ID = createField("country_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CountryRecord, org.joou.UShort> COUNTRY_ID = createField("country_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -62,7 +62,7 @@ public class Country extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CountryRecord, java.lang.Short> getIdentity() {
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CountryRecord, org.joou.UShort> getIdentity() {
|
||||
return org.jooq.examples.mysql.sakila.Keys.IDENTITY_country;
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Customer extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord> {
|
||||
|
||||
private static final long serialVersionUID = -550266799;
|
||||
private static final long serialVersionUID = -309331968;
|
||||
|
||||
/**
|
||||
* The singleton instance of customer
|
||||
@ -35,7 +35,7 @@ public class Customer extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord, java.lang.Short> CUSTOMER_ID = createField("customer_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord, org.joou.UShort> CUSTOMER_ID = createField("customer_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -45,7 +45,7 @@ public class Customer extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples
|
||||
* REFERENCES store [sakila.store.store_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord, java.lang.Byte> STORE_ID = createField("store_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord, org.joou.UByte> STORE_ID = createField("store_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -70,7 +70,7 @@ public class Customer extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples
|
||||
* REFERENCES address [sakila.address.address_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord, java.lang.Short> ADDRESS_ID = createField("address_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord, org.joou.UShort> ADDRESS_ID = createField("address_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -102,7 +102,7 @@ public class Customer extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord, java.lang.Short> getIdentity() {
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord, org.joou.UShort> getIdentity() {
|
||||
return org.jooq.examples.mysql.sakila.Keys.IDENTITY_customer;
|
||||
}
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class CustomerList extends org.jooq.impl.TableImpl<org.jooq.examples.mysql.sakila.tables.records.CustomerListRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1498293572;
|
||||
private static final long serialVersionUID = 429183358;
|
||||
|
||||
/**
|
||||
* The singleton instance of customer_list
|
||||
@ -35,7 +35,7 @@ public class CustomerList extends org.jooq.impl.TableImpl<org.jooq.examples.mysq
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CustomerListRecord, java.lang.Short> ID = createField("ID", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CustomerListRecord, org.joou.UShort> ID = createField("ID", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -75,7 +75,7 @@ public class CustomerList extends org.jooq.impl.TableImpl<org.jooq.examples.mysq
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CustomerListRecord, java.lang.Byte> SID = createField("SID", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.CustomerListRecord, org.joou.UByte> SID = createField("SID", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Film extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.FilmRecord> {
|
||||
|
||||
private static final long serialVersionUID = 985926173;
|
||||
private static final long serialVersionUID = 272508668;
|
||||
|
||||
/**
|
||||
* The singleton instance of film
|
||||
@ -35,7 +35,7 @@ public class Film extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mys
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, java.lang.Short> FILM_ID = createField("film_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, org.joou.UShort> FILM_ID = createField("film_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -60,7 +60,7 @@ public class Film extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mys
|
||||
* REFERENCES language [sakila.language.language_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, java.lang.Byte> LANGUAGE_ID = createField("language_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, org.joou.UByte> LANGUAGE_ID = createField("language_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -70,12 +70,12 @@ public class Film extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mys
|
||||
* REFERENCES language [sakila.language.language_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, java.lang.Byte> ORIGINAL_LANGUAGE_ID = createField("original_language_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, org.joou.UByte> ORIGINAL_LANGUAGE_ID = createField("original_language_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, java.lang.Byte> RENTAL_DURATION = createField("rental_duration", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, org.joou.UByte> RENTAL_DURATION = createField("rental_duration", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -85,7 +85,7 @@ public class Film extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mys
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, java.lang.Short> LENGTH = createField("length", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, org.joou.UShort> LENGTH = createField("length", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -122,7 +122,7 @@ public class Film extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mys
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, java.lang.Short> getIdentity() {
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.FilmRecord, org.joou.UShort> getIdentity() {
|
||||
return org.jooq.examples.mysql.sakila.Keys.IDENTITY_film;
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FilmActor extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.FilmActorRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1205143384;
|
||||
private static final long serialVersionUID = -249053534;
|
||||
|
||||
/**
|
||||
* The singleton instance of film_actor
|
||||
@ -40,7 +40,7 @@ public class FilmActor extends org.jooq.impl.UpdatableTableImpl<org.jooq.example
|
||||
* REFERENCES actor [sakila.actor.actor_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmActorRecord, java.lang.Short> ACTOR_ID = createField("actor_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmActorRecord, org.joou.UShort> ACTOR_ID = createField("actor_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -52,7 +52,7 @@ public class FilmActor extends org.jooq.impl.UpdatableTableImpl<org.jooq.example
|
||||
* REFERENCES film [sakila.film.film_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmActorRecord, java.lang.Short> FILM_ID = createField("film_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmActorRecord, org.joou.UShort> FILM_ID = createField("film_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FilmCategory extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.FilmCategoryRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1737940182;
|
||||
private static final long serialVersionUID = 2008435492;
|
||||
|
||||
/**
|
||||
* The singleton instance of film_category
|
||||
@ -40,7 +40,7 @@ public class FilmCategory extends org.jooq.impl.UpdatableTableImpl<org.jooq.exam
|
||||
* REFERENCES film [sakila.film.film_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmCategoryRecord, java.lang.Short> FILM_ID = createField("film_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmCategoryRecord, org.joou.UShort> FILM_ID = createField("film_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -52,7 +52,7 @@ public class FilmCategory extends org.jooq.impl.UpdatableTableImpl<org.jooq.exam
|
||||
* REFERENCES category [sakila.category.category_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmCategoryRecord, java.lang.Byte> CATEGORY_ID = createField("category_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmCategoryRecord, org.joou.UByte> CATEGORY_ID = createField("category_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
|
||||
@ -12,7 +12,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FilmList extends org.jooq.impl.TableImpl<org.jooq.examples.mysql.sakila.tables.records.FilmListRecord> {
|
||||
|
||||
private static final long serialVersionUID = 986457410;
|
||||
private static final long serialVersionUID = 961495458;
|
||||
|
||||
/**
|
||||
* The singleton instance of film_list
|
||||
@ -35,7 +35,7 @@ public class FilmList extends org.jooq.impl.TableImpl<org.jooq.examples.mysql.sa
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmListRecord, java.lang.Short> FID = createField("FID", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmListRecord, org.joou.UShort> FID = createField("FID", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -60,7 +60,7 @@ public class FilmList extends org.jooq.impl.TableImpl<org.jooq.examples.mysql.sa
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmListRecord, java.lang.Short> LENGTH = createField("length", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.FilmListRecord, org.joou.UShort> LENGTH = createField("length", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Inventory extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord> {
|
||||
|
||||
private static final long serialVersionUID = -712099866;
|
||||
private static final long serialVersionUID = 663073685;
|
||||
|
||||
/**
|
||||
* The singleton instance of inventory
|
||||
@ -35,7 +35,7 @@ public class Inventory extends org.jooq.impl.UpdatableTableImpl<org.jooq.example
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord, java.lang.Integer> INVENTORY_ID = createField("inventory_id", org.jooq.impl.SQLDataType.INTEGER, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord, org.joou.UInteger> INVENTORY_ID = createField("inventory_id", org.jooq.impl.SQLDataType.INTEGERUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -45,7 +45,7 @@ public class Inventory extends org.jooq.impl.UpdatableTableImpl<org.jooq.example
|
||||
* REFERENCES film [sakila.film.film_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord, java.lang.Short> FILM_ID = createField("film_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord, org.joou.UShort> FILM_ID = createField("film_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -55,7 +55,7 @@ public class Inventory extends org.jooq.impl.UpdatableTableImpl<org.jooq.example
|
||||
* REFERENCES store [sakila.store.store_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord, java.lang.Byte> STORE_ID = createField("store_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord, org.joou.UByte> STORE_ID = createField("store_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -77,7 +77,7 @@ public class Inventory extends org.jooq.impl.UpdatableTableImpl<org.jooq.example
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord, java.lang.Integer> getIdentity() {
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord, org.joou.UInteger> getIdentity() {
|
||||
return org.jooq.examples.mysql.sakila.Keys.IDENTITY_inventory;
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Language extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.LanguageRecord> {
|
||||
|
||||
private static final long serialVersionUID = -2092586221;
|
||||
private static final long serialVersionUID = -1183110632;
|
||||
|
||||
/**
|
||||
* The singleton instance of language
|
||||
@ -35,7 +35,7 @@ public class Language extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.LanguageRecord, java.lang.Byte> LANGUAGE_ID = createField("language_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.LanguageRecord, org.joou.UByte> LANGUAGE_ID = createField("language_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -62,7 +62,7 @@ public class Language extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.LanguageRecord, java.lang.Byte> getIdentity() {
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.LanguageRecord, org.joou.UByte> getIdentity() {
|
||||
return org.jooq.examples.mysql.sakila.Keys.IDENTITY_language;
|
||||
}
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class NicerButSlowerFilmList extends org.jooq.impl.TableImpl<org.jooq.examples.mysql.sakila.tables.records.NicerButSlowerFilmListRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1067032056;
|
||||
private static final long serialVersionUID = 1028041368;
|
||||
|
||||
/**
|
||||
* The singleton instance of nicer_but_slower_film_list
|
||||
@ -35,7 +35,7 @@ public class NicerButSlowerFilmList extends org.jooq.impl.TableImpl<org.jooq.exa
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.NicerButSlowerFilmListRecord, java.lang.Short> FID = createField("FID", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.NicerButSlowerFilmListRecord, org.joou.UShort> FID = createField("FID", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -60,7 +60,7 @@ public class NicerButSlowerFilmList extends org.jooq.impl.TableImpl<org.jooq.exa
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.NicerButSlowerFilmListRecord, java.lang.Short> LENGTH = createField("length", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.NicerButSlowerFilmListRecord, org.joou.UShort> LENGTH = createField("length", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Payment extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1991614603;
|
||||
private static final long serialVersionUID = -1854634268;
|
||||
|
||||
/**
|
||||
* The singleton instance of payment
|
||||
@ -35,7 +35,7 @@ public class Payment extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord, java.lang.Short> PAYMENT_ID = createField("payment_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord, org.joou.UShort> PAYMENT_ID = createField("payment_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -45,7 +45,7 @@ public class Payment extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.
|
||||
* REFERENCES customer [sakila.customer.customer_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord, java.lang.Short> CUSTOMER_ID = createField("customer_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord, org.joou.UShort> CUSTOMER_ID = createField("customer_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -55,7 +55,7 @@ public class Payment extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.
|
||||
* REFERENCES staff [sakila.staff.staff_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord, java.lang.Byte> STAFF_ID = createField("staff_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord, org.joou.UByte> STAFF_ID = createField("staff_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -97,7 +97,7 @@ public class Payment extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord, java.lang.Short> getIdentity() {
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord, org.joou.UShort> getIdentity() {
|
||||
return org.jooq.examples.mysql.sakila.Keys.IDENTITY_payment;
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Rental extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.RentalRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1744725148;
|
||||
private static final long serialVersionUID = -1451372373;
|
||||
|
||||
/**
|
||||
* The singleton instance of rental
|
||||
@ -50,7 +50,7 @@ public class Rental extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.m
|
||||
* REFERENCES inventory [sakila.inventory.inventory_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.RentalRecord, java.lang.Integer> INVENTORY_ID = createField("inventory_id", org.jooq.impl.SQLDataType.INTEGER, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.RentalRecord, org.joou.UInteger> INVENTORY_ID = createField("inventory_id", org.jooq.impl.SQLDataType.INTEGERUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -60,7 +60,7 @@ public class Rental extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.m
|
||||
* REFERENCES customer [sakila.customer.customer_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.RentalRecord, java.lang.Short> CUSTOMER_ID = createField("customer_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.RentalRecord, org.joou.UShort> CUSTOMER_ID = createField("customer_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -75,7 +75,7 @@ public class Rental extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.m
|
||||
* REFERENCES staff [sakila.staff.staff_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.RentalRecord, java.lang.Byte> STAFF_ID = createField("staff_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.RentalRecord, org.joou.UByte> STAFF_ID = createField("staff_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Staff extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.StaffRecord> {
|
||||
|
||||
private static final long serialVersionUID = -590320201;
|
||||
private static final long serialVersionUID = 524285340;
|
||||
|
||||
/**
|
||||
* The singleton instance of staff
|
||||
@ -35,7 +35,7 @@ public class Staff extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.my
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StaffRecord, java.lang.Byte> STAFF_ID = createField("staff_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StaffRecord, org.joou.UByte> STAFF_ID = createField("staff_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -55,7 +55,7 @@ public class Staff extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.my
|
||||
* REFERENCES address [sakila.address.address_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StaffRecord, java.lang.Short> ADDRESS_ID = createField("address_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StaffRecord, org.joou.UShort> ADDRESS_ID = createField("address_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -75,7 +75,7 @@ public class Staff extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.my
|
||||
* REFERENCES store [sakila.store.store_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StaffRecord, java.lang.Byte> STORE_ID = createField("store_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StaffRecord, org.joou.UByte> STORE_ID = createField("store_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -112,7 +112,7 @@ public class Staff extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.my
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.StaffRecord, java.lang.Byte> getIdentity() {
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.StaffRecord, org.joou.UByte> getIdentity() {
|
||||
return org.jooq.examples.mysql.sakila.Keys.IDENTITY_staff;
|
||||
}
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class StaffList extends org.jooq.impl.TableImpl<org.jooq.examples.mysql.sakila.tables.records.StaffListRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1046507427;
|
||||
private static final long serialVersionUID = -583692547;
|
||||
|
||||
/**
|
||||
* The singleton instance of staff_list
|
||||
@ -35,7 +35,7 @@ public class StaffList extends org.jooq.impl.TableImpl<org.jooq.examples.mysql.s
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StaffListRecord, java.lang.Byte> ID = createField("ID", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StaffListRecord, org.joou.UByte> ID = createField("ID", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -70,7 +70,7 @@ public class StaffList extends org.jooq.impl.TableImpl<org.jooq.examples.mysql.s
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StaffListRecord, java.lang.Byte> SID = createField("SID", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StaffListRecord, org.joou.UByte> SID = createField("SID", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Store extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.StoreRecord> {
|
||||
|
||||
private static final long serialVersionUID = -310711317;
|
||||
private static final long serialVersionUID = 1113761706;
|
||||
|
||||
/**
|
||||
* The singleton instance of store
|
||||
@ -35,7 +35,7 @@ public class Store extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.my
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StoreRecord, java.lang.Byte> STORE_ID = createField("store_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StoreRecord, org.joou.UByte> STORE_ID = createField("store_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -45,7 +45,7 @@ public class Store extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.my
|
||||
* REFERENCES staff [sakila.staff.staff_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StoreRecord, java.lang.Byte> MANAGER_STAFF_ID = createField("manager_staff_id", org.jooq.impl.SQLDataType.TINYINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StoreRecord, org.joou.UByte> MANAGER_STAFF_ID = createField("manager_staff_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -55,7 +55,7 @@ public class Store extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.my
|
||||
* REFERENCES address [sakila.address.address_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StoreRecord, java.lang.Short> ADDRESS_ID = createField("address_id", org.jooq.impl.SQLDataType.SMALLINT, this);
|
||||
public final org.jooq.TableField<org.jooq.examples.mysql.sakila.tables.records.StoreRecord, org.joou.UShort> ADDRESS_ID = createField("address_id", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, this);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -77,7 +77,7 @@ public class Store extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.my
|
||||
}
|
||||
|
||||
@Override
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.StoreRecord, java.lang.Byte> getIdentity() {
|
||||
public org.jooq.Identity<org.jooq.examples.mysql.sakila.tables.records.StoreRecord, org.joou.UByte> getIdentity() {
|
||||
return org.jooq.examples.mysql.sakila.Keys.IDENTITY_store;
|
||||
}
|
||||
|
||||
|
||||
@ -12,19 +12,19 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class ActorInfoRecord extends org.jooq.impl.TableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.ActorInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1698141927;
|
||||
private static final long serialVersionUID = -1308586471;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setActorId(java.lang.Short value) {
|
||||
public void setActorId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.ActorInfo.ACTOR_INFO.ACTOR_ID, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Short getActorId() {
|
||||
public org.joou.UShort getActorId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.ActorInfo.ACTOR_INFO.ACTOR_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class ActorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.ActorRecord> {
|
||||
|
||||
private static final long serialVersionUID = -928158217;
|
||||
private static final long serialVersionUID = -1239063305;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public void setActorId(java.lang.Short value) {
|
||||
public void setActorId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Actor.ACTOR.ACTOR_ID, value);
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ public class ActorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public java.lang.Short getActorId() {
|
||||
public org.joou.UShort getActorId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Actor.ACTOR.ACTOR_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class AddressRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.AddressRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1373317564;
|
||||
private static final long serialVersionUID = -1241050380;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public void setAddressId(java.lang.Short value) {
|
||||
public void setAddressId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS.ADDRESS_ID, value);
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ public class AddressRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public java.lang.Short getAddressId() {
|
||||
public org.joou.UShort getAddressId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS.ADDRESS_ID);
|
||||
}
|
||||
|
||||
@ -116,7 +116,7 @@ public class AddressRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
|
||||
* REFERENCES city [sakila.city.city_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setCityId(java.lang.Short value) {
|
||||
public void setCityId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS.CITY_ID, value);
|
||||
}
|
||||
|
||||
@ -128,7 +128,7 @@ public class AddressRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
|
||||
* REFERENCES city [sakila.city.city_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Short getCityId() {
|
||||
public org.joou.UShort getCityId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS.CITY_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class CategoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.CategoryRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1516611703;
|
||||
private static final long serialVersionUID = -1588275063;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public void setCategoryId(java.lang.Byte value) {
|
||||
public void setCategoryId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Category.CATEGORY.CATEGORY_ID, value);
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ public class CategoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public java.lang.Byte getCategoryId() {
|
||||
public org.joou.UByte getCategoryId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Category.CATEGORY.CATEGORY_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class CityRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.CityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1836286513;
|
||||
private static final long serialVersionUID = -2063807439;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public void setCityId(java.lang.Short value) {
|
||||
public void setCityId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.City.CITY.CITY_ID, value);
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ public class CityRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public java.lang.Short getCityId() {
|
||||
public org.joou.UShort getCityId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.City.CITY.CITY_ID);
|
||||
}
|
||||
|
||||
@ -64,7 +64,7 @@ public class CityRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
|
||||
* REFERENCES country [sakila.country.country_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setCountryId(java.lang.Short value) {
|
||||
public void setCountryId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.City.CITY.COUNTRY_ID, value);
|
||||
}
|
||||
|
||||
@ -76,7 +76,7 @@ public class CityRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
|
||||
* REFERENCES country [sakila.country.country_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Short getCountryId() {
|
||||
public org.joou.UShort getCountryId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.City.CITY.COUNTRY_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class CountryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.CountryRecord> {
|
||||
|
||||
private static final long serialVersionUID = -164764735;
|
||||
private static final long serialVersionUID = 959338689;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public void setCountryId(java.lang.Short value) {
|
||||
public void setCountryId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Country.COUNTRY.COUNTRY_ID, value);
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ public class CountryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public java.lang.Short getCountryId() {
|
||||
public org.joou.UShort getCountryId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Country.COUNTRY.COUNTRY_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -12,19 +12,19 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class CustomerListRecord extends org.jooq.impl.TableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.CustomerListRecord> {
|
||||
|
||||
private static final long serialVersionUID = -899684075;
|
||||
private static final long serialVersionUID = -749795051;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setId(java.lang.Short value) {
|
||||
public void setId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.CustomerList.CUSTOMER_LIST.ID, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Short getId() {
|
||||
public org.joou.UShort getId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.CustomerList.CUSTOMER_LIST.ID);
|
||||
}
|
||||
|
||||
@ -129,14 +129,14 @@ public class CustomerListRecord extends org.jooq.impl.TableRecordImpl<org.jooq.e
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setSid(java.lang.Byte value) {
|
||||
public void setSid(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.CustomerList.CUSTOMER_LIST.SID, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Byte getSid() {
|
||||
public org.joou.UByte getSid() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.CustomerList.CUSTOMER_LIST.SID);
|
||||
}
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class CustomerRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord> {
|
||||
|
||||
private static final long serialVersionUID = 165445135;
|
||||
private static final long serialVersionUID = 821627151;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public void setCustomerId(java.lang.Short value) {
|
||||
public void setCustomerId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER.CUSTOMER_ID, value);
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ public class CustomerRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public java.lang.Short getCustomerId() {
|
||||
public org.joou.UShort getCustomerId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER.CUSTOMER_ID);
|
||||
}
|
||||
|
||||
@ -62,7 +62,7 @@ public class CustomerRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
|
||||
* REFERENCES store [sakila.store.store_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setStoreId(java.lang.Byte value) {
|
||||
public void setStoreId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER.STORE_ID, value);
|
||||
}
|
||||
|
||||
@ -74,7 +74,7 @@ public class CustomerRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
|
||||
* REFERENCES store [sakila.store.store_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Byte getStoreId() {
|
||||
public org.joou.UByte getStoreId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER.STORE_ID);
|
||||
}
|
||||
|
||||
@ -143,7 +143,7 @@ public class CustomerRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
|
||||
* REFERENCES address [sakila.address.address_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setAddressId(java.lang.Short value) {
|
||||
public void setAddressId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER.ADDRESS_ID, value);
|
||||
}
|
||||
|
||||
@ -155,7 +155,7 @@ public class CustomerRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
|
||||
* REFERENCES address [sakila.address.address_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Short getAddressId() {
|
||||
public org.joou.UShort getAddressId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER.ADDRESS_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FilmActorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.FilmActorRecord> {
|
||||
|
||||
private static final long serialVersionUID = -283651042;
|
||||
private static final long serialVersionUID = 1651769550;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -22,7 +22,7 @@ public class FilmActorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
* REFERENCES actor [sakila.actor.actor_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setActorId(java.lang.Short value) {
|
||||
public void setActorId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.FilmActor.FILM_ACTOR.ACTOR_ID, value);
|
||||
}
|
||||
|
||||
@ -36,7 +36,7 @@ public class FilmActorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
* REFERENCES actor [sakila.actor.actor_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Short getActorId() {
|
||||
public org.joou.UShort getActorId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.FilmActor.FILM_ACTOR.ACTOR_ID);
|
||||
}
|
||||
|
||||
@ -67,7 +67,7 @@ public class FilmActorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
* REFERENCES film [sakila.film.film_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setFilmId(java.lang.Short value) {
|
||||
public void setFilmId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.FilmActor.FILM_ACTOR.FILM_ID, value);
|
||||
}
|
||||
|
||||
@ -81,7 +81,7 @@ public class FilmActorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
* REFERENCES film [sakila.film.film_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Short getFilmId() {
|
||||
public org.joou.UShort getFilmId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.FilmActor.FILM_ACTOR.FILM_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FilmCategoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.FilmCategoryRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1764985182;
|
||||
private static final long serialVersionUID = -645793966;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -22,7 +22,7 @@ public class FilmCategoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jo
|
||||
* REFERENCES film [sakila.film.film_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setFilmId(java.lang.Short value) {
|
||||
public void setFilmId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.FilmCategory.FILM_CATEGORY.FILM_ID, value);
|
||||
}
|
||||
|
||||
@ -36,7 +36,7 @@ public class FilmCategoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jo
|
||||
* REFERENCES film [sakila.film.film_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Short getFilmId() {
|
||||
public org.joou.UShort getFilmId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.FilmCategory.FILM_CATEGORY.FILM_ID);
|
||||
}
|
||||
|
||||
@ -67,7 +67,7 @@ public class FilmCategoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jo
|
||||
* REFERENCES category [sakila.category.category_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setCategoryId(java.lang.Byte value) {
|
||||
public void setCategoryId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.FilmCategory.FILM_CATEGORY.CATEGORY_ID, value);
|
||||
}
|
||||
|
||||
@ -81,7 +81,7 @@ public class FilmCategoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jo
|
||||
* REFERENCES category [sakila.category.category_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Byte getCategoryId() {
|
||||
public org.joou.UByte getCategoryId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.FilmCategory.FILM_CATEGORY.CATEGORY_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -12,19 +12,19 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FilmListRecord extends org.jooq.impl.TableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.FilmListRecord> {
|
||||
|
||||
private static final long serialVersionUID = 256894785;
|
||||
private static final long serialVersionUID = 455795345;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setFid(java.lang.Short value) {
|
||||
public void setFid(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.FilmList.FILM_LIST.FID, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Short getFid() {
|
||||
public org.joou.UShort getFid() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.FilmList.FILM_LIST.FID);
|
||||
}
|
||||
|
||||
@ -87,14 +87,14 @@ public class FilmListRecord extends org.jooq.impl.TableRecordImpl<org.jooq.examp
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setLength(java.lang.Short value) {
|
||||
public void setLength(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.FilmList.FILM_LIST.LENGTH, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Short getLength() {
|
||||
public org.joou.UShort getLength() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.FilmList.FILM_LIST.LENGTH);
|
||||
}
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.FilmRecord> {
|
||||
|
||||
private static final long serialVersionUID = 319995380;
|
||||
private static final long serialVersionUID = 1905486212;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public void setFilmId(java.lang.Short value) {
|
||||
public void setFilmId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Film.FILM.FILM_ID, value);
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public java.lang.Short getFilmId() {
|
||||
public org.joou.UShort getFilmId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Film.FILM.FILM_ID);
|
||||
}
|
||||
|
||||
@ -116,7 +116,7 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
|
||||
* REFERENCES language [sakila.language.language_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setLanguageId(java.lang.Byte value) {
|
||||
public void setLanguageId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Film.FILM.LANGUAGE_ID, value);
|
||||
}
|
||||
|
||||
@ -128,7 +128,7 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
|
||||
* REFERENCES language [sakila.language.language_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Byte getLanguageId() {
|
||||
public org.joou.UByte getLanguageId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Film.FILM.LANGUAGE_ID);
|
||||
}
|
||||
|
||||
@ -155,7 +155,7 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
|
||||
* REFERENCES language [sakila.language.language_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setOriginalLanguageId(java.lang.Byte value) {
|
||||
public void setOriginalLanguageId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Film.FILM.ORIGINAL_LANGUAGE_ID, value);
|
||||
}
|
||||
|
||||
@ -167,7 +167,7 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
|
||||
* REFERENCES language [sakila.language.language_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Byte getOriginalLanguageId() {
|
||||
public org.joou.UByte getOriginalLanguageId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Film.FILM.ORIGINAL_LANGUAGE_ID);
|
||||
}
|
||||
|
||||
@ -189,14 +189,14 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setRentalDuration(java.lang.Byte value) {
|
||||
public void setRentalDuration(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Film.FILM.RENTAL_DURATION, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Byte getRentalDuration() {
|
||||
public org.joou.UByte getRentalDuration() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Film.FILM.RENTAL_DURATION);
|
||||
}
|
||||
|
||||
@ -217,14 +217,14 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setLength(java.lang.Short value) {
|
||||
public void setLength(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Film.FILM.LENGTH, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Short getLength() {
|
||||
public org.joou.UShort getLength() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Film.FILM.LENGTH);
|
||||
}
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class InventoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord> {
|
||||
|
||||
private static final long serialVersionUID = 255921147;
|
||||
private static final long serialVersionUID = 1081368315;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public void setInventoryId(java.lang.Integer value) {
|
||||
public void setInventoryId(org.joou.UInteger value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY.INVENTORY_ID, value);
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ public class InventoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public java.lang.Integer getInventoryId() {
|
||||
public org.joou.UInteger getInventoryId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY.INVENTORY_ID);
|
||||
}
|
||||
|
||||
@ -50,7 +50,7 @@ public class InventoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
* REFERENCES film [sakila.film.film_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setFilmId(java.lang.Short value) {
|
||||
public void setFilmId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY.FILM_ID, value);
|
||||
}
|
||||
|
||||
@ -62,7 +62,7 @@ public class InventoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
* REFERENCES film [sakila.film.film_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Short getFilmId() {
|
||||
public org.joou.UShort getFilmId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY.FILM_ID);
|
||||
}
|
||||
|
||||
@ -89,7 +89,7 @@ public class InventoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
* REFERENCES store [sakila.store.store_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setStoreId(java.lang.Byte value) {
|
||||
public void setStoreId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY.STORE_ID, value);
|
||||
}
|
||||
|
||||
@ -101,7 +101,7 @@ public class InventoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
|
||||
* REFERENCES store [sakila.store.store_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Byte getStoreId() {
|
||||
public org.joou.UByte getStoreId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY.STORE_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class LanguageRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.LanguageRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1608134600;
|
||||
private static final long serialVersionUID = 1698869448;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public void setLanguageId(java.lang.Byte value) {
|
||||
public void setLanguageId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE.LANGUAGE_ID, value);
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ public class LanguageRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public java.lang.Byte getLanguageId() {
|
||||
public org.joou.UByte getLanguageId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE.LANGUAGE_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -12,19 +12,19 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class NicerButSlowerFilmListRecord extends org.jooq.impl.TableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.NicerButSlowerFilmListRecord> {
|
||||
|
||||
private static final long serialVersionUID = 431977896;
|
||||
private static final long serialVersionUID = -221536520;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setFid(java.lang.Short value) {
|
||||
public void setFid(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.NicerButSlowerFilmList.NICER_BUT_SLOWER_FILM_LIST.FID, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Short getFid() {
|
||||
public org.joou.UShort getFid() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.NicerButSlowerFilmList.NICER_BUT_SLOWER_FILM_LIST.FID);
|
||||
}
|
||||
|
||||
@ -87,14 +87,14 @@ public class NicerButSlowerFilmListRecord extends org.jooq.impl.TableRecordImpl<
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setLength(java.lang.Short value) {
|
||||
public void setLength(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.NicerButSlowerFilmList.NICER_BUT_SLOWER_FILM_LIST.LENGTH, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Short getLength() {
|
||||
public org.joou.UShort getLength() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.NicerButSlowerFilmList.NICER_BUT_SLOWER_FILM_LIST.LENGTH);
|
||||
}
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class PaymentRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 815222398;
|
||||
private static final long serialVersionUID = -1110782082;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public void setPaymentId(java.lang.Short value) {
|
||||
public void setPaymentId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT.PAYMENT_ID, value);
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ public class PaymentRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public java.lang.Short getPaymentId() {
|
||||
public org.joou.UShort getPaymentId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT.PAYMENT_ID);
|
||||
}
|
||||
|
||||
@ -38,7 +38,7 @@ public class PaymentRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
|
||||
* REFERENCES customer [sakila.customer.customer_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setCustomerId(java.lang.Short value) {
|
||||
public void setCustomerId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT.CUSTOMER_ID, value);
|
||||
}
|
||||
|
||||
@ -50,7 +50,7 @@ public class PaymentRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
|
||||
* REFERENCES customer [sakila.customer.customer_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Short getCustomerId() {
|
||||
public org.joou.UShort getCustomerId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT.CUSTOMER_ID);
|
||||
}
|
||||
|
||||
@ -77,7 +77,7 @@ public class PaymentRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
|
||||
* REFERENCES staff [sakila.staff.staff_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setStaffId(java.lang.Byte value) {
|
||||
public void setStaffId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT.STAFF_ID, value);
|
||||
}
|
||||
|
||||
@ -89,7 +89,7 @@ public class PaymentRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
|
||||
* REFERENCES staff [sakila.staff.staff_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Byte getStaffId() {
|
||||
public org.joou.UByte getStaffId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT.STAFF_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class RentalRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.RentalRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1079713184;
|
||||
private static final long serialVersionUID = 2113146352;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
@ -64,7 +64,7 @@ public class RentalRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exa
|
||||
* REFERENCES inventory [sakila.inventory.inventory_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setInventoryId(java.lang.Integer value) {
|
||||
public void setInventoryId(org.joou.UInteger value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL.INVENTORY_ID, value);
|
||||
}
|
||||
|
||||
@ -76,7 +76,7 @@ public class RentalRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exa
|
||||
* REFERENCES inventory [sakila.inventory.inventory_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Integer getInventoryId() {
|
||||
public org.joou.UInteger getInventoryId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL.INVENTORY_ID);
|
||||
}
|
||||
|
||||
@ -103,7 +103,7 @@ public class RentalRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exa
|
||||
* REFERENCES customer [sakila.customer.customer_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setCustomerId(java.lang.Short value) {
|
||||
public void setCustomerId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL.CUSTOMER_ID, value);
|
||||
}
|
||||
|
||||
@ -115,7 +115,7 @@ public class RentalRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exa
|
||||
* REFERENCES customer [sakila.customer.customer_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Short getCustomerId() {
|
||||
public org.joou.UShort getCustomerId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL.CUSTOMER_ID);
|
||||
}
|
||||
|
||||
@ -156,7 +156,7 @@ public class RentalRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exa
|
||||
* REFERENCES staff [sakila.staff.staff_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setStaffId(java.lang.Byte value) {
|
||||
public void setStaffId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL.STAFF_ID, value);
|
||||
}
|
||||
|
||||
@ -168,7 +168,7 @@ public class RentalRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exa
|
||||
* REFERENCES staff [sakila.staff.staff_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Byte getStaffId() {
|
||||
public org.joou.UByte getStaffId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL.STAFF_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -12,19 +12,19 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class StaffListRecord extends org.jooq.impl.TableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.StaffListRecord> {
|
||||
|
||||
private static final long serialVersionUID = -112858551;
|
||||
private static final long serialVersionUID = 1424642809;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setId(java.lang.Byte value) {
|
||||
public void setId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.StaffList.STAFF_LIST.ID, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Byte getId() {
|
||||
public org.joou.UByte getId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.StaffList.STAFF_LIST.ID);
|
||||
}
|
||||
|
||||
@ -115,14 +115,14 @@ public class StaffListRecord extends org.jooq.impl.TableRecordImpl<org.jooq.exam
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setSid(java.lang.Byte value) {
|
||||
public void setSid(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.StaffList.STAFF_LIST.SID, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public java.lang.Byte getSid() {
|
||||
public org.joou.UByte getSid() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.StaffList.STAFF_LIST.SID);
|
||||
}
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class StaffRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.StaffRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1955768421;
|
||||
private static final long serialVersionUID = -47487845;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public void setStaffId(java.lang.Byte value) {
|
||||
public void setStaffId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Staff.STAFF.STAFF_ID, value);
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ public class StaffRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public java.lang.Byte getStaffId() {
|
||||
public org.joou.UByte getStaffId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Staff.STAFF.STAFF_ID);
|
||||
}
|
||||
|
||||
@ -102,7 +102,7 @@ public class StaffRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
|
||||
* REFERENCES address [sakila.address.address_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setAddressId(java.lang.Short value) {
|
||||
public void setAddressId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Staff.STAFF.ADDRESS_ID, value);
|
||||
}
|
||||
|
||||
@ -114,7 +114,7 @@ public class StaffRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
|
||||
* REFERENCES address [sakila.address.address_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Short getAddressId() {
|
||||
public org.joou.UShort getAddressId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Staff.STAFF.ADDRESS_ID);
|
||||
}
|
||||
|
||||
@ -169,7 +169,7 @@ public class StaffRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
|
||||
* REFERENCES store [sakila.store.store_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setStoreId(java.lang.Byte value) {
|
||||
public void setStoreId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Staff.STAFF.STORE_ID, value);
|
||||
}
|
||||
|
||||
@ -181,7 +181,7 @@ public class StaffRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
|
||||
* REFERENCES store [sakila.store.store_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Byte getStoreId() {
|
||||
public org.joou.UByte getStoreId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Staff.STAFF.STORE_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -10,14 +10,14 @@ package org.jooq.examples.mysql.sakila.tables.records;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class StoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.StoreRecord> {
|
||||
|
||||
private static final long serialVersionUID = -470783653;
|
||||
private static final long serialVersionUID = 909965243;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public void setStoreId(java.lang.Byte value) {
|
||||
public void setStoreId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Store.STORE.STORE_ID, value);
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ public class StoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public java.lang.Byte getStoreId() {
|
||||
public org.joou.UByte getStoreId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Store.STORE.STORE_ID);
|
||||
}
|
||||
|
||||
@ -74,7 +74,7 @@ public class StoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
|
||||
* REFERENCES staff [sakila.staff.staff_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setManagerStaffId(java.lang.Byte value) {
|
||||
public void setManagerStaffId(org.joou.UByte value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Store.STORE.MANAGER_STAFF_ID, value);
|
||||
}
|
||||
|
||||
@ -86,7 +86,7 @@ public class StoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
|
||||
* REFERENCES staff [sakila.staff.staff_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Byte getManagerStaffId() {
|
||||
public org.joou.UByte getManagerStaffId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Store.STORE.MANAGER_STAFF_ID);
|
||||
}
|
||||
|
||||
@ -113,7 +113,7 @@ public class StoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
|
||||
* REFERENCES address [sakila.address.address_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public void setAddressId(java.lang.Short value) {
|
||||
public void setAddressId(org.joou.UShort value) {
|
||||
setValue(org.jooq.examples.mysql.sakila.tables.Store.STORE.ADDRESS_ID, value);
|
||||
}
|
||||
|
||||
@ -125,7 +125,7 @@ public class StoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
|
||||
* REFERENCES address [sakila.address.address_id]
|
||||
* </pre></code>
|
||||
*/
|
||||
public java.lang.Short getAddressId() {
|
||||
public org.joou.UShort getAddressId() {
|
||||
return getValue(org.jooq.examples.mysql.sakila.tables.Store.STORE.ADDRESS_ID);
|
||||
}
|
||||
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-meta" type="1"/> "/>
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER" javaProject="jOOQ" path="3" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/jOOQ-test/lib/postgresql-9.0-801.jdbc4.jar" path="3" sourceAttachmentPath="/jOOQ-sources/postgresql-jdbc-9.0-801.src.zip" sourceRootPath="" type="2"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER" javaProject="jOOQ" path="3" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER" javaProject="jOOQ" path="3" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER" javaProject="jOOQ" path="3" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER" javaProject="jOOQ" path="3" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" javaProject="jOOQ-codegen" path="1" type="4"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOU" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-codegen" type="1"/> "/>
|
||||
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="jOOQ-test" type="1"/> "/>
|
||||
|
||||
@ -71,6 +71,11 @@ import org.jooq.test.ase.generatedclasses.tables.records.VLibraryRecord;
|
||||
import org.jooq.test.ase.generatedclasses.tables.records.XUnusedRecord;
|
||||
import org.jooq.util.ase.ASEDataType;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
|
||||
/**
|
||||
* Integration test that creates tables and performs various sql operations.
|
||||
@ -85,6 +90,7 @@ public class jOOQASETest extends jOOQAbstractTest<
|
||||
XUnusedRecord,
|
||||
XUnusedRecord,
|
||||
TTriggersRecord,
|
||||
XUnusedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -201,6 +207,31 @@ public class jOOQASETest extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TUnsigned() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<T_639NumbersTableRecord> T639() {
|
||||
return T_639NumbersTable.T_639_NUMBERS_TABLE;
|
||||
|
||||
@ -48,6 +48,10 @@ import static org.jooq.SQLDialect.MYSQL;
|
||||
import static org.jooq.SQLDialect.SQLSERVER;
|
||||
import static org.jooq.SQLDialect.SYBASE;
|
||||
import static org.jooq.impl.Factory.*;
|
||||
import static org.joou.Unsigned.ubyte;
|
||||
import static org.joou.Unsigned.uint;
|
||||
import static org.joou.Unsigned.ulong;
|
||||
import static org.joou.Unsigned.ushort;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
@ -155,6 +159,11 @@ import org.jooq.tools.StringUtils;
|
||||
import org.jooq.util.GenerationTool;
|
||||
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.Unsigned;
|
||||
import org.joou.UShort;
|
||||
import org.junit.After;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.Before;
|
||||
@ -194,6 +203,9 @@ public abstract class jOOQAbstractTest<
|
||||
// T_TRIGGERS table
|
||||
T extends UpdatableRecord<T>,
|
||||
|
||||
// T_UNSIGNED table
|
||||
U extends TableRecord<U>,
|
||||
|
||||
// Various tables related to trac ticket numbers
|
||||
T658 extends TableRecord<T658>,
|
||||
T725 extends UpdatableRecord<T725>,
|
||||
@ -486,6 +498,12 @@ public abstract class jOOQAbstractTest<
|
||||
protected abstract TableField<T785, String> T785_NAME();
|
||||
protected abstract TableField<T785, String> T785_VALUE();
|
||||
|
||||
protected abstract Table<U> TUnsigned();
|
||||
protected abstract TableField<U, UByte> TUnsigned_U_BYTE();
|
||||
protected abstract TableField<U, UShort> TUnsigned_U_SHORT();
|
||||
protected abstract TableField<U, UInteger> TUnsigned_U_INT();
|
||||
protected abstract TableField<U, ULong> TUnsigned_U_LONG();
|
||||
|
||||
protected abstract Table<X> TArrays();
|
||||
protected abstract TableField<X, Integer> TArrays_ID();
|
||||
protected abstract TableField<X, String[]> TArrays_STRING();
|
||||
@ -1078,6 +1096,11 @@ public abstract class jOOQAbstractTest<
|
||||
tables++;
|
||||
}
|
||||
|
||||
// The additional T_UNSIGNED table
|
||||
if (TUnsigned() != null) {
|
||||
tables++;
|
||||
}
|
||||
|
||||
if (TArrays() == null) {
|
||||
assertEquals(tables, schema.getTables().size());
|
||||
}
|
||||
@ -1518,12 +1541,96 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals(Integer.valueOf(8), result.getValue(2, IDx2));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testUnsignedDataTypes() throws Exception {
|
||||
if (TUnsigned() == null) {
|
||||
log.info("SKIPPING", "Unsigned tests");
|
||||
return;
|
||||
}
|
||||
|
||||
reset = false;
|
||||
|
||||
// unsigned null values
|
||||
// --------------------
|
||||
assertEquals(1,
|
||||
create().insertInto(TUnsigned(),
|
||||
TUnsigned_U_BYTE(),
|
||||
TUnsigned_U_SHORT(),
|
||||
TUnsigned_U_INT(),
|
||||
TUnsigned_U_LONG())
|
||||
.values(null, null, null, null)
|
||||
.execute());
|
||||
|
||||
assertEquals(1, create().selectCount().from(TUnsigned()).fetchOne(0));
|
||||
U u = create().selectFrom(TUnsigned()).fetchOne();
|
||||
assertNotNull(u);
|
||||
assertNull(u.getValue(TUnsigned_U_BYTE()));
|
||||
assertNull(u.getValue(TUnsigned_U_SHORT()));
|
||||
assertNull(u.getValue(TUnsigned_U_INT()));
|
||||
assertNull(u.getValue(TUnsigned_U_LONG()));
|
||||
|
||||
// unsigned 1
|
||||
// ----------
|
||||
assertEquals(1,
|
||||
create().insertInto(TUnsigned())
|
||||
.set(TUnsigned_U_BYTE(), Unsigned.ubyte((byte) 1))
|
||||
.set(TUnsigned_U_SHORT(), Unsigned.ushort((short) 1))
|
||||
.set(TUnsigned_U_INT(), Unsigned.uint(1))
|
||||
.set(TUnsigned_U_LONG(), Unsigned.ulong(1L))
|
||||
.execute());
|
||||
|
||||
assertEquals(2, create().selectCount().from(TUnsigned()).fetchOne(0));
|
||||
u = create().selectFrom(TUnsigned()).where(TUnsigned_U_INT().equal(Unsigned.uint(1))).fetchOne();
|
||||
assertNotNull(u);
|
||||
assertEquals(Unsigned.ubyte("1"), u.getValue(TUnsigned_U_BYTE()));
|
||||
assertEquals(Unsigned.ushort("1"), u.getValue(TUnsigned_U_SHORT()));
|
||||
assertEquals(Unsigned.uint("1"), u.getValue(TUnsigned_U_INT()));
|
||||
assertEquals(Unsigned.ulong("1"), u.getValue(TUnsigned_U_LONG()));
|
||||
|
||||
assertEquals("1", u.getValue(TUnsigned_U_BYTE(), String.class));
|
||||
assertEquals("1", u.getValue(TUnsigned_U_SHORT(), String.class));
|
||||
assertEquals("1", u.getValue(TUnsigned_U_INT(), String.class));
|
||||
assertEquals("1", u.getValue(TUnsigned_U_LONG(), String.class));
|
||||
|
||||
assertEquals(Unsigned.ubyte("1"), u.getValue(TUnsigned_U_BYTE()));
|
||||
assertEquals(Unsigned.ushort("1"), u.getValue(TUnsigned_U_SHORT()));
|
||||
assertEquals(Unsigned.uint("1"), u.getValue(TUnsigned_U_INT()));
|
||||
assertEquals(Unsigned.ulong("1"), u.getValue(TUnsigned_U_LONG()));
|
||||
|
||||
// unsigned max-values
|
||||
// -------------------
|
||||
assertEquals(1,
|
||||
create().insertInto(TUnsigned())
|
||||
.set(TUnsigned_U_BYTE(), Unsigned.ubyte((byte) -1))
|
||||
.set(TUnsigned_U_SHORT(), Unsigned.ushort((short) -1))
|
||||
.set(TUnsigned_U_INT(), Unsigned.uint(-1))
|
||||
.set(TUnsigned_U_LONG(), Unsigned.ulong(-1L))
|
||||
.execute());
|
||||
|
||||
assertEquals(3, create().selectCount().from(TUnsigned()).fetchOne(0));
|
||||
u = create().selectFrom(TUnsigned()).where(TUnsigned_U_INT().equal(Unsigned.uint(-1))).fetchOne();
|
||||
assertNotNull(u);
|
||||
assertEquals(Unsigned.ubyte(UByte.MAX_VALUE), u.getValue(TUnsigned_U_BYTE()));
|
||||
assertEquals(Unsigned.ushort(UShort.MAX_VALUE), u.getValue(TUnsigned_U_SHORT()));
|
||||
assertEquals(Unsigned.uint(UInteger.MAX_VALUE), u.getValue(TUnsigned_U_INT()));
|
||||
assertEquals(Unsigned.ulong(ULong.MAX_VALUE), u.getValue(TUnsigned_U_LONG()));
|
||||
|
||||
assertEquals((byte) -1, u.getValue(TUnsigned_U_BYTE()).byteValue());
|
||||
assertEquals((short) -1, u.getValue(TUnsigned_U_SHORT()).shortValue());
|
||||
assertEquals(-1, u.getValue(TUnsigned_U_INT()).intValue());
|
||||
assertEquals(-1L, u.getValue(TUnsigned_U_LONG()).longValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testConversion() throws Exception {
|
||||
assertEquals(null, SQLDataType.TINYINT.convert(null));
|
||||
assertEquals(null, SQLDataType.TINYINTUNSIGNED.convert(null));
|
||||
assertEquals(null, SQLDataType.SMALLINT.convert(null));
|
||||
assertEquals(null, SQLDataType.SMALLINTUNSIGNED.convert(null));
|
||||
assertEquals(null, SQLDataType.INTEGER.convert(null));
|
||||
assertEquals(null, SQLDataType.INTEGERUNSIGNED.convert(null));
|
||||
assertEquals(null, SQLDataType.BIGINT.convert(null));
|
||||
assertEquals(null, SQLDataType.BIGINTUNSIGNED.convert(null));
|
||||
assertEquals(null, SQLDataType.REAL.convert(null));
|
||||
assertEquals(null, SQLDataType.DOUBLE.convert(null));
|
||||
assertEquals(null, SQLDataType.DECIMAL_INTEGER.convert(null));
|
||||
@ -1535,9 +1642,13 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals(null, SQLDataType.TIMESTAMP.convert(null));
|
||||
|
||||
assertEquals(Byte.valueOf("1"), SQLDataType.TINYINT.convert('1'));
|
||||
assertEquals(UByte.valueOf("1"), SQLDataType.TINYINTUNSIGNED.convert('1'));
|
||||
assertEquals(Short.valueOf("1"), SQLDataType.SMALLINT.convert('1'));
|
||||
assertEquals(UShort.valueOf("1"), SQLDataType.SMALLINTUNSIGNED.convert('1'));
|
||||
assertEquals(Integer.valueOf("1"), SQLDataType.INTEGER.convert('1'));
|
||||
assertEquals(UInteger.valueOf("1"), SQLDataType.INTEGERUNSIGNED.convert('1'));
|
||||
assertEquals(Long.valueOf("1"), SQLDataType.BIGINT.convert('1'));
|
||||
assertEquals(ULong.valueOf("1"), SQLDataType.BIGINTUNSIGNED.convert('1'));
|
||||
assertEquals(Float.valueOf("1"), SQLDataType.REAL.convert('1'));
|
||||
assertEquals(Double.valueOf("1"), SQLDataType.DOUBLE.convert('1'));
|
||||
assertEquals(new BigInteger("1"), SQLDataType.DECIMAL_INTEGER.convert('1'));
|
||||
@ -1546,9 +1657,13 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals("1", SQLDataType.VARCHAR.convert('1'));
|
||||
|
||||
assertEquals(Byte.valueOf("1"), SQLDataType.TINYINT.convert("1"));
|
||||
assertEquals(UByte.valueOf("1"), SQLDataType.TINYINTUNSIGNED.convert("1"));
|
||||
assertEquals(Short.valueOf("1"), SQLDataType.SMALLINT.convert("1"));
|
||||
assertEquals(UShort.valueOf("1"), SQLDataType.SMALLINTUNSIGNED.convert("1"));
|
||||
assertEquals(Integer.valueOf("1"), SQLDataType.INTEGER.convert("1"));
|
||||
assertEquals(UInteger.valueOf("1"), SQLDataType.INTEGERUNSIGNED.convert("1"));
|
||||
assertEquals(Long.valueOf("1"), SQLDataType.BIGINT.convert("1"));
|
||||
assertEquals(ULong.valueOf("1"), SQLDataType.BIGINTUNSIGNED.convert("1"));
|
||||
assertEquals(Float.valueOf("1"), SQLDataType.REAL.convert("1"));
|
||||
assertEquals(Double.valueOf("1"), SQLDataType.DOUBLE.convert("1"));
|
||||
assertEquals(new BigInteger("1"), SQLDataType.DECIMAL_INTEGER.convert("1"));
|
||||
@ -1557,9 +1672,13 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals("1", SQLDataType.VARCHAR.convert("1"));
|
||||
|
||||
assertEquals(Byte.valueOf("1"), SQLDataType.TINYINT.convert(" 1"));
|
||||
assertEquals(UByte.valueOf("1"), SQLDataType.TINYINTUNSIGNED.convert(" 1"));
|
||||
assertEquals(Short.valueOf("1"), SQLDataType.SMALLINT.convert(" 1"));
|
||||
assertEquals(UShort.valueOf("1"), SQLDataType.SMALLINTUNSIGNED.convert(" 1"));
|
||||
assertEquals(Integer.valueOf("1"), SQLDataType.INTEGER.convert(" 1"));
|
||||
assertEquals(UInteger.valueOf("1"), SQLDataType.INTEGERUNSIGNED.convert(" 1"));
|
||||
assertEquals(Long.valueOf("1"), SQLDataType.BIGINT.convert(" 1"));
|
||||
assertEquals(ULong.valueOf("1"), SQLDataType.BIGINTUNSIGNED.convert(" 1"));
|
||||
assertEquals(Float.valueOf("1"), SQLDataType.REAL.convert(" 1"));
|
||||
assertEquals(Double.valueOf("1"), SQLDataType.DOUBLE.convert(" 1"));
|
||||
assertEquals(new BigInteger("1"), SQLDataType.DECIMAL_INTEGER.convert(" 1"));
|
||||
@ -1568,9 +1687,13 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals(" 1", SQLDataType.VARCHAR.convert(" 1"));
|
||||
|
||||
assertEquals(Byte.valueOf("1"), SQLDataType.TINYINT.convert((byte) 1));
|
||||
assertEquals(UByte.valueOf("1"), SQLDataType.TINYINTUNSIGNED.convert((byte) 1));
|
||||
assertEquals(Short.valueOf("1"), SQLDataType.SMALLINT.convert((byte) 1));
|
||||
assertEquals(UShort.valueOf("1"), SQLDataType.SMALLINTUNSIGNED.convert((byte) 1));
|
||||
assertEquals(Integer.valueOf("1"), SQLDataType.INTEGER.convert((byte) 1));
|
||||
assertEquals(UInteger.valueOf("1"), SQLDataType.INTEGERUNSIGNED.convert((byte) 1));
|
||||
assertEquals(Long.valueOf("1"), SQLDataType.BIGINT.convert((byte) 1));
|
||||
assertEquals(ULong.valueOf("1"), SQLDataType.BIGINTUNSIGNED.convert((byte) 1));
|
||||
assertEquals(Float.valueOf("1"), SQLDataType.REAL.convert((byte) 1));
|
||||
assertEquals(Double.valueOf("1"), SQLDataType.DOUBLE.convert((byte) 1));
|
||||
assertEquals(new BigInteger("1"), SQLDataType.DECIMAL_INTEGER.convert((byte) 1));
|
||||
@ -1579,9 +1702,13 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals("1", SQLDataType.VARCHAR.convert((byte) 1));
|
||||
|
||||
assertEquals(Byte.valueOf("1"), SQLDataType.TINYINT.convert((short) 1));
|
||||
assertEquals(UByte.valueOf("1"), SQLDataType.TINYINTUNSIGNED.convert((short) 1));
|
||||
assertEquals(Short.valueOf("1"), SQLDataType.SMALLINT.convert((short) 1));
|
||||
assertEquals(UShort.valueOf("1"), SQLDataType.SMALLINTUNSIGNED.convert((short) 1));
|
||||
assertEquals(Integer.valueOf("1"), SQLDataType.INTEGER.convert((short) 1));
|
||||
assertEquals(UInteger.valueOf("1"), SQLDataType.INTEGERUNSIGNED.convert((short) 1));
|
||||
assertEquals(Long.valueOf("1"), SQLDataType.BIGINT.convert((short) 1));
|
||||
assertEquals(ULong.valueOf("1"), SQLDataType.BIGINTUNSIGNED.convert((short) 1));
|
||||
assertEquals(Float.valueOf("1"), SQLDataType.REAL.convert((short) 1));
|
||||
assertEquals(Double.valueOf("1"), SQLDataType.DOUBLE.convert((short) 1));
|
||||
assertEquals(new BigInteger("1"), SQLDataType.DECIMAL_INTEGER.convert((short) 1));
|
||||
@ -1590,9 +1717,13 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals("1", SQLDataType.VARCHAR.convert((short) 1));
|
||||
|
||||
assertEquals(Byte.valueOf("1"), SQLDataType.TINYINT.convert(1));
|
||||
assertEquals(UByte.valueOf("1"), SQLDataType.TINYINTUNSIGNED.convert(1));
|
||||
assertEquals(Short.valueOf("1"), SQLDataType.SMALLINT.convert(1));
|
||||
assertEquals(UShort.valueOf("1"), SQLDataType.SMALLINTUNSIGNED.convert(1));
|
||||
assertEquals(Integer.valueOf("1"), SQLDataType.INTEGER.convert(1));
|
||||
assertEquals(UInteger.valueOf("1"), SQLDataType.INTEGERUNSIGNED.convert(1));
|
||||
assertEquals(Long.valueOf("1"), SQLDataType.BIGINT.convert(1));
|
||||
assertEquals(ULong.valueOf("1"), SQLDataType.BIGINTUNSIGNED.convert(1));
|
||||
assertEquals(Float.valueOf("1"), SQLDataType.REAL.convert(1));
|
||||
assertEquals(Double.valueOf("1"), SQLDataType.DOUBLE.convert(1));
|
||||
assertEquals(new BigInteger("1"), SQLDataType.DECIMAL_INTEGER.convert(1));
|
||||
@ -1601,9 +1732,13 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals("1", SQLDataType.VARCHAR.convert(1));
|
||||
|
||||
assertEquals(Byte.valueOf("1"), SQLDataType.TINYINT.convert((long) 1));
|
||||
assertEquals(UByte.valueOf("1"), SQLDataType.TINYINTUNSIGNED.convert((long) 1));
|
||||
assertEquals(Short.valueOf("1"), SQLDataType.SMALLINT.convert((long) 1));
|
||||
assertEquals(UShort.valueOf("1"), SQLDataType.SMALLINTUNSIGNED.convert((long) 1));
|
||||
assertEquals(Integer.valueOf("1"), SQLDataType.INTEGER.convert((long) 1));
|
||||
assertEquals(UInteger.valueOf("1"), SQLDataType.INTEGERUNSIGNED.convert((long) 1));
|
||||
assertEquals(Long.valueOf("1"), SQLDataType.BIGINT.convert((long) 1));
|
||||
assertEquals(ULong.valueOf("1"), SQLDataType.BIGINTUNSIGNED.convert((long) 1));
|
||||
assertEquals(Float.valueOf("1"), SQLDataType.REAL.convert((long) 1));
|
||||
assertEquals(Double.valueOf("1"), SQLDataType.DOUBLE.convert((long) 1));
|
||||
assertEquals(new BigInteger("1"), SQLDataType.DECIMAL_INTEGER.convert((long) 1));
|
||||
@ -1612,9 +1747,13 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals("1", SQLDataType.VARCHAR.convert((long) 1));
|
||||
|
||||
assertEquals(Byte.valueOf("1"), SQLDataType.TINYINT.convert(1.1f));
|
||||
assertEquals(UByte.valueOf("1"), SQLDataType.TINYINTUNSIGNED.convert(1.1f));
|
||||
assertEquals(Short.valueOf("1"), SQLDataType.SMALLINT.convert(1.1f));
|
||||
assertEquals(UShort.valueOf("1"), SQLDataType.SMALLINTUNSIGNED.convert(1.1f));
|
||||
assertEquals(Integer.valueOf("1"), SQLDataType.INTEGER.convert(1.1f));
|
||||
assertEquals(UInteger.valueOf("1"), SQLDataType.INTEGERUNSIGNED.convert(1.1f));
|
||||
assertEquals(Long.valueOf("1"), SQLDataType.BIGINT.convert(1.1f));
|
||||
assertEquals(ULong.valueOf("1"), SQLDataType.BIGINTUNSIGNED.convert(1.1f));
|
||||
assertEquals(Float.valueOf("1.1"), SQLDataType.REAL.convert(1.1f));
|
||||
assertEquals(Double.valueOf("1.1"), SQLDataType.DOUBLE.convert(1.1f));
|
||||
assertEquals(new BigInteger("1"), SQLDataType.DECIMAL_INTEGER.convert(1.1f));
|
||||
@ -1623,9 +1762,13 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals("1.1", SQLDataType.VARCHAR.convert(1.1f));
|
||||
|
||||
assertEquals(Byte.valueOf("1"), SQLDataType.TINYINT.convert(1.1));
|
||||
assertEquals(UByte.valueOf("1"), SQLDataType.TINYINTUNSIGNED.convert(1.1));
|
||||
assertEquals(Short.valueOf("1"), SQLDataType.SMALLINT.convert(1.1));
|
||||
assertEquals(UShort.valueOf("1"), SQLDataType.SMALLINTUNSIGNED.convert(1.1));
|
||||
assertEquals(Integer.valueOf("1"), SQLDataType.INTEGER.convert(1.1));
|
||||
assertEquals(UInteger.valueOf("1"), SQLDataType.INTEGERUNSIGNED.convert(1.1));
|
||||
assertEquals(Long.valueOf("1"), SQLDataType.BIGINT.convert(1.1));
|
||||
assertEquals(ULong.valueOf("1"), SQLDataType.BIGINTUNSIGNED.convert(1.1));
|
||||
assertEquals(Float.valueOf("1.1"), SQLDataType.REAL.convert(1.1));
|
||||
assertEquals(Double.valueOf("1.1"), SQLDataType.DOUBLE.convert(1.1));
|
||||
assertEquals(new BigInteger("1"), SQLDataType.DECIMAL_INTEGER.convert(1.1));
|
||||
@ -1634,9 +1777,13 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals("1.1", SQLDataType.VARCHAR.convert(1.1));
|
||||
|
||||
assertEquals(Byte.valueOf("1"), SQLDataType.TINYINT.convert(new BigInteger("1")));
|
||||
assertEquals(UByte.valueOf("1"), SQLDataType.TINYINTUNSIGNED.convert(new BigInteger("1")));
|
||||
assertEquals(Short.valueOf("1"), SQLDataType.SMALLINT.convert(new BigInteger("1")));
|
||||
assertEquals(UShort.valueOf("1"), SQLDataType.SMALLINTUNSIGNED.convert(new BigInteger("1")));
|
||||
assertEquals(Integer.valueOf("1"), SQLDataType.INTEGER.convert(new BigInteger("1")));
|
||||
assertEquals(UInteger.valueOf("1"), SQLDataType.INTEGERUNSIGNED.convert(new BigInteger("1")));
|
||||
assertEquals(Long.valueOf("1"), SQLDataType.BIGINT.convert(new BigInteger("1")));
|
||||
assertEquals(ULong.valueOf("1"), SQLDataType.BIGINTUNSIGNED.convert(new BigInteger("1")));
|
||||
assertEquals(Float.valueOf("1"), SQLDataType.REAL.convert(new BigInteger("1")));
|
||||
assertEquals(Double.valueOf("1"), SQLDataType.DOUBLE.convert(new BigInteger("1")));
|
||||
assertEquals(new BigInteger("1"), SQLDataType.DECIMAL_INTEGER.convert(new BigInteger("1")));
|
||||
@ -1645,9 +1792,13 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals("1", SQLDataType.VARCHAR.convert(new BigInteger("1")));
|
||||
|
||||
assertEquals(Byte.valueOf("1"), SQLDataType.TINYINT.convert(new BigDecimal("1.1")));
|
||||
assertEquals(UByte.valueOf("1"), SQLDataType.TINYINTUNSIGNED.convert(new BigDecimal("1.1")));
|
||||
assertEquals(Short.valueOf("1"), SQLDataType.SMALLINT.convert(new BigDecimal("1.1")));
|
||||
assertEquals(UShort.valueOf("1"), SQLDataType.SMALLINTUNSIGNED.convert(new BigDecimal("1.1")));
|
||||
assertEquals(Integer.valueOf("1"), SQLDataType.INTEGER.convert(new BigDecimal("1.1")));
|
||||
assertEquals(UInteger.valueOf("1"), SQLDataType.INTEGERUNSIGNED.convert(new BigDecimal("1.1")));
|
||||
assertEquals(Long.valueOf("1"), SQLDataType.BIGINT.convert(new BigDecimal("1.1")));
|
||||
assertEquals(ULong.valueOf("1"), SQLDataType.BIGINTUNSIGNED.convert(new BigDecimal("1.1")));
|
||||
assertEquals(Float.valueOf("1.1"), SQLDataType.REAL.convert(new BigDecimal("1.1")));
|
||||
assertEquals(Double.valueOf("1.1"), SQLDataType.DOUBLE.convert(new BigDecimal("1.1")));
|
||||
assertEquals(new BigInteger("1"), SQLDataType.DECIMAL_INTEGER.convert(new BigDecimal("1.1")));
|
||||
@ -1707,6 +1858,7 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals(calendar, author2.getValue(TAuthor_DATE_OF_BIRTH(), Calendar.class));
|
||||
assertEquals(Long.valueOf(1), author2.getValue(TAuthor_DATE_OF_BIRTH(), Long.class));
|
||||
assertEquals(Long.valueOf(1), author2.getValue(TAuthor_DATE_OF_BIRTH(), long.class));
|
||||
assertEquals(ULong.valueOf(1), author2.getValue(TAuthor_DATE_OF_BIRTH(), ULong.class));
|
||||
|
||||
// [#933] Character conversion checks
|
||||
// ----------------------------------
|
||||
@ -1759,6 +1911,18 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals(
|
||||
Arrays.asList(1L, 2L),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetch(0, Long.class));
|
||||
assertEquals(
|
||||
Arrays.asList(ubyte((byte) 1), ubyte((byte) 2)),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetch(0, UByte.class));
|
||||
assertEquals(
|
||||
Arrays.asList(ushort((short) 1), ushort((short) 2)),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetch(0, UShort.class));
|
||||
assertEquals(
|
||||
Arrays.asList(uint(1), uint(2)),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetch(0, UInteger.class));
|
||||
assertEquals(
|
||||
Arrays.asList(ulong(1L), ulong(2L)),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetch(0, ULong.class));
|
||||
assertEquals(
|
||||
Arrays.asList(1.0f, 2.0f),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetch(0, Float.class));
|
||||
@ -1785,6 +1949,18 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals(
|
||||
Arrays.asList(1L, 2L),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetch(TAuthor_ID().getName(), Long.class));
|
||||
assertEquals(
|
||||
Arrays.asList(ubyte((byte) 1), ubyte((byte) 2)),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetch(TAuthor_ID().getName(), UByte.class));
|
||||
assertEquals(
|
||||
Arrays.asList(ushort((short) 1), ushort((short) 2)),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetch(TAuthor_ID().getName(), UShort.class));
|
||||
assertEquals(
|
||||
Arrays.asList(uint(1), uint(2)),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetch(TAuthor_ID().getName(), UInteger.class));
|
||||
assertEquals(
|
||||
Arrays.asList(ulong(1L), ulong(2L)),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetch(TAuthor_ID().getName(), ULong.class));
|
||||
assertEquals(
|
||||
Arrays.asList(1.0f, 2.0f),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetch(TAuthor_ID().getName(), Float.class));
|
||||
@ -1813,6 +1989,18 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals(
|
||||
Arrays.asList(1L, 2L),
|
||||
Arrays.asList(create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetchArray(0, Long.class)));
|
||||
assertEquals(
|
||||
Arrays.asList(ubyte((byte) 1), ubyte((byte) 2)),
|
||||
Arrays.asList(create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetchArray(0, UByte.class)));
|
||||
assertEquals(
|
||||
Arrays.asList(ushort((short) 1), ushort((short) 2)),
|
||||
Arrays.asList(create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetchArray(0, UShort.class)));
|
||||
assertEquals(
|
||||
Arrays.asList(uint(1), uint(2)),
|
||||
Arrays.asList(create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetchArray(0, UInteger.class)));
|
||||
assertEquals(
|
||||
Arrays.asList(ulong(1L), ulong(2L)),
|
||||
Arrays.asList(create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetchArray(0, ULong.class)));
|
||||
assertEquals(
|
||||
Arrays.asList(1.0f, 2.0f),
|
||||
Arrays.asList(create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetchArray(0, Float.class)));
|
||||
@ -1839,6 +2027,18 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals(
|
||||
Arrays.asList(1L, 2L),
|
||||
Arrays.asList(create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetchArray(TAuthor_ID().getName(), Long.class)));
|
||||
assertEquals(
|
||||
Arrays.asList(ubyte((byte) 1), ubyte((byte) 2)),
|
||||
Arrays.asList(create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetchArray(TAuthor_ID().getName(), UByte.class)));
|
||||
assertEquals(
|
||||
Arrays.asList(ushort((short) 1), ushort((short) 2)),
|
||||
Arrays.asList(create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetchArray(TAuthor_ID().getName(), UShort.class)));
|
||||
assertEquals(
|
||||
Arrays.asList(uint(1), uint(2)),
|
||||
Arrays.asList(create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetchArray(TAuthor_ID().getName(), UInteger.class)));
|
||||
assertEquals(
|
||||
Arrays.asList(ulong(1L), ulong(2L)),
|
||||
Arrays.asList(create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetchArray(TAuthor_ID().getName(), ULong.class)));
|
||||
assertEquals(
|
||||
Arrays.asList(1.0f, 2.0f),
|
||||
Arrays.asList(create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).fetchArray(TAuthor_ID().getName(), Float.class)));
|
||||
@ -1867,6 +2067,18 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals(
|
||||
1L,
|
||||
(long) create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).limit(1).fetchOne(0, Long.class));
|
||||
assertEquals(
|
||||
ubyte((byte) 1),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).limit(1).fetchOne(0, UByte.class));
|
||||
assertEquals(
|
||||
ushort((short) 1),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).limit(1).fetchOne(0, UShort.class));
|
||||
assertEquals(
|
||||
uint(1),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).limit(1).fetchOne(0, UInteger.class));
|
||||
assertEquals(
|
||||
ulong(1L),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).limit(1).fetchOne(0, ULong.class));
|
||||
assertEquals(
|
||||
1.0f,
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).limit(1).fetchOne(0, Float.class));
|
||||
@ -1893,6 +2105,18 @@ public abstract class jOOQAbstractTest<
|
||||
assertEquals(
|
||||
1L,
|
||||
(long) create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).limit(1).fetchOne(TAuthor_ID().getName(), Long.class));
|
||||
assertEquals(
|
||||
ubyte((byte) 1),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).limit(1).fetchOne(TAuthor_ID().getName(), UByte.class));
|
||||
assertEquals(
|
||||
ushort((short) 1),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).limit(1).fetchOne(TAuthor_ID().getName(), UShort.class));
|
||||
assertEquals(
|
||||
uint(1),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).limit(1).fetchOne(TAuthor_ID().getName(), UInteger.class));
|
||||
assertEquals(
|
||||
ulong(1L),
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).limit(1).fetchOne(TAuthor_ID().getName(), ULong.class));
|
||||
assertEquals(
|
||||
1.0f,
|
||||
create().selectFrom(TAuthor()).orderBy(TAuthor_ID()).limit(1).fetchOne(TAuthor_ID().getName(), Float.class));
|
||||
|
||||
@ -78,6 +78,11 @@ import org.jooq.test.db2.generatedclasses.tables.records.VLibraryRecord;
|
||||
import org.jooq.test.db2.generatedclasses.tables.records.XUnusedRecord;
|
||||
import org.jooq.util.db2.DB2DataType;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
|
||||
/**
|
||||
* Integration test that creates tables and performs various sql operations.
|
||||
@ -92,6 +97,7 @@ public class jOOQDB2Test extends jOOQAbstractTest<
|
||||
XUnusedRecord,
|
||||
XUnusedRecord,
|
||||
TTriggersRecord,
|
||||
XUnusedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -282,6 +288,31 @@ public class jOOQDB2Test extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TUnsigned() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TArrays() {
|
||||
return null;
|
||||
|
||||
@ -77,6 +77,11 @@ import org.jooq.test.derby.generatedclasses.tables.records.VLibraryRecord;
|
||||
import org.jooq.test.derby.generatedclasses.tables.records.XUnusedRecord;
|
||||
import org.jooq.util.derby.DerbyDataType;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
/**
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@ -88,6 +93,7 @@ public class jOOQDerbyTest extends jOOQAbstractTest<
|
||||
XUnusedRecord,
|
||||
XUnusedRecord,
|
||||
TTriggersRecord,
|
||||
XUnusedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -273,6 +279,31 @@ public class jOOQDerbyTest extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TUnsigned() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TArrays() {
|
||||
return null;
|
||||
|
||||
@ -80,6 +80,11 @@ import org.jooq.test.h2.generatedclasses.tables.records.VLibraryRecord;
|
||||
import org.jooq.test.h2.generatedclasses.tables.records.XUnusedRecord;
|
||||
import org.jooq.util.h2.H2DataType;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
/**
|
||||
* Integration test for the H2 database
|
||||
*
|
||||
@ -93,6 +98,7 @@ public class jOOQH2Test extends jOOQAbstractTest<
|
||||
TArraysRecord,
|
||||
XUnusedRecord,
|
||||
TTriggersRecord,
|
||||
XUnusedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -278,6 +284,31 @@ public class jOOQH2Test extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TUnsigned() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<TArraysRecord> TArrays() {
|
||||
return TArrays.T_ARRAYS;
|
||||
|
||||
@ -80,6 +80,11 @@ import org.jooq.test.hsqldb.generatedclasses.tables.records.VLibraryRecord;
|
||||
import org.jooq.test.hsqldb.generatedclasses.tables.records.XUnusedRecord;
|
||||
import org.jooq.util.hsqldb.HSQLDBDataType;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
/**
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@ -91,6 +96,7 @@ public class jOOQHSQLDBTest extends jOOQAbstractTest<
|
||||
TArraysRecord,
|
||||
XUnusedRecord,
|
||||
TTriggersRecord,
|
||||
XUnusedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -276,6 +282,31 @@ public class jOOQHSQLDBTest extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TUnsigned() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<TArraysRecord> TArrays() {
|
||||
return T_ARRAYS;
|
||||
|
||||
@ -64,6 +64,7 @@ import org.jooq.TableField;
|
||||
import org.jooq.UDTRecord;
|
||||
import org.jooq.UpdatableTable;
|
||||
import org.jooq.impl.Factory;
|
||||
import org.jooq.test.ase.generatedclasses.tables.records.XUnusedRecord;
|
||||
import org.jooq.test.hsqldb.generatedclasses.Public;
|
||||
import org.jooq.test.hsqldb.generatedclasses.PublicFactory;
|
||||
import org.jooq.test.oracle.generatedclasses.Routines;
|
||||
@ -80,6 +81,11 @@ import org.jooq.test.oracle.generatedclasses.tables.records.T_725LobTestRecord;
|
||||
import org.jooq.test.oracle.generatedclasses.tables.records.T_785Record;
|
||||
import org.jooq.test.oracle.generatedclasses.tables.records.VLibraryRecord;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
/**
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@ -91,6 +97,7 @@ public class jOOQHSQLDBTest2 extends jOOQAbstractTest<
|
||||
TArraysRecord,
|
||||
TDirectoryRecord,
|
||||
TTriggersRecord,
|
||||
XUnusedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -278,6 +285,31 @@ public class jOOQHSQLDBTest2 extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TUnsigned() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<TArraysRecord> TArrays() {
|
||||
return null;
|
||||
|
||||
@ -77,6 +77,11 @@ import org.jooq.test.ingres.generatedclasses.tables.records.VLibraryRecord;
|
||||
import org.jooq.test.ingres.generatedclasses.tables.records.XUnusedRecord;
|
||||
import org.jooq.util.ingres.IngresDataType;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
|
||||
/**
|
||||
* @author Lukas Eder
|
||||
@ -89,6 +94,7 @@ public class jOOQIngresTest extends jOOQAbstractTest<
|
||||
XUnusedRecord,
|
||||
XUnusedRecord,
|
||||
TTriggersRecord,
|
||||
XUnusedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -274,6 +280,31 @@ public class jOOQIngresTest extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TUnsigned() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TArrays() {
|
||||
return null;
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
package org.jooq.test;
|
||||
|
||||
import static org.jooq.impl.Factory.val;
|
||||
import static org.jooq.test.mysql.generatedclasses.Tables.T_UNSIGNED;
|
||||
import static org.jooq.test.mysql.generatedclasses.Tables.V_AUTHOR;
|
||||
import static org.jooq.test.mysql.generatedclasses.Tables.V_BOOK;
|
||||
import static org.jooq.util.mysql.MySQLFactory.aesDecrypt;
|
||||
@ -75,6 +76,7 @@ import org.jooq.test.mysql.generatedclasses.tables.TAuthor;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.TBook;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.TBookStore;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.TTriggers;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.TUnsigned;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.T_639NumbersTable;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.T_658Ref;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.T_725LobTest;
|
||||
@ -84,6 +86,7 @@ import org.jooq.test.mysql.generatedclasses.tables.records.TAuthorRecord;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.records.TBookRecord;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.records.TBookStoreRecord;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.records.TTriggersRecord;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.records.TUnsignedRecord;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.records.T_639NumbersTableRecord;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.records.T_658RefRecord;
|
||||
import org.jooq.test.mysql.generatedclasses.tables.records.T_725LobTestRecord;
|
||||
@ -93,6 +96,10 @@ import org.jooq.test.mysql.generatedclasses.tables.records.XUnusedRecord;
|
||||
import org.jooq.util.mysql.MySQLDataType;
|
||||
import org.jooq.util.mysql.MySQLFactory;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
import org.junit.Test;
|
||||
|
||||
|
||||
@ -107,6 +114,7 @@ public class jOOQMySQLTest extends jOOQAbstractTest<
|
||||
XUnusedRecord,
|
||||
XUnusedRecord,
|
||||
TTriggersRecord,
|
||||
TUnsignedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -292,6 +300,31 @@ public class jOOQMySQLTest extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<TUnsignedRecord> TUnsigned() {
|
||||
return T_UNSIGNED;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<TUnsignedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return TUnsigned.U_BYTE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<TUnsignedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return TUnsigned.U_SHORT;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<TUnsignedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return TUnsigned.U_INT;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<TUnsignedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return TUnsigned.U_LONG;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TArrays() {
|
||||
return null;
|
||||
|
||||
@ -80,6 +80,7 @@ import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UDTRecord;
|
||||
import org.jooq.UpdatableTable;
|
||||
import org.jooq.test.ase.generatedclasses.tables.records.XUnusedRecord;
|
||||
import org.jooq.test.oracle.generatedclasses.Routines;
|
||||
import org.jooq.test.oracle.generatedclasses.Sequences;
|
||||
import org.jooq.test.oracle.generatedclasses.TestFactory;
|
||||
@ -114,6 +115,10 @@ import org.jooq.test.oracle.generatedclasses.udt.u_author_type.GetBooks;
|
||||
import org.jooq.util.oracle.OracleDataType;
|
||||
import org.jooq.util.oracle.OracleFactory;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
import org.junit.Test;
|
||||
|
||||
|
||||
@ -128,6 +133,7 @@ public class jOOQOracleTest extends jOOQAbstractTest<
|
||||
TArraysRecord,
|
||||
TDirectoryRecord,
|
||||
TTriggersRecord,
|
||||
XUnusedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -259,6 +265,31 @@ public class jOOQOracleTest extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TUnsigned() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<T_658RefRecord> T658() {
|
||||
return T_658_REF;
|
||||
|
||||
@ -82,6 +82,11 @@ import org.jooq.test.postgres.generatedclasses.udt.UAddressType;
|
||||
import org.jooq.test.postgres.generatedclasses.udt.UStreetType;
|
||||
import org.jooq.util.postgres.PostgresDataType;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
|
||||
/**
|
||||
* @author Lukas Eder
|
||||
@ -94,6 +99,7 @@ public class jOOQPostgresTest extends jOOQAbstractTest<
|
||||
TArraysRecord,
|
||||
XUnusedRecord,
|
||||
TTriggersRecord,
|
||||
XUnusedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -204,6 +210,31 @@ public class jOOQPostgresTest extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TUnsigned() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<T_658RefRecord> T658() {
|
||||
return T_658_REF;
|
||||
|
||||
@ -77,6 +77,11 @@ import org.jooq.test.sqlserver.generatedclasses.tables.records.VLibraryRecord;
|
||||
import org.jooq.test.sqlserver.generatedclasses.tables.records.XUnusedRecord;
|
||||
import org.jooq.util.sqlserver.SQLServerDataType;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
/**
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@ -88,6 +93,7 @@ public class jOOQSQLServerTest extends jOOQAbstractTest<
|
||||
XUnusedRecord,
|
||||
XUnusedRecord,
|
||||
TTriggersRecord,
|
||||
XUnusedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -273,6 +279,31 @@ public class jOOQSQLServerTest extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TUnsigned() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TArrays() {
|
||||
return null;
|
||||
|
||||
@ -76,6 +76,11 @@ import org.jooq.test.sqlite.generatedclasses.tables.records.XUnusedRecord;
|
||||
import org.jooq.util.sqlite.SQLiteDataType;
|
||||
import org.jooq.util.sqlite.SQLiteFactory;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
/**
|
||||
* Integration test for the SQLite database
|
||||
*
|
||||
@ -89,6 +94,7 @@ public class jOOQSQLiteTest extends jOOQAbstractTest<
|
||||
XUnusedRecord,
|
||||
XUnusedRecord,
|
||||
TTriggersRecord,
|
||||
XUnusedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -274,6 +280,31 @@ public class jOOQSQLiteTest extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TUnsigned() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TArrays() {
|
||||
return null;
|
||||
|
||||
@ -73,6 +73,11 @@ import org.jooq.test.sybase.generatedclasses.tables.records.VLibraryRecord;
|
||||
import org.jooq.test.sybase.generatedclasses.tables.records.XUnusedRecord;
|
||||
import org.jooq.util.sybase.SybaseDataType;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
|
||||
/**
|
||||
* Integration test that creates tables and performs various sql operations.
|
||||
@ -87,6 +92,7 @@ public class jOOQSybaseTest extends jOOQAbstractTest<
|
||||
XUnusedRecord,
|
||||
XUnusedRecord,
|
||||
TTriggersRecord,
|
||||
XUnusedRecord,
|
||||
T_658RefRecord,
|
||||
T_725LobTestRecord,
|
||||
T_639NumbersTableRecord,
|
||||
@ -203,6 +209,31 @@ public class jOOQSybaseTest extends jOOQAbstractTest<
|
||||
return T_785.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<XUnusedRecord> TUnsigned() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UByte> TUnsigned_U_BYTE() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UShort> TUnsigned_U_SHORT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, UInteger> TUnsigned_U_INT() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TableField<XUnusedRecord, ULong> TUnsigned_U_LONG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Table<T_639NumbersTableRecord> T639() {
|
||||
return T_639_NUMBERS_TABLE;
|
||||
|
||||
@ -25,6 +25,7 @@ DROP TABLE IF EXISTS t_658_22/
|
||||
DROP TABLE IF EXISTS t_658_32/
|
||||
DROP TABLE IF EXISTS t_725_lob_test/
|
||||
DROP TABLE IF EXISTS t_785/
|
||||
DROP TABLE IF EXISTS t_unsigned/
|
||||
|
||||
DROP PROCEDURE IF EXISTS p_unused/
|
||||
DROP PROCEDURE IF EXISTS p_author_exists/
|
||||
@ -36,6 +37,14 @@ DROP FUNCTION IF EXISTS f_one/
|
||||
DROP FUNCTION IF EXISTS f_number/
|
||||
DROP FUNCTION IF EXISTS f317/
|
||||
|
||||
CREATE TABLE t_unsigned (
|
||||
u_byte tinyint unsigned,
|
||||
u_short smallint unsigned,
|
||||
u_int int unsigned,
|
||||
u_long bigint unsigned
|
||||
) ENGINE = InnoDB
|
||||
/
|
||||
|
||||
CREATE TABLE t_triggers (
|
||||
id_generated int not null AUTO_INCREMENT,
|
||||
id int,
|
||||
|
||||
@ -57,6 +57,11 @@ public final class Tables {
|
||||
*/
|
||||
public static org.jooq.test.mysql.generatedclasses.tables.TTriggers T_TRIGGERS = org.jooq.test.mysql.generatedclasses.tables.TTriggers.T_TRIGGERS;
|
||||
|
||||
/**
|
||||
* The table test.t_unsigned
|
||||
*/
|
||||
public static org.jooq.test.mysql.generatedclasses.tables.TUnsigned T_UNSIGNED = org.jooq.test.mysql.generatedclasses.tables.TUnsigned.T_UNSIGNED;
|
||||
|
||||
/**
|
||||
* The table test.v_author
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@ package org.jooq.test.mysql.generatedclasses;
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Test extends org.jooq.impl.SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1253072355;
|
||||
private static final long serialVersionUID = 1604321656;
|
||||
|
||||
/**
|
||||
* The singleton instance of test
|
||||
@ -36,6 +36,7 @@ public class Test extends org.jooq.impl.SchemaImpl {
|
||||
org.jooq.test.mysql.generatedclasses.tables.TBookStore.T_BOOK_STORE,
|
||||
org.jooq.test.mysql.generatedclasses.tables.TBookToBookStore.T_BOOK_TO_BOOK_STORE,
|
||||
org.jooq.test.mysql.generatedclasses.tables.TTriggers.T_TRIGGERS,
|
||||
org.jooq.test.mysql.generatedclasses.tables.TUnsigned.T_UNSIGNED,
|
||||
org.jooq.test.mysql.generatedclasses.tables.VAuthor.V_AUTHOR,
|
||||
org.jooq.test.mysql.generatedclasses.tables.VBook.V_BOOK,
|
||||
org.jooq.test.mysql.generatedclasses.tables.VLibrary.V_LIBRARY,
|
||||
|
||||
@ -0,0 +1,59 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.mysql.generatedclasses.tables;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TUnsigned extends org.jooq.impl.TableImpl<org.jooq.test.mysql.generatedclasses.tables.records.TUnsignedRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1984321646;
|
||||
|
||||
/**
|
||||
* The singleton instance of t_unsigned
|
||||
*/
|
||||
public static final org.jooq.test.mysql.generatedclasses.tables.TUnsigned T_UNSIGNED = new org.jooq.test.mysql.generatedclasses.tables.TUnsigned();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
private static final java.lang.Class<org.jooq.test.mysql.generatedclasses.tables.records.TUnsignedRecord> __RECORD_TYPE = org.jooq.test.mysql.generatedclasses.tables.records.TUnsignedRecord.class;
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<org.jooq.test.mysql.generatedclasses.tables.records.TUnsignedRecord> getRecordType() {
|
||||
return __RECORD_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.mysql.generatedclasses.tables.records.TUnsignedRecord, org.joou.UByte> U_BYTE = createField("u_byte", org.jooq.impl.SQLDataType.TINYINTUNSIGNED, T_UNSIGNED);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.mysql.generatedclasses.tables.records.TUnsignedRecord, org.joou.UShort> U_SHORT = createField("u_short", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED, T_UNSIGNED);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.mysql.generatedclasses.tables.records.TUnsignedRecord, org.joou.UInteger> U_INT = createField("u_int", org.jooq.impl.SQLDataType.INTEGERUNSIGNED, T_UNSIGNED);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.TableField<org.jooq.test.mysql.generatedclasses.tables.records.TUnsignedRecord, org.joou.ULong> U_LONG = createField("u_long", org.jooq.impl.SQLDataType.BIGINTUNSIGNED, T_UNSIGNED);
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private TUnsigned() {
|
||||
super("t_unsigned", org.jooq.test.mysql.generatedclasses.Test.TEST);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,77 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.mysql.generatedclasses.tables.records;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class TUnsignedRecord extends org.jooq.impl.TableRecordImpl<org.jooq.test.mysql.generatedclasses.tables.records.TUnsignedRecord> {
|
||||
|
||||
private static final long serialVersionUID = -1989740547;
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setUByte(org.joou.UByte value) {
|
||||
setValue(org.jooq.test.mysql.generatedclasses.tables.TUnsigned.U_BYTE, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public org.joou.UByte getUByte() {
|
||||
return getValue(org.jooq.test.mysql.generatedclasses.tables.TUnsigned.U_BYTE);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setUShort(org.joou.UShort value) {
|
||||
setValue(org.jooq.test.mysql.generatedclasses.tables.TUnsigned.U_SHORT, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public org.joou.UShort getUShort() {
|
||||
return getValue(org.jooq.test.mysql.generatedclasses.tables.TUnsigned.U_SHORT);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setUInt(org.joou.UInteger value) {
|
||||
setValue(org.jooq.test.mysql.generatedclasses.tables.TUnsigned.U_INT, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public org.joou.UInteger getUInt() {
|
||||
return getValue(org.jooq.test.mysql.generatedclasses.tables.TUnsigned.U_INT);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public void setULong(org.joou.ULong value) {
|
||||
setValue(org.jooq.test.mysql.generatedclasses.tables.TUnsigned.U_LONG, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public org.joou.ULong getULong() {
|
||||
return getValue(org.jooq.test.mysql.generatedclasses.tables.TUnsigned.U_LONG);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached TUnsignedRecord
|
||||
*/
|
||||
public TUnsignedRecord() {
|
||||
super(org.jooq.test.mysql.generatedclasses.tables.TUnsigned.T_UNSIGNED);
|
||||
}
|
||||
}
|
||||
@ -44,5 +44,4 @@ INSERT INTO t_book_to_book_store VALUES
|
||||
('Orell Füssli', 3, 10),
|
||||
('Ex Libris', 1, 1),
|
||||
('Ex Libris', 3, 2),
|
||||
('Buchhandlung im Volkshaus', 3, 1)/
|
||||
|
||||
('Buchhandlung im Volkshaus', 3, 1)/
|
||||
@ -241,5 +241,12 @@
|
||||
<scope>provided</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>joou</artifactId>
|
||||
<version>0.9.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@ -59,6 +59,8 @@ import org.jooq.SQLDialect;
|
||||
import org.jooq.exception.SQLDialectNotSupportedException;
|
||||
import org.jooq.tools.JooqLogger;
|
||||
|
||||
import org.joou.UNumber;
|
||||
|
||||
/**
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@ -276,6 +278,9 @@ class DefaultBindContext extends AbstractContext<BindContext> implements BindCon
|
||||
else if (type == Timestamp.class) {
|
||||
stmt.setTimestamp(nextIndex(), (Timestamp) value);
|
||||
}
|
||||
else if (UNumber.class.isAssignableFrom(type)) {
|
||||
stmt.setString(nextIndex(), value.toString());
|
||||
}
|
||||
|
||||
// The type byte[] is handled earlier. byte[][] can be handled here
|
||||
else if (type.isArray()) {
|
||||
|
||||
@ -87,6 +87,12 @@ import org.jooq.util.sqlite.SQLiteDataType;
|
||||
import org.jooq.util.sqlserver.SQLServerDataType;
|
||||
import org.jooq.util.sybase.SybaseDataType;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UNumber;
|
||||
import org.joou.UShort;
|
||||
|
||||
/**
|
||||
* Utility methods related to the treatment of fields and their types
|
||||
* <p>
|
||||
@ -181,6 +187,9 @@ public final class FieldTypeHelper {
|
||||
context.sql("ARRAY")
|
||||
.sql(Arrays.asList((Object[]) value).toString());
|
||||
}
|
||||
else if (UNumber.class.isAssignableFrom(type)) {
|
||||
context.sql(value.toString());
|
||||
}
|
||||
else if (ArrayRecord.class.isAssignableFrom(type)) {
|
||||
context.sql(value.toString());
|
||||
}
|
||||
@ -277,6 +286,22 @@ public final class FieldTypeHelper {
|
||||
else if (type == Timestamp.class) {
|
||||
return (T) stream.readTimestamp();
|
||||
}
|
||||
else if (type == UByte.class) {
|
||||
String string = stream.readString();
|
||||
return (T) (string == null ? null : new UByte(string));
|
||||
}
|
||||
else if (type == UShort.class) {
|
||||
String string = stream.readString();
|
||||
return (T) (string == null ? null : new UShort(string));
|
||||
}
|
||||
else if (type == UInteger.class) {
|
||||
String string = stream.readString();
|
||||
return (T) (string == null ? null : new UInteger(string));
|
||||
}
|
||||
else if (type == ULong.class) {
|
||||
String string = stream.readString();
|
||||
return (T) (string == null ? null : new ULong(string));
|
||||
}
|
||||
|
||||
// The type byte[] is handled earlier. byte[][] can be handled here
|
||||
else if (type.isArray()) {
|
||||
@ -361,6 +386,9 @@ public final class FieldTypeHelper {
|
||||
// else if (type.isArray()) {
|
||||
// stream.writeArray(value);
|
||||
// }
|
||||
else if (UNumber.class.isAssignableFrom(type)) {
|
||||
stream.writeString(value.toString());
|
||||
}
|
||||
else if (ArrayRecord.class.isAssignableFrom(type)) {
|
||||
stream.writeArray(((ArrayRecord<?>) value).createArray());
|
||||
}
|
||||
@ -451,6 +479,22 @@ public final class FieldTypeHelper {
|
||||
else if (type == Timestamp.class) {
|
||||
return (T) getTimestamp(configuration.getDialect(), rs, index);
|
||||
}
|
||||
else if (type == UByte.class) {
|
||||
String string = rs.getString(index);
|
||||
return (T) (string == null ? null : new UByte(string));
|
||||
}
|
||||
else if (type == UShort.class) {
|
||||
String string = rs.getString(index);
|
||||
return (T) (string == null ? null : new UShort(string));
|
||||
}
|
||||
else if (type == UInteger.class) {
|
||||
String string = rs.getString(index);
|
||||
return (T) (string == null ? null : new UInteger(string));
|
||||
}
|
||||
else if (type == ULong.class) {
|
||||
String string = rs.getString(index);
|
||||
return (T) (string == null ? null : new ULong(string));
|
||||
}
|
||||
|
||||
// The type byte[] is handled earlier. byte[][] can be handled here
|
||||
else if (type.isArray()) {
|
||||
@ -700,6 +744,22 @@ public final class FieldTypeHelper {
|
||||
else if (type == Timestamp.class) {
|
||||
return (T) stmt.getTimestamp(index);
|
||||
}
|
||||
else if (type == UByte.class) {
|
||||
String string = stmt.getString(index);
|
||||
return (T) (string == null ? null : new UByte(string));
|
||||
}
|
||||
else if (type == UShort.class) {
|
||||
String string = stmt.getString(index);
|
||||
return (T) (string == null ? null : new UShort(string));
|
||||
}
|
||||
else if (type == UInteger.class) {
|
||||
String string = stmt.getString(index);
|
||||
return (T) (string == null ? null : new UInteger(string));
|
||||
}
|
||||
else if (type == ULong.class) {
|
||||
String string = stmt.getString(index);
|
||||
return (T) (string == null ? null : new ULong(string));
|
||||
}
|
||||
|
||||
// The type byte[] is handled earlier. byte[][] can be handled here
|
||||
else if (type.isArray()) {
|
||||
@ -918,6 +978,18 @@ public final class FieldTypeHelper {
|
||||
SimpleDateFormat f = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
return (T) new Timestamp(pgParseDate(string, f).getTime());
|
||||
}
|
||||
else if (type == UByte.class) {
|
||||
return (T) new UByte(string);
|
||||
}
|
||||
else if (type == UShort.class) {
|
||||
return (T) new UShort(string);
|
||||
}
|
||||
else if (type == UInteger.class) {
|
||||
return (T) new UInteger(string);
|
||||
}
|
||||
else if (type == ULong.class) {
|
||||
return (T) new ULong(string);
|
||||
}
|
||||
else if (type.isArray()) {
|
||||
return (T) pgNewArray(type, string);
|
||||
}
|
||||
|
||||
@ -58,6 +58,11 @@ import org.jooq.util.sqlite.SQLiteDataType;
|
||||
import org.jooq.util.sqlserver.SQLServerDataType;
|
||||
import org.jooq.util.sybase.SybaseDataType;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@ -165,6 +170,30 @@ public final class SQLDataType<T> extends AbstractDataType<T> {
|
||||
*/
|
||||
public static final SQLDataType<BigInteger> DECIMAL_INTEGER = new SQLDataType<BigInteger>(BigInteger.class, "decimal_integer");
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Unsigned integer types
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* The unsigned {@link Types#TINYINT} type
|
||||
*/
|
||||
public static final SQLDataType<UByte> TINYINTUNSIGNED = new SQLDataType<UByte>(UByte.class, "tinyintunsigned");
|
||||
|
||||
/**
|
||||
* The unsigned {@link Types#SMALLINT} type
|
||||
*/
|
||||
public static final SQLDataType<UShort> SMALLINTUNSIGNED = new SQLDataType<UShort>(UShort.class, "smallintunsigned");
|
||||
|
||||
/**
|
||||
* The unsigned {@link Types#INTEGER} type
|
||||
*/
|
||||
public static final SQLDataType<UInteger> INTEGERUNSIGNED = new SQLDataType<UInteger>(UInteger.class, "integerunsigned");
|
||||
|
||||
/**
|
||||
* The unsigned {@link Types#BIGINT} type
|
||||
*/
|
||||
public static final SQLDataType<ULong> BIGINTUNSIGNED = new SQLDataType<ULong>(ULong.class, "bigintunsigned");
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Floating point types
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@ -35,6 +35,11 @@
|
||||
*/
|
||||
package org.jooq.impl;
|
||||
|
||||
import static org.joou.Unsigned.ubyte;
|
||||
import static org.joou.Unsigned.uint;
|
||||
import static org.joou.Unsigned.ulong;
|
||||
import static org.joou.Unsigned.ushort;
|
||||
|
||||
import java.lang.reflect.Array;
|
||||
import java.math.BigDecimal;
|
||||
import java.math.BigInteger;
|
||||
@ -50,6 +55,11 @@ import java.util.Set;
|
||||
|
||||
import org.jooq.exception.DataTypeException;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
/**
|
||||
* Utility methods for type conversions
|
||||
*
|
||||
@ -230,6 +240,27 @@ final class TypeUtils {
|
||||
return (T) Long.valueOf(new BigDecimal(from.toString().trim()).longValue());
|
||||
}
|
||||
}
|
||||
|
||||
// ... this also includes unsigned number types
|
||||
else if (toClass == UByte.class) {
|
||||
return (T) ubyte(new BigDecimal(from.toString().trim()).shortValue());
|
||||
}
|
||||
else if (toClass == UShort.class) {
|
||||
return (T) ushort(new BigDecimal(from.toString().trim()).intValue());
|
||||
}
|
||||
else if (toClass == UInteger.class) {
|
||||
return (T) uint(new BigDecimal(from.toString().trim()).longValue());
|
||||
}
|
||||
else if (toClass == ULong.class) {
|
||||
if (java.util.Date.class.isAssignableFrom(fromClass)) {
|
||||
return (T) ulong(((java.util.Date) from).getTime());
|
||||
}
|
||||
else {
|
||||
return (T) ulong(new BigDecimal(from.toString().trim()).toBigInteger().toString());
|
||||
}
|
||||
}
|
||||
|
||||
// ... and floating point / fixed point types
|
||||
else if (toClass == Float.class || toClass == float.class) {
|
||||
return (T) Float.valueOf(from.toString().trim());
|
||||
}
|
||||
|
||||
@ -47,6 +47,11 @@ import org.jooq.SQLDialect;
|
||||
import org.jooq.impl.AbstractDataType;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
|
||||
import org.joou.UByte;
|
||||
import org.joou.UInteger;
|
||||
import org.joou.ULong;
|
||||
import org.joou.UShort;
|
||||
|
||||
/**
|
||||
* Supported data types for the {@link SQLDialect#MYSQL} dialect
|
||||
*
|
||||
@ -66,11 +71,17 @@ public class MySQLDataType<T> extends AbstractDataType<T> {
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final MySQLDataType<Byte> TINYINT = new MySQLDataType<Byte>(SQLDataType.TINYINT, "tinyint", "signed");
|
||||
public static final MySQLDataType<UByte> TINYINTUNSIGNED = new MySQLDataType<UByte>(SQLDataType.TINYINTUNSIGNED, "tinyintunsigned", "unsigned");
|
||||
public static final MySQLDataType<Short> SMALLINT = new MySQLDataType<Short>(SQLDataType.SMALLINT, "smallint", "signed");
|
||||
public static final MySQLDataType<UShort> SMALLINTUNSIGNED = new MySQLDataType<UShort>(SQLDataType.SMALLINTUNSIGNED, "smallintunsigned", "unsigned");
|
||||
public static final MySQLDataType<Integer> INT = new MySQLDataType<Integer>(SQLDataType.INTEGER, "int", "signed");
|
||||
public static final MySQLDataType<UInteger> INTUNSIGNED = new MySQLDataType<UInteger>(SQLDataType.INTEGERUNSIGNED, "intunsigned", "unsigned");
|
||||
public static final MySQLDataType<Integer> MEDIUMINT = new MySQLDataType<Integer>(SQLDataType.INTEGER, "mediumint", "signed");
|
||||
public static final MySQLDataType<UInteger> MEDIUMINTUNSIGNED= new MySQLDataType<UInteger>(SQLDataType.INTEGERUNSIGNED, "mediumintunsigned", "unsigned");
|
||||
public static final MySQLDataType<Integer> INTEGER = new MySQLDataType<Integer>(SQLDataType.INTEGER, "integer", "signed");
|
||||
public static final MySQLDataType<UInteger> INTEGERUNSIGNED = new MySQLDataType<UInteger>(SQLDataType.INTEGERUNSIGNED, "integerunsigned", "unsigned");
|
||||
public static final MySQLDataType<Long> BIGINT = new MySQLDataType<Long>(SQLDataType.BIGINT, "bigint", "signed");
|
||||
public static final MySQLDataType<ULong> BIGINTUNSIGNED = new MySQLDataType<ULong>(SQLDataType.BIGINTUNSIGNED, "bigintunsigned", "unsigned");
|
||||
public static final MySQLDataType<Double> DOUBLE = new MySQLDataType<Double>(SQLDataType.DOUBLE, "double", "decimal");
|
||||
public static final MySQLDataType<Double> FLOAT = new MySQLDataType<Double>(SQLDataType.FLOAT, "float", "decimal");
|
||||
public static final MySQLDataType<Float> REAL = new MySQLDataType<Float>(SQLDataType.REAL, "real", "decimal");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user