From 8d030d68ddade0634f9259418c4a6731cf7677dc Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Sat, 3 Mar 2012 21:10:24 +0000 Subject: [PATCH] [#1211] Enforce method name disambiguation also when using custom strategies (regression of #182) [#1212] Enforce identifier disambiguation also when using custom strategies (regression) --- .../purchasing/tables/Productvendor.java | 143 -------------- .../tables/Purchaseorderdetail.java | 142 -------------- .../tables/Purchaseorderheader.java | 156 --------------- .../purchasing/tables/Shipmethod.java | 97 --------- .../purchasing/tables/Vendoraddress.java | 108 ---------- .../purchasing/tables/Vendorcontact.java | 108 ---------- .../purchasing/tables/Vvendor.java | 134 ------------- .../tables/pojos/Productvendor.java | 127 ------------ .../tables/pojos/Purchaseorderdetail.java | 127 ------------ .../tables/pojos/Purchaseorderheader.java | 146 -------------- .../purchasing/tables/pojos/Shipmethod.java | 76 ------- .../tables/pojos/Vendoraddress.java | 57 ------ .../tables/pojos/Vendorcontact.java | 57 ------ .../purchasing/tables/pojos/Vvendor.java | 185 ------------------ 14 files changed, 1663 deletions(-) delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Productvendor.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Purchaseorderdetail.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Purchaseorderheader.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Shipmethod.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Vendoraddress.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Vendorcontact.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Vvendor.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Productvendor.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Purchaseorderdetail.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Purchaseorderheader.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Shipmethod.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Vendoraddress.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Vendorcontact.java delete mode 100644 jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Vvendor.java diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Productvendor.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Productvendor.java deleted file mode 100644 index bc0ccda853..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Productvendor.java +++ /dev/null @@ -1,143 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables; - -/** - * This class is generated by jOOQ. - */ -public class ProductVendor extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = 832407977; - - /** - * The singleton instance of Purchasing.ProductVendor - */ - public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ProductVendor ProductVendor = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ProductVendor(); - - /** - * The class holding records for this type - */ - private static final java.lang.Class __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ProductVendor.class; - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return __RECORD_TYPE; - } - - /** - * An uncommented item - * - * PRIMARY KEY - *

- *

-	 * CONSTRAINT FK_ProductVendor_Product_ProductID
-	 * FOREIGN KEY (ProductID)
-	 * REFERENCES Production.Product (ProductID)
-	 * 
- */ - public final org.jooq.TableField ProductID = createField("ProductID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - * - * PRIMARY KEY - *

- *

-	 * CONSTRAINT FK_ProductVendor_Vendor_VendorID
-	 * FOREIGN KEY (VendorID)
-	 * REFERENCES Purchasing.Vendor (VendorID)
-	 * 
- */ - public final org.jooq.TableField VendorID = createField("VendorID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField AverageLeadTime = createField("AverageLeadTime", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField StandardPrice = createField("StandardPrice", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField LastReceiptCost = createField("LastReceiptCost", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField LastReceiptDate = createField("LastReceiptDate", org.jooq.impl.SQLDataType.TIMESTAMP, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField MinOrderQty = createField("MinOrderQty", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField MaxOrderQty = createField("MaxOrderQty", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField OnOrderQty = createField("OnOrderQty", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - *

- *

-	 * CONSTRAINT FK_ProductVendor_UnitMeasure_UnitMeasureCode
-	 * FOREIGN KEY (UnitMeasureCode)
-	 * REFERENCES Production.UnitMeasure (UnitMeasureCode)
-	 * 
- */ - public final org.jooq.TableField UnitMeasureCode = createField("UnitMeasureCode", org.jooq.impl.SQLDataType.NCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField ModifiedDate = createField("ModifiedDate", org.jooq.impl.SQLDataType.TIMESTAMP, this); - - /** - * No further instances allowed - */ - private ProductVendor() { - super("ProductVendor", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing); - } - - /** - * No further instances allowed - */ - private ProductVendor(java.lang.String alias) { - super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ProductVendor.ProductVendor); - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_ProductVendor_ProductID_VendorID; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_ProductVendor_ProductID_VendorID); - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getReferences() { - return java.util.Arrays.>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_ProductVendor_Product_ProductID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_ProductVendor_Vendor_VendorID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_ProductVendor_UnitMeasure_UnitMeasureCode); - } - - @Override - public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ProductVendor as(java.lang.String alias) { - return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ProductVendor(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Purchaseorderdetail.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Purchaseorderdetail.java deleted file mode 100644 index adcf5968f1..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Purchaseorderdetail.java +++ /dev/null @@ -1,142 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables; - -/** - * This class is generated by jOOQ. - */ -public class PurchaseOrderDetail extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = 1340178033; - - /** - * The singleton instance of Purchasing.PurchaseOrderDetail - */ - public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderDetail PurchaseOrderDetail = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderDetail(); - - /** - * The class holding records for this type - */ - private static final java.lang.Class __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderDetail.class; - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return __RECORD_TYPE; - } - - /** - * An uncommented item - * - * PRIMARY KEY - *

- *

-	 * CONSTRAINT FK_PurchaseOrderDetail_PurchaseOrderHeader_PurchaseOrderID
-	 * FOREIGN KEY (PurchaseOrderID)
-	 * REFERENCES Purchasing.PurchaseOrderHeader (PurchaseOrderID)
-	 * 
- */ - public final org.jooq.TableField PurchaseOrderID = createField("PurchaseOrderID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - * - * PRIMARY KEY - */ - public final org.jooq.TableField PurchaseOrderDetailID = createField("PurchaseOrderDetailID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField DueDate = createField("DueDate", org.jooq.impl.SQLDataType.TIMESTAMP, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField OrderQty = createField("OrderQty", org.jooq.impl.SQLDataType.SMALLINT, this); - - /** - * An uncommented item - *

- *

-	 * CONSTRAINT FK_PurchaseOrderDetail_Product_ProductID
-	 * FOREIGN KEY (ProductID)
-	 * REFERENCES Production.Product (ProductID)
-	 * 
- */ - public final org.jooq.TableField ProductID = createField("ProductID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField UnitPrice = createField("UnitPrice", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField LineTotal = createField("LineTotal", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField ReceivedQty = createField("ReceivedQty", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField RejectedQty = createField("RejectedQty", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField StockedQty = createField("StockedQty", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField ModifiedDate = createField("ModifiedDate", org.jooq.impl.SQLDataType.TIMESTAMP, this); - - /** - * No further instances allowed - */ - private PurchaseOrderDetail() { - super("PurchaseOrderDetail", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing); - } - - /** - * No further instances allowed - */ - private PurchaseOrderDetail(java.lang.String alias) { - super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderDetail.PurchaseOrderDetail); - } - - @Override - public org.jooq.Identity getIdentity() { - return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.IDENTITY_PurchaseOrderDetail; - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_PurchaseOrderDetail_PurchaseOrderID_PurchaseOrderDetailID; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_PurchaseOrderDetail_PurchaseOrderID_PurchaseOrderDetailID); - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getReferences() { - return java.util.Arrays.>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_PurchaseOrderDetail_PurchaseOrderHeader_PurchaseOrderID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_PurchaseOrderDetail_Product_ProductID); - } - - @Override - public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderDetail as(java.lang.String alias) { - return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderDetail(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Purchaseorderheader.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Purchaseorderheader.java deleted file mode 100644 index e9a73a706d..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Purchaseorderheader.java +++ /dev/null @@ -1,156 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables; - -/** - * This class is generated by jOOQ. - */ -public class PurchaseOrderHeader extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = -1265498502; - - /** - * The singleton instance of Purchasing.PurchaseOrderHeader - */ - public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderHeader PurchaseOrderHeader = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderHeader(); - - /** - * The class holding records for this type - */ - private static final java.lang.Class __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.PurchaseOrderHeader.class; - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return __RECORD_TYPE; - } - - /** - * An uncommented item - * - * PRIMARY KEY - */ - public final org.jooq.TableField PurchaseOrderID = createField("PurchaseOrderID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField RevisionNumber = createField("RevisionNumber", org.jooq.impl.SQLDataType.TINYINT, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField Status = createField("Status", org.jooq.impl.SQLDataType.TINYINT, this); - - /** - * An uncommented item - *

- *

-	 * CONSTRAINT FK_PurchaseOrderHeader_Employee_EmployeeID
-	 * FOREIGN KEY (EmployeeID)
-	 * REFERENCES HumanResources.Employee (EmployeeID)
-	 * 
- */ - public final org.jooq.TableField EmployeeID = createField("EmployeeID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - *

- *

-	 * CONSTRAINT FK_PurchaseOrderHeader_Vendor_VendorID
-	 * FOREIGN KEY (VendorID)
-	 * REFERENCES Purchasing.Vendor (VendorID)
-	 * 
- */ - public final org.jooq.TableField VendorID = createField("VendorID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - *

- *

-	 * CONSTRAINT FK_PurchaseOrderHeader_ShipMethod_ShipMethodID
-	 * FOREIGN KEY (ShipMethodID)
-	 * REFERENCES Purchasing.ShipMethod (ShipMethodID)
-	 * 
- */ - public final org.jooq.TableField ShipMethodID = createField("ShipMethodID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField OrderDate = createField("OrderDate", org.jooq.impl.SQLDataType.TIMESTAMP, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField ShipDate = createField("ShipDate", org.jooq.impl.SQLDataType.TIMESTAMP, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField SubTotal = createField("SubTotal", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField TaxAmt = createField("TaxAmt", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField Freight = createField("Freight", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField TotalDue = createField("TotalDue", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField ModifiedDate = createField("ModifiedDate", org.jooq.impl.SQLDataType.TIMESTAMP, this); - - /** - * No further instances allowed - */ - private PurchaseOrderHeader() { - super("PurchaseOrderHeader", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing); - } - - /** - * No further instances allowed - */ - private PurchaseOrderHeader(java.lang.String alias) { - super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderHeader.PurchaseOrderHeader); - } - - @Override - public org.jooq.Identity getIdentity() { - return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.IDENTITY_PurchaseOrderHeader; - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_PurchaseOrderHeader_PurchaseOrderID; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_PurchaseOrderHeader_PurchaseOrderID); - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getReferences() { - return java.util.Arrays.>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_PurchaseOrderHeader_Employee_EmployeeID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_PurchaseOrderHeader_Vendor_VendorID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_PurchaseOrderHeader_ShipMethod_ShipMethodID); - } - - @Override - public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderHeader as(java.lang.String alias) { - return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.PurchaseOrderHeader(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Shipmethod.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Shipmethod.java deleted file mode 100644 index 531851c2df..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Shipmethod.java +++ /dev/null @@ -1,97 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables; - -/** - * This class is generated by jOOQ. - */ -public class ShipMethod extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = -2044911349; - - /** - * The singleton instance of Purchasing.ShipMethod - */ - public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ShipMethod ShipMethod = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ShipMethod(); - - /** - * The class holding records for this type - */ - private static final java.lang.Class __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.ShipMethod.class; - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return __RECORD_TYPE; - } - - /** - * An uncommented item - * - * PRIMARY KEY - */ - public final org.jooq.TableField ShipMethodID = createField("ShipMethodID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField Name = createField("Name", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField ShipBase = createField("ShipBase", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField ShipRate = createField("ShipRate", org.jooq.impl.SQLDataType.NUMERIC, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField rowguid = createField("rowguid", org.jooq.impl.SQLDataType.VARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField ModifiedDate = createField("ModifiedDate", org.jooq.impl.SQLDataType.TIMESTAMP, this); - - /** - * No further instances allowed - */ - private ShipMethod() { - super("ShipMethod", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing); - } - - /** - * No further instances allowed - */ - private ShipMethod(java.lang.String alias) { - super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ShipMethod.ShipMethod); - } - - @Override - public org.jooq.Identity getIdentity() { - return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.IDENTITY_ShipMethod; - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_ShipMethod_ShipMethodID; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_ShipMethod_ShipMethodID); - } - - @Override - public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ShipMethod as(java.lang.String alias) { - return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.ShipMethod(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Vendoraddress.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Vendoraddress.java deleted file mode 100644 index 31cb94b7fc..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Vendoraddress.java +++ /dev/null @@ -1,108 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables; - -/** - * This class is generated by jOOQ. - */ -public class VendorAddress extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = 679100526; - - /** - * The singleton instance of Purchasing.VendorAddress - */ - public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorAddress VendorAddress = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorAddress(); - - /** - * The class holding records for this type - */ - private static final java.lang.Class __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorAddress.class; - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return __RECORD_TYPE; - } - - /** - * An uncommented item - * - * PRIMARY KEY - *

- *

-	 * CONSTRAINT FK_VendorAddress_Vendor_VendorID
-	 * FOREIGN KEY (VendorID)
-	 * REFERENCES Purchasing.Vendor (VendorID)
-	 * 
- */ - public final org.jooq.TableField VendorID = createField("VendorID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - * - * PRIMARY KEY - *

- *

-	 * CONSTRAINT FK_VendorAddress_Address_AddressID
-	 * FOREIGN KEY (AddressID)
-	 * REFERENCES Person.Address (AddressID)
-	 * 
- */ - public final org.jooq.TableField AddressID = createField("AddressID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - *

- *

-	 * CONSTRAINT FK_VendorAddress_AddressType_AddressTypeID
-	 * FOREIGN KEY (AddressTypeID)
-	 * REFERENCES Person.AddressType (AddressTypeID)
-	 * 
- */ - public final org.jooq.TableField AddressTypeID = createField("AddressTypeID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField ModifiedDate = createField("ModifiedDate", org.jooq.impl.SQLDataType.TIMESTAMP, this); - - /** - * No further instances allowed - */ - private VendorAddress() { - super("VendorAddress", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing); - } - - /** - * No further instances allowed - */ - private VendorAddress(java.lang.String alias) { - super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorAddress.VendorAddress); - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_VendorAddress_VendorID_AddressID; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_VendorAddress_VendorID_AddressID); - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getReferences() { - return java.util.Arrays.>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_VendorAddress_Vendor_VendorID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_VendorAddress_Address_AddressID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_VendorAddress_AddressType_AddressTypeID); - } - - @Override - public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorAddress as(java.lang.String alias) { - return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorAddress(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Vendorcontact.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Vendorcontact.java deleted file mode 100644 index 2f5f472580..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Vendorcontact.java +++ /dev/null @@ -1,108 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables; - -/** - * This class is generated by jOOQ. - */ -public class VendorContact extends org.jooq.impl.UpdatableTableImpl { - - private static final long serialVersionUID = -1308984518; - - /** - * The singleton instance of Purchasing.VendorContact - */ - public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorContact VendorContact = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorContact(); - - /** - * The class holding records for this type - */ - private static final java.lang.Class __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.VendorContact.class; - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return __RECORD_TYPE; - } - - /** - * An uncommented item - * - * PRIMARY KEY - *

- *

-	 * CONSTRAINT FK_VendorContact_Vendor_VendorID
-	 * FOREIGN KEY (VendorID)
-	 * REFERENCES Purchasing.Vendor (VendorID)
-	 * 
- */ - public final org.jooq.TableField VendorID = createField("VendorID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - * - * PRIMARY KEY - *

- *

-	 * CONSTRAINT FK_VendorContact_Contact_ContactID
-	 * FOREIGN KEY (ContactID)
-	 * REFERENCES Person.Contact (ContactID)
-	 * 
- */ - public final org.jooq.TableField ContactID = createField("ContactID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - *

- *

-	 * CONSTRAINT FK_VendorContact_ContactType_ContactTypeID
-	 * FOREIGN KEY (ContactTypeID)
-	 * REFERENCES Person.ContactType (ContactTypeID)
-	 * 
- */ - public final org.jooq.TableField ContactTypeID = createField("ContactTypeID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField ModifiedDate = createField("ModifiedDate", org.jooq.impl.SQLDataType.TIMESTAMP, this); - - /** - * No further instances allowed - */ - private VendorContact() { - super("VendorContact", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing); - } - - /** - * No further instances allowed - */ - private VendorContact(java.lang.String alias) { - super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorContact.VendorContact); - } - - @Override - public org.jooq.UniqueKey getMainKey() { - return org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_VendorContact_VendorID_ContactID; - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getKeys() { - return java.util.Arrays.>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.PK_VendorContact_VendorID_ContactID); - } - - @Override - @SuppressWarnings("unchecked") - public java.util.List> getReferences() { - return java.util.Arrays.>asList(org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_VendorContact_Vendor_VendorID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_VendorContact_Contact_ContactID, org.jooq.examples.sqlserver.adventureworks.purchasing.Keys.FK_VendorContact_ContactType_ContactTypeID); - } - - @Override - public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorContact as(java.lang.String alias) { - return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.VendorContact(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Vvendor.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Vvendor.java deleted file mode 100644 index 60f60d3f41..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/Vvendor.java +++ /dev/null @@ -1,134 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables; - -/** - * This class is generated by jOOQ. - */ -public class vVendor extends org.jooq.impl.TableImpl { - - private static final long serialVersionUID = -136906519; - - /** - * The singleton instance of Purchasing.vVendor - */ - public static final org.jooq.examples.sqlserver.adventureworks.purchasing.tables.vVendor vVendor = new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.vVendor(); - - /** - * The class holding records for this type - */ - private static final java.lang.Class __RECORD_TYPE = org.jooq.examples.sqlserver.adventureworks.purchasing.tables.records.vVendor.class; - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return __RECORD_TYPE; - } - - /** - * An uncommented item - */ - public final org.jooq.TableField VendorID = createField("VendorID", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField Name = createField("Name", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField ContactType = createField("ContactType", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField Title = createField("Title", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField FirstName = createField("FirstName", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField MiddleName = createField("MiddleName", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField LastName = createField("LastName", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField Suffix = createField("Suffix", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField Phone = createField("Phone", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField EmailAddress = createField("EmailAddress", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField EmailPromotion = createField("EmailPromotion", org.jooq.impl.SQLDataType.INTEGER, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField AddressLine1 = createField("AddressLine1", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField AddressLine2 = createField("AddressLine2", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField City = createField("City", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField StateProvinceName = createField("StateProvinceName", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField PostalCode = createField("PostalCode", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * An uncommented item - */ - public final org.jooq.TableField CountryRegionName = createField("CountryRegionName", org.jooq.impl.SQLDataType.NVARCHAR, this); - - /** - * No further instances allowed - */ - private vVendor() { - super("vVendor", org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing); - } - - /** - * No further instances allowed - */ - private vVendor(java.lang.String alias) { - super(alias, org.jooq.examples.sqlserver.adventureworks.purchasing.Purchasing.Purchasing, org.jooq.examples.sqlserver.adventureworks.purchasing.tables.vVendor.vVendor); - } - - @Override - public org.jooq.examples.sqlserver.adventureworks.purchasing.tables.vVendor as(java.lang.String alias) { - return new org.jooq.examples.sqlserver.adventureworks.purchasing.tables.vVendor(alias); - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Productvendor.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Productvendor.java deleted file mode 100644 index 60ccae79ea..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Productvendor.java +++ /dev/null @@ -1,127 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@javax.persistence.Entity -@javax.persistence.Table(name = "ProductVendor", schema = "Purchasing", uniqueConstraints = { - @javax.persistence.UniqueConstraint(columnNames = {"ProductID", "VendorID"}) -}) -public class ProductVendor implements java.io.Serializable { - - private static final long serialVersionUID = 408168499; - - private java.lang.Integer ProductID; - private java.lang.Integer VendorID; - private java.lang.Integer AverageLeadTime; - private java.math.BigDecimal StandardPrice; - private java.math.BigDecimal LastReceiptCost; - private java.sql.Timestamp LastReceiptDate; - private java.lang.Integer MinOrderQty; - private java.lang.Integer MaxOrderQty; - private java.lang.Integer OnOrderQty; - private java.lang.String UnitMeasureCode; - private java.sql.Timestamp ModifiedDate; - - @javax.persistence.Column(name = "ProductID", nullable = false) - public java.lang.Integer getProductID() { - return this.ProductID; - } - - public void setProductID(java.lang.Integer ProductID) { - this.ProductID = ProductID; - } - - @javax.persistence.Column(name = "VendorID", nullable = false) - public java.lang.Integer getVendorID() { - return this.VendorID; - } - - public void setVendorID(java.lang.Integer VendorID) { - this.VendorID = VendorID; - } - - @javax.persistence.Column(name = "AverageLeadTime", nullable = false) - public java.lang.Integer getAverageLeadTime() { - return this.AverageLeadTime; - } - - public void setAverageLeadTime(java.lang.Integer AverageLeadTime) { - this.AverageLeadTime = AverageLeadTime; - } - - @javax.persistence.Column(name = "StandardPrice", nullable = false) - public java.math.BigDecimal getStandardPrice() { - return this.StandardPrice; - } - - public void setStandardPrice(java.math.BigDecimal StandardPrice) { - this.StandardPrice = StandardPrice; - } - - @javax.persistence.Column(name = "LastReceiptCost") - public java.math.BigDecimal getLastReceiptCost() { - return this.LastReceiptCost; - } - - public void setLastReceiptCost(java.math.BigDecimal LastReceiptCost) { - this.LastReceiptCost = LastReceiptCost; - } - - @javax.persistence.Column(name = "LastReceiptDate") - public java.sql.Timestamp getLastReceiptDate() { - return this.LastReceiptDate; - } - - public void setLastReceiptDate(java.sql.Timestamp LastReceiptDate) { - this.LastReceiptDate = LastReceiptDate; - } - - @javax.persistence.Column(name = "MinOrderQty", nullable = false) - public java.lang.Integer getMinOrderQty() { - return this.MinOrderQty; - } - - public void setMinOrderQty(java.lang.Integer MinOrderQty) { - this.MinOrderQty = MinOrderQty; - } - - @javax.persistence.Column(name = "MaxOrderQty", nullable = false) - public java.lang.Integer getMaxOrderQty() { - return this.MaxOrderQty; - } - - public void setMaxOrderQty(java.lang.Integer MaxOrderQty) { - this.MaxOrderQty = MaxOrderQty; - } - - @javax.persistence.Column(name = "OnOrderQty") - public java.lang.Integer getOnOrderQty() { - return this.OnOrderQty; - } - - public void setOnOrderQty(java.lang.Integer OnOrderQty) { - this.OnOrderQty = OnOrderQty; - } - - @javax.persistence.Column(name = "UnitMeasureCode", nullable = false) - public java.lang.String getUnitMeasureCode() { - return this.UnitMeasureCode; - } - - public void setUnitMeasureCode(java.lang.String UnitMeasureCode) { - this.UnitMeasureCode = UnitMeasureCode; - } - - @javax.persistence.Column(name = "ModifiedDate", nullable = false) - public java.sql.Timestamp getModifiedDate() { - return this.ModifiedDate; - } - - public void setModifiedDate(java.sql.Timestamp ModifiedDate) { - this.ModifiedDate = ModifiedDate; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Purchaseorderdetail.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Purchaseorderdetail.java deleted file mode 100644 index f9b8abfc42..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Purchaseorderdetail.java +++ /dev/null @@ -1,127 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@javax.persistence.Entity -@javax.persistence.Table(name = "PurchaseOrderDetail", schema = "Purchasing", uniqueConstraints = { - @javax.persistence.UniqueConstraint(columnNames = {"PurchaseOrderID", "PurchaseOrderDetailID"}) -}) -public class PurchaseOrderDetail implements java.io.Serializable { - - private static final long serialVersionUID = 248882104; - - private java.lang.Integer PurchaseOrderID; - private java.lang.Integer PurchaseOrderDetailID; - private java.sql.Timestamp DueDate; - private java.lang.Short OrderQty; - private java.lang.Integer ProductID; - private java.math.BigDecimal UnitPrice; - private java.math.BigDecimal LineTotal; - private java.math.BigDecimal ReceivedQty; - private java.math.BigDecimal RejectedQty; - private java.math.BigDecimal StockedQty; - private java.sql.Timestamp ModifiedDate; - - @javax.persistence.Column(name = "PurchaseOrderID", nullable = false) - public java.lang.Integer getPurchaseOrderID() { - return this.PurchaseOrderID; - } - - public void setPurchaseOrderID(java.lang.Integer PurchaseOrderID) { - this.PurchaseOrderID = PurchaseOrderID; - } - - @javax.persistence.Column(name = "PurchaseOrderDetailID", nullable = false) - public java.lang.Integer getPurchaseOrderDetailID() { - return this.PurchaseOrderDetailID; - } - - public void setPurchaseOrderDetailID(java.lang.Integer PurchaseOrderDetailID) { - this.PurchaseOrderDetailID = PurchaseOrderDetailID; - } - - @javax.persistence.Column(name = "DueDate", nullable = false) - public java.sql.Timestamp getDueDate() { - return this.DueDate; - } - - public void setDueDate(java.sql.Timestamp DueDate) { - this.DueDate = DueDate; - } - - @javax.persistence.Column(name = "OrderQty", nullable = false) - public java.lang.Short getOrderQty() { - return this.OrderQty; - } - - public void setOrderQty(java.lang.Short OrderQty) { - this.OrderQty = OrderQty; - } - - @javax.persistence.Column(name = "ProductID", nullable = false) - public java.lang.Integer getProductID() { - return this.ProductID; - } - - public void setProductID(java.lang.Integer ProductID) { - this.ProductID = ProductID; - } - - @javax.persistence.Column(name = "UnitPrice", nullable = false) - public java.math.BigDecimal getUnitPrice() { - return this.UnitPrice; - } - - public void setUnitPrice(java.math.BigDecimal UnitPrice) { - this.UnitPrice = UnitPrice; - } - - @javax.persistence.Column(name = "LineTotal", nullable = false) - public java.math.BigDecimal getLineTotal() { - return this.LineTotal; - } - - public void setLineTotal(java.math.BigDecimal LineTotal) { - this.LineTotal = LineTotal; - } - - @javax.persistence.Column(name = "ReceivedQty", nullable = false) - public java.math.BigDecimal getReceivedQty() { - return this.ReceivedQty; - } - - public void setReceivedQty(java.math.BigDecimal ReceivedQty) { - this.ReceivedQty = ReceivedQty; - } - - @javax.persistence.Column(name = "RejectedQty", nullable = false) - public java.math.BigDecimal getRejectedQty() { - return this.RejectedQty; - } - - public void setRejectedQty(java.math.BigDecimal RejectedQty) { - this.RejectedQty = RejectedQty; - } - - @javax.persistence.Column(name = "StockedQty", nullable = false) - public java.math.BigDecimal getStockedQty() { - return this.StockedQty; - } - - public void setStockedQty(java.math.BigDecimal StockedQty) { - this.StockedQty = StockedQty; - } - - @javax.persistence.Column(name = "ModifiedDate", nullable = false) - public java.sql.Timestamp getModifiedDate() { - return this.ModifiedDate; - } - - public void setModifiedDate(java.sql.Timestamp ModifiedDate) { - this.ModifiedDate = ModifiedDate; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Purchaseorderheader.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Purchaseorderheader.java deleted file mode 100644 index a089a05ece..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Purchaseorderheader.java +++ /dev/null @@ -1,146 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@javax.persistence.Entity -@javax.persistence.Table(name = "PurchaseOrderHeader", schema = "Purchasing") -public class PurchaseOrderHeader implements java.io.Serializable { - - private static final long serialVersionUID = -1344621084; - - private java.lang.Integer PurchaseOrderID; - private java.lang.Byte RevisionNumber; - private java.lang.Byte Status; - private java.lang.Integer EmployeeID; - private java.lang.Integer VendorID; - private java.lang.Integer ShipMethodID; - private java.sql.Timestamp OrderDate; - private java.sql.Timestamp ShipDate; - private java.math.BigDecimal SubTotal; - private java.math.BigDecimal TaxAmt; - private java.math.BigDecimal Freight; - private java.math.BigDecimal TotalDue; - private java.sql.Timestamp ModifiedDate; - - @javax.persistence.Id - @javax.persistence.Column(name = "PurchaseOrderID", unique = true, nullable = false) - public java.lang.Integer getPurchaseOrderID() { - return this.PurchaseOrderID; - } - - public void setPurchaseOrderID(java.lang.Integer PurchaseOrderID) { - this.PurchaseOrderID = PurchaseOrderID; - } - - @javax.persistence.Column(name = "RevisionNumber", nullable = false) - public java.lang.Byte getRevisionNumber() { - return this.RevisionNumber; - } - - public void setRevisionNumber(java.lang.Byte RevisionNumber) { - this.RevisionNumber = RevisionNumber; - } - - @javax.persistence.Column(name = "Status", nullable = false) - public java.lang.Byte getStatus() { - return this.Status; - } - - public void setStatus(java.lang.Byte Status) { - this.Status = Status; - } - - @javax.persistence.Column(name = "EmployeeID", nullable = false) - public java.lang.Integer getEmployeeID() { - return this.EmployeeID; - } - - public void setEmployeeID(java.lang.Integer EmployeeID) { - this.EmployeeID = EmployeeID; - } - - @javax.persistence.Column(name = "VendorID", nullable = false) - public java.lang.Integer getVendorID() { - return this.VendorID; - } - - public void setVendorID(java.lang.Integer VendorID) { - this.VendorID = VendorID; - } - - @javax.persistence.Column(name = "ShipMethodID", nullable = false) - public java.lang.Integer getShipMethodID() { - return this.ShipMethodID; - } - - public void setShipMethodID(java.lang.Integer ShipMethodID) { - this.ShipMethodID = ShipMethodID; - } - - @javax.persistence.Column(name = "OrderDate", nullable = false) - public java.sql.Timestamp getOrderDate() { - return this.OrderDate; - } - - public void setOrderDate(java.sql.Timestamp OrderDate) { - this.OrderDate = OrderDate; - } - - @javax.persistence.Column(name = "ShipDate") - public java.sql.Timestamp getShipDate() { - return this.ShipDate; - } - - public void setShipDate(java.sql.Timestamp ShipDate) { - this.ShipDate = ShipDate; - } - - @javax.persistence.Column(name = "SubTotal", nullable = false) - public java.math.BigDecimal getSubTotal() { - return this.SubTotal; - } - - public void setSubTotal(java.math.BigDecimal SubTotal) { - this.SubTotal = SubTotal; - } - - @javax.persistence.Column(name = "TaxAmt", nullable = false) - public java.math.BigDecimal getTaxAmt() { - return this.TaxAmt; - } - - public void setTaxAmt(java.math.BigDecimal TaxAmt) { - this.TaxAmt = TaxAmt; - } - - @javax.persistence.Column(name = "Freight", nullable = false) - public java.math.BigDecimal getFreight() { - return this.Freight; - } - - public void setFreight(java.math.BigDecimal Freight) { - this.Freight = Freight; - } - - @javax.persistence.Column(name = "TotalDue", nullable = false) - public java.math.BigDecimal getTotalDue() { - return this.TotalDue; - } - - public void setTotalDue(java.math.BigDecimal TotalDue) { - this.TotalDue = TotalDue; - } - - @javax.persistence.Column(name = "ModifiedDate", nullable = false) - public java.sql.Timestamp getModifiedDate() { - return this.ModifiedDate; - } - - public void setModifiedDate(java.sql.Timestamp ModifiedDate) { - this.ModifiedDate = ModifiedDate; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Shipmethod.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Shipmethod.java deleted file mode 100644 index ff7df8827f..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Shipmethod.java +++ /dev/null @@ -1,76 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@javax.persistence.Entity -@javax.persistence.Table(name = "ShipMethod", schema = "Purchasing") -public class ShipMethod implements java.io.Serializable { - - private static final long serialVersionUID = 1720013689; - - private java.lang.Integer ShipMethodID; - private java.lang.String Name; - private java.math.BigDecimal ShipBase; - private java.math.BigDecimal ShipRate; - private java.lang.String rowguid; - private java.sql.Timestamp ModifiedDate; - - @javax.persistence.Id - @javax.persistence.Column(name = "ShipMethodID", unique = true, nullable = false) - public java.lang.Integer getShipMethodID() { - return this.ShipMethodID; - } - - public void setShipMethodID(java.lang.Integer ShipMethodID) { - this.ShipMethodID = ShipMethodID; - } - - @javax.persistence.Column(name = "Name", nullable = false) - public java.lang.String getName() { - return this.Name; - } - - public void setName(java.lang.String Name) { - this.Name = Name; - } - - @javax.persistence.Column(name = "ShipBase", nullable = false) - public java.math.BigDecimal getShipBase() { - return this.ShipBase; - } - - public void setShipBase(java.math.BigDecimal ShipBase) { - this.ShipBase = ShipBase; - } - - @javax.persistence.Column(name = "ShipRate", nullable = false) - public java.math.BigDecimal getShipRate() { - return this.ShipRate; - } - - public void setShipRate(java.math.BigDecimal ShipRate) { - this.ShipRate = ShipRate; - } - - @javax.persistence.Column(name = "rowguid", nullable = false) - public java.lang.String getrowguid() { - return this.rowguid; - } - - public void setrowguid(java.lang.String rowguid) { - this.rowguid = rowguid; - } - - @javax.persistence.Column(name = "ModifiedDate", nullable = false) - public java.sql.Timestamp getModifiedDate() { - return this.ModifiedDate; - } - - public void setModifiedDate(java.sql.Timestamp ModifiedDate) { - this.ModifiedDate = ModifiedDate; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Vendoraddress.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Vendoraddress.java deleted file mode 100644 index fce68ae917..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Vendoraddress.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@javax.persistence.Entity -@javax.persistence.Table(name = "VendorAddress", schema = "Purchasing", uniqueConstraints = { - @javax.persistence.UniqueConstraint(columnNames = {"VendorID", "AddressID"}) -}) -public class VendorAddress implements java.io.Serializable { - - private static final long serialVersionUID = 1875259502; - - private java.lang.Integer VendorID; - private java.lang.Integer AddressID; - private java.lang.Integer AddressTypeID; - private java.sql.Timestamp ModifiedDate; - - @javax.persistence.Column(name = "VendorID", nullable = false) - public java.lang.Integer getVendorID() { - return this.VendorID; - } - - public void setVendorID(java.lang.Integer VendorID) { - this.VendorID = VendorID; - } - - @javax.persistence.Column(name = "AddressID", nullable = false) - public java.lang.Integer getAddressID() { - return this.AddressID; - } - - public void setAddressID(java.lang.Integer AddressID) { - this.AddressID = AddressID; - } - - @javax.persistence.Column(name = "AddressTypeID", nullable = false) - public java.lang.Integer getAddressTypeID() { - return this.AddressTypeID; - } - - public void setAddressTypeID(java.lang.Integer AddressTypeID) { - this.AddressTypeID = AddressTypeID; - } - - @javax.persistence.Column(name = "ModifiedDate", nullable = false) - public java.sql.Timestamp getModifiedDate() { - return this.ModifiedDate; - } - - public void setModifiedDate(java.sql.Timestamp ModifiedDate) { - this.ModifiedDate = ModifiedDate; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Vendorcontact.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Vendorcontact.java deleted file mode 100644 index 51dce8697e..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Vendorcontact.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@javax.persistence.Entity -@javax.persistence.Table(name = "VendorContact", schema = "Purchasing", uniqueConstraints = { - @javax.persistence.UniqueConstraint(columnNames = {"VendorID", "ContactID"}) -}) -public class VendorContact implements java.io.Serializable { - - private static final long serialVersionUID = -1907381854; - - private java.lang.Integer VendorID; - private java.lang.Integer ContactID; - private java.lang.Integer ContactTypeID; - private java.sql.Timestamp ModifiedDate; - - @javax.persistence.Column(name = "VendorID", nullable = false) - public java.lang.Integer getVendorID() { - return this.VendorID; - } - - public void setVendorID(java.lang.Integer VendorID) { - this.VendorID = VendorID; - } - - @javax.persistence.Column(name = "ContactID", nullable = false) - public java.lang.Integer getContactID() { - return this.ContactID; - } - - public void setContactID(java.lang.Integer ContactID) { - this.ContactID = ContactID; - } - - @javax.persistence.Column(name = "ContactTypeID", nullable = false) - public java.lang.Integer getContactTypeID() { - return this.ContactTypeID; - } - - public void setContactTypeID(java.lang.Integer ContactTypeID) { - this.ContactTypeID = ContactTypeID; - } - - @javax.persistence.Column(name = "ModifiedDate", nullable = false) - public java.sql.Timestamp getModifiedDate() { - return this.ModifiedDate; - } - - public void setModifiedDate(java.sql.Timestamp ModifiedDate) { - this.ModifiedDate = ModifiedDate; - } -} diff --git a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Vvendor.java b/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Vvendor.java deleted file mode 100644 index d8288aa1e1..0000000000 --- a/jOOQ-test/examples/org/jooq/examples/sqlserver/adventureworks/purchasing/tables/pojos/Vvendor.java +++ /dev/null @@ -1,185 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package org.jooq.examples.sqlserver.adventureworks.purchasing.tables.pojos; - -/** - * This class is generated by jOOQ. - */ -@javax.persistence.Entity -@javax.persistence.Table(name = "vVendor", schema = "Purchasing") -public class vVendor implements java.io.Serializable { - - private static final long serialVersionUID = -2092090805; - - private java.lang.Integer VendorID; - private java.lang.String Name; - private java.lang.String ContactType; - private java.lang.String Title; - private java.lang.String FirstName; - private java.lang.String MiddleName; - private java.lang.String LastName; - private java.lang.String Suffix; - private java.lang.String Phone; - private java.lang.String EmailAddress; - private java.lang.Integer EmailPromotion; - private java.lang.String AddressLine1; - private java.lang.String AddressLine2; - private java.lang.String City; - private java.lang.String StateProvinceName; - private java.lang.String PostalCode; - private java.lang.String CountryRegionName; - - @javax.persistence.Column(name = "VendorID", nullable = false) - public java.lang.Integer getVendorID() { - return this.VendorID; - } - - public void setVendorID(java.lang.Integer VendorID) { - this.VendorID = VendorID; - } - - @javax.persistence.Column(name = "Name", nullable = false) - public java.lang.String getName() { - return this.Name; - } - - public void setName(java.lang.String Name) { - this.Name = Name; - } - - @javax.persistence.Column(name = "ContactType", nullable = false) - public java.lang.String getContactType() { - return this.ContactType; - } - - public void setContactType(java.lang.String ContactType) { - this.ContactType = ContactType; - } - - @javax.persistence.Column(name = "Title") - public java.lang.String getTitle() { - return this.Title; - } - - public void setTitle(java.lang.String Title) { - this.Title = Title; - } - - @javax.persistence.Column(name = "FirstName", nullable = false) - public java.lang.String getFirstName() { - return this.FirstName; - } - - public void setFirstName(java.lang.String FirstName) { - this.FirstName = FirstName; - } - - @javax.persistence.Column(name = "MiddleName") - public java.lang.String getMiddleName() { - return this.MiddleName; - } - - public void setMiddleName(java.lang.String MiddleName) { - this.MiddleName = MiddleName; - } - - @javax.persistence.Column(name = "LastName", nullable = false) - public java.lang.String getLastName() { - return this.LastName; - } - - public void setLastName(java.lang.String LastName) { - this.LastName = LastName; - } - - @javax.persistence.Column(name = "Suffix") - public java.lang.String getSuffix() { - return this.Suffix; - } - - public void setSuffix(java.lang.String Suffix) { - this.Suffix = Suffix; - } - - @javax.persistence.Column(name = "Phone") - public java.lang.String getPhone() { - return this.Phone; - } - - public void setPhone(java.lang.String Phone) { - this.Phone = Phone; - } - - @javax.persistence.Column(name = "EmailAddress") - public java.lang.String getEmailAddress() { - return this.EmailAddress; - } - - public void setEmailAddress(java.lang.String EmailAddress) { - this.EmailAddress = EmailAddress; - } - - @javax.persistence.Column(name = "EmailPromotion", nullable = false) - public java.lang.Integer getEmailPromotion() { - return this.EmailPromotion; - } - - public void setEmailPromotion(java.lang.Integer EmailPromotion) { - this.EmailPromotion = EmailPromotion; - } - - @javax.persistence.Column(name = "AddressLine1", nullable = false) - public java.lang.String getAddressLine1() { - return this.AddressLine1; - } - - public void setAddressLine1(java.lang.String AddressLine1) { - this.AddressLine1 = AddressLine1; - } - - @javax.persistence.Column(name = "AddressLine2") - public java.lang.String getAddressLine2() { - return this.AddressLine2; - } - - public void setAddressLine2(java.lang.String AddressLine2) { - this.AddressLine2 = AddressLine2; - } - - @javax.persistence.Column(name = "City", nullable = false) - public java.lang.String getCity() { - return this.City; - } - - public void setCity(java.lang.String City) { - this.City = City; - } - - @javax.persistence.Column(name = "StateProvinceName", nullable = false) - public java.lang.String getStateProvinceName() { - return this.StateProvinceName; - } - - public void setStateProvinceName(java.lang.String StateProvinceName) { - this.StateProvinceName = StateProvinceName; - } - - @javax.persistence.Column(name = "PostalCode", nullable = false) - public java.lang.String getPostalCode() { - return this.PostalCode; - } - - public void setPostalCode(java.lang.String PostalCode) { - this.PostalCode = PostalCode; - } - - @javax.persistence.Column(name = "CountryRegionName", nullable = false) - public java.lang.String getCountryRegionName() { - return this.CountryRegionName; - } - - public void setCountryRegionName(java.lang.String CountryRegionName) { - this.CountryRegionName = CountryRegionName; - } -}