[#898] Replace usage of checked SQLException by an unchecked DataAccessException, similar to that of Spring

[#899] Build jOOQ .jar files as bundles to be deployed into OSGI environments
[#900] Purge deprecated API - Prior to 2.0
This commit is contained in:
Lukas Eder 2011-11-04 16:07:08 +00:00
parent da9b69ea98
commit 007aa862ef
942 changed files with 3910 additions and 7324 deletions

View File

@ -127,6 +127,49 @@
<downloadSources>true</downloadSources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.1.0</version>
<extensions>true</extensions>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<supportedProjectTypes>
<supportedProjectType>jar</supportedProjectType>
</supportedProjectTypes>
<instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Export-Package>*</Export-Package>
<Import-Package>
javax.persistence;resolution:=optional,
oracle.sql;resolution:=optional,
org.apache.log4j;resolution:=optional,
*
</Import-Package>
<_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<archive>
<!-- add the generated manifest to the jar -->
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -76,6 +76,7 @@ import org.jooq.TableField;
import org.jooq.UDT;
import org.jooq.UDTField;
import org.jooq.UniqueKey;
import org.jooq.exception.DataAccessException;
import org.jooq.impl.AbstractKeys;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.ArrayRecordImpl;
@ -840,31 +841,6 @@ public class DefaultGenerator implements Generator {
out.print(strategy.getFullJavaIdentifierUC(table));
out.println(");");
out.println("\t}");
if (generateDeprecated()) {
out.println();
out.println("\t/**");
out.println("\t * Create an attached " + strategy.getJavaClassName(table, "Record"));
out.println("\t * @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached");
out.println("\t * records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones");
out.println("\t */");
out.println("\t@Deprecated");
out.print("\tpublic ");
out.print(strategy.getJavaClassName(table, "Record"));
out.print("(");
out.print(Configuration.class);
out.println(" configuration) {");
out.print("\t\tsuper(");
out.print(strategy.getFullJavaIdentifierUC(table));
out.println(", configuration);");
out.println("\t}");
}
out.println("}");
out.close();
} catch (Exception e) {
@ -1598,6 +1574,7 @@ public class DefaultGenerator implements Generator {
out.println("\t * @param " + strategy.getJavaClassNameLC(parameter));
}
printThrowsDataAccessException(out);
out.println("\t */");
out.print("\tpublic static ");
@ -1615,9 +1592,7 @@ public class DefaultGenerator implements Generator {
out.print(strategy.getJavaClassNameLC(parameter));
}
out.print(") throws ");
out.print(SQLException.class);
out.println(" {");
out.println(") {");
out.print("\t\t");
out.print(strategy.getFullJavaClassName(function));
out.print(" f = new ");
@ -1635,6 +1610,13 @@ public class DefaultGenerator implements Generator {
out.println("\t}");
}
private void printThrowsDataAccessException(GenerationWriter out) {
out.print("\t * @throws ");
out.print(DataAccessException.class);
out.print(" if something went wrong executing the query");
out.println();
}
private void printPrivateConstructor(GenerationWriter out, String javaClassName) {
out.println();
out.println("\t/**");
@ -1669,6 +1651,7 @@ public class DefaultGenerator implements Generator {
}
}
printThrowsDataAccessException(out);
out.println("\t */");
out.print("\tpublic static ");
@ -1695,9 +1678,7 @@ public class DefaultGenerator implements Generator {
out.print(strategy.getJavaClassNameLC(parameter));
}
out.print(") throws ");
out.print(SQLException.class);
out.println(" {");
out.println(") {");
out.print("\t\t");
out.print(strategy.getFullJavaClassName(procedure));
out.print(" p = new ");
@ -1866,10 +1847,7 @@ public class DefaultGenerator implements Generator {
out.print(strategy.getJavaClassName(foreignKey.getKeyColumns().get(0)));
}
out.print("() throws ");
out.print(SQLException.class);
out.println(" {");
out.println("() {");
out.println("\t\treturn create()");
out.print("\t\t\t.selectFrom(");
out.print(strategy.getFullJavaIdentifierUC(referencing));
@ -1941,10 +1919,7 @@ public class DefaultGenerator implements Generator {
out.print(strategy.getJavaClassName(column));
}
out.print("() throws ");
out.print(SQLException.class);
out.println(" {");
out.println("() {");
out.println("\t\treturn create()");
out.print("\t\t\t.selectFrom(");
out.print(strategy.getFullJavaIdentifierUC(referenced));
@ -2174,7 +2149,7 @@ public class DefaultGenerator implements Generator {
version = properties.getProperty("version");
}
catch (Exception e) {
version = "1.6.8";
version = "unknown";
}
}

View File

@ -1 +1 @@
version=1.6.8
version=2.0.0

View File

@ -126,6 +126,49 @@
<downloadSources>true</downloadSources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.1.0</version>
<extensions>true</extensions>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<supportedProjectTypes>
<supportedProjectType>jar</supportedProjectType>
</supportedProjectTypes>
<instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Export-Package>*</Export-Package>
<Import-Package>
javax.persistence;resolution:=optional,
oracle.sql;resolution:=optional,
org.apache.log4j;resolution:=optional,
*
</Import-Package>
<_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<archive>
<!-- add the generated manifest to the jar -->
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -67,8 +67,6 @@ public abstract class AbstractDatabase implements Database {
private List<EnumDefinition> enums;
private List<UDTDefinition> udts;
private List<ArrayDefinition> arrays;
private List<RoutineDefinition> procedures;
private List<RoutineDefinition> functions;
private List<RoutineDefinition> routines;
private List<PackageDefinition> packages;
private Relations relations;
@ -328,50 +326,6 @@ public abstract class AbstractDatabase implements Database {
return relations;
}
@Override
@Deprecated
public final List<RoutineDefinition> getProcedures() {
if (procedures == null) {
procedures = new ArrayList<RoutineDefinition>();
try {
List<RoutineDefinition> r = getRoutines();
for (RoutineDefinition routine : r) {
if (!routine.isSQLUsable()) {
procedures.add(routine);
}
}
} catch (Exception e) {
log.error("Error while fetching procedures", e);
}
}
return procedures;
}
@Override
@Deprecated
public final List<RoutineDefinition> getFunctions() {
if (functions == null) {
functions = new ArrayList<RoutineDefinition>();
try {
List<RoutineDefinition> r = getRoutines();
for (RoutineDefinition routine : r) {
if (routine.isSQLUsable()) {
functions.add(routine);
}
}
} catch (Exception e) {
log.error("Error while fetching functions", e);
}
}
return functions;
}
@Override
public final List<RoutineDefinition> getRoutines() {
if (routines == null) {

View File

@ -83,18 +83,6 @@ public abstract class AbstractDefinition implements Definition {
return name;
}
@Override
@Deprecated
public final String getNameUC() {
return name.toUpperCase();
}
@Override
@Deprecated
public final String getNameLC() {
return name.toLowerCase();
}
@Override
public final String getComment() {
return comment;

View File

@ -48,46 +48,12 @@ public abstract class AbstractPackageDefinition extends AbstractDefinition imple
private static final JooqLogger log = JooqLogger.getLogger(AbstractPackageDefinition.class);
private List<RoutineDefinition> procedures;
private List<RoutineDefinition> functions;
private List<RoutineDefinition> routines;
public AbstractPackageDefinition(Database database, String name, String comment) {
super(database, name, comment);
}
@Override
@Deprecated
public final List<RoutineDefinition> getProcedures() {
if (procedures == null) {
procedures = new ArrayList<RoutineDefinition>();
for (RoutineDefinition routine : getRoutines()) {
if (!routine.isSQLUsable()) {
procedures.add(routine);
}
}
}
return procedures;
}
@Override
@Deprecated
public final List<RoutineDefinition> getFunctions() {
if (functions == null) {
functions = new ArrayList<RoutineDefinition>();
for (RoutineDefinition routine : getRoutines()) {
if (routine.isSQLUsable()) {
functions.add(routine);
}
}
}
return functions;
}
@Override
public final List<RoutineDefinition> getRoutines() {
if (routines == null) {

View File

@ -45,14 +45,6 @@ import java.util.List;
*/
public interface ColumnDefinition extends TypedElementDefinition<TableDefinition> {
/**
* The column's owner table
*
* @deprecated - 1.6.3 - Use {@link #getContainer()} instead
*/
@Deprecated
TableDefinition getTable();
/**
* The column position in the table
*/

View File

@ -122,38 +122,6 @@ public interface Database {
*/
List<RoutineDefinition> getRoutines();
/**
* The stored procedures contained in this database (for schema
* {@link #getSchema()})
*
* @deprecated - 1.6.8 [#852] - The stored procedure / stored function
* distinction has been reviewed in jOOQ. The 12 currently
* supported RDBMS have such a distinct idea of what is a
* procedure and what is a function that it makes no longer
* sense to distinguish them generally, in jOOQ. See <a
* href="https://sourceforge.net/apps/trac/jooq/ticket/852"
* >https://sourceforge.net/apps/trac/jooq/ticket/852</a> for
* more details.
*/
@Deprecated
List<RoutineDefinition> getProcedures();
/**
* The stored functions contained in this database (for schema
* {@link #getSchema()})
*
* @deprecated - 1.6.8 [#852] - The stored procedure / stored function
* distinction has been reviewed in jOOQ. The 12 currently
* supported RDBMS have such a distinct idea of what is a
* procedure and what is a function that it makes no longer
* sense to distinguish them generally, in jOOQ. See <a
* href="https://sourceforge.net/apps/trac/jooq/ticket/852"
* >https://sourceforge.net/apps/trac/jooq/ticket/852</a> for
* more details.
*/
@Deprecated
List<RoutineDefinition> getFunctions();
/**
* The packages contained in this database (for schema {@link #getSchema()})
*/

View File

@ -47,9 +47,4 @@ public class DefaultAttributeDefinition extends AbstractTypedElementDefinition<U
public DefaultAttributeDefinition(UDTDefinition udt, String name, int position, DataTypeDefinition type) {
super(udt, name, position, type, null);
}
@Deprecated
public final UDTDefinition getUDT() {
return getContainer();
}
}

View File

@ -74,11 +74,6 @@ public class DefaultColumnDefinition
return position;
}
@Override
public final TableDefinition getTable() {
return getContainer();
}
@Override
public final DataTypeDefinition getType() {

View File

@ -37,12 +37,12 @@ package org.jooq.util;
import static org.jooq.impl.Factory.field;
import java.sql.SQLException;
import java.util.List;
import org.jooq.Record;
import org.jooq.Result;
import org.jooq.Table;
import org.jooq.exception.DataAccessException;
import org.jooq.impl.JooqLogger;
public class DefaultMasterDataTableDefinition extends AbstractDefinition implements MasterDataTableDefinition {
@ -103,7 +103,7 @@ public class DefaultMasterDataTableDefinition extends AbstractDefinition impleme
.orderBy(field(getPrimaryKeyColumn().getName()))
.fetch();
}
catch (SQLException e) {
catch (DataAccessException e) {
log.error("Error while initialising master data", e);
}
}

View File

@ -49,10 +49,4 @@ public class DefaultParameterDefinition
public DefaultParameterDefinition(RoutineDefinition routine, String name, int position, DataTypeDefinition type) {
super(routine, name, position, type, null);
}
@Override
@Deprecated
public final RoutineDefinition getCallable() {
return getContainer();
}
}

View File

@ -60,20 +60,6 @@ public interface Definition {
*/
String getName();
/**
* @return The name of this object in upper case letters, e.g. [MY_TABLE]
* @deprecated - Use jooq-meta's GeneratorStrategy instead
*/
@Deprecated
String getNameUC();
/**
* @return The name of this object in lower case letters, e.g. [my_table]
* @deprecated - Use jooq-meta's GeneratorStrategy instead
*/
@Deprecated
String getNameLC();
/**
* @return The comment of this object
*/

View File

@ -44,36 +44,6 @@ import java.util.List;
*/
public interface PackageDefinition extends Definition {
/**
* Fetch all stored procedures from the package
*
* @deprecated - 1.6.8 [#852] - The stored procedure / stored function
* distinction has been reviewed in jOOQ. The 12 currently
* supported RDBMS have such a distinct idea of what is a
* procedure and what is a function that it makes no longer
* sense to distinguish them generally, in jOOQ. See <a
* href="https://sourceforge.net/apps/trac/jooq/ticket/852"
* >https://sourceforge.net/apps/trac/jooq/ticket/852</a> for
* more details.
*/
@Deprecated
List<RoutineDefinition> getProcedures();
/**
* Fetch all stored functions from the package
*
* @deprecated - 1.6.8 [#852] - The stored procedure / stored function
* distinction has been reviewed in jOOQ. The 12 currently
* supported RDBMS have such a distinct idea of what is a
* procedure and what is a function that it makes no longer
* sense to distinguish them generally, in jOOQ. See <a
* href="https://sourceforge.net/apps/trac/jooq/ticket/852"
* >https://sourceforge.net/apps/trac/jooq/ticket/852</a> for
* more details.
*/
@Deprecated
List<RoutineDefinition> getFunctions();
/**
* Fetch all routines from the package
*/

View File

@ -42,12 +42,4 @@ package org.jooq.util;
*/
public interface ParameterDefinition extends TypedElementDefinition<RoutineDefinition> {
/**
* The parameter's owner callable
*
* @deprecated - 1.6.3 - Use {@link #getContainer()} instead
*/
@Deprecated
RoutineDefinition getCallable();
}

View File

@ -120,7 +120,7 @@ public class ASEDatabase extends AbstractDatabase {
* >http://www.dbforums.com/sybase/1625012-sysindexes-question-testing-
* unique-clustered-indexes.html</a>
*/
private List<Record> fetchKeys(int incl, int excl) throws SQLException {
private List<Record> fetchKeys(int incl, int excl) {
return create().select(
field("name", String.class),
field("object_name(id)", String.class),
@ -199,7 +199,7 @@ public class ASEDatabase extends AbstractDatabase {
return result;
}
private List<String> fetchTableNames() throws SQLException {
private List<String> fetchTableNames() {
List<String> result = new ArrayList<String>();
for (Record record : create().fetch("sp_help")) {

View File

@ -117,7 +117,7 @@ public class DB2Database extends AbstractDatabase {
}
}
private List<Record> fetchKeys(String constraintType) throws SQLException {
private List<Record> fetchKeys(String constraintType) {
return create().select(
Keycoluse.CONSTNAME,
Keycoluse.TABNAME,

View File

@ -79,7 +79,7 @@ public class DB2RoutineDefinition extends AbstractRoutineDefinition {
}
}
private void initF() throws SQLException {
private void initF() {
for (Record record : create()
.select(
Funcparms.ROWTYPE,
@ -129,7 +129,7 @@ public class DB2RoutineDefinition extends AbstractRoutineDefinition {
}
}
private void initP() throws SQLException {
private void initP() {
for (Record record : create().select(
Procparms.PARMNAME,
Procparms.TYPENAME,

View File

@ -114,7 +114,7 @@ public class DerbyDatabase extends AbstractDatabase {
}
}
private List<Record> fetchKeys(String constraintType) throws SQLException {
private List<Record> fetchKeys(String constraintType) {
return create().select(
Systables.TABLENAME,
Systables.TABLEID,

View File

@ -116,7 +116,7 @@ public class H2Database extends AbstractDatabase {
}
}
private List<Record> fetchKeys(String constraintType) throws SQLException {
private List<Record> fetchKeys(String constraintType) {
return create().select(
Constraints.TABLE_NAME,
Constraints.COLUMN_LIST,

View File

@ -118,7 +118,7 @@ public class HSQLDBDatabase extends AbstractDatabase {
}
}
private List<Record> fetchKeys(String constraintType) throws SQLException {
private List<Record> fetchKeys(String constraintType) {
return create()
.select(KeyColumnUsage.CONSTRAINT_NAME, KeyColumnUsage.TABLE_NAME, KeyColumnUsage.COLUMN_NAME)
.from(TABLE_CONSTRAINTS)

View File

@ -110,7 +110,7 @@ public class IngresDatabase extends AbstractDatabase {
}
}
private List<Record> fetchKeys(String constraintType) throws SQLException {
private List<Record> fetchKeys(String constraintType) {
return create().select(
Iiconstraints.TABLE_NAME.trim(),
Iiconstraints.CONSTRAINT_NAME.trim(),

View File

@ -112,7 +112,7 @@ public class MySQLDatabase extends AbstractDatabase {
return "KEY_" + tableName + "_" + keyName;
}
private List<Record> fetchKeys(String constraintType) throws SQLException {
private List<Record> fetchKeys(String constraintType) {
return create().select(
KeyColumnUsage.CONSTRAINT_NAME,
KeyColumnUsage.TABLE_NAME,

View File

@ -116,7 +116,7 @@ public class OracleDatabase extends AbstractDatabase {
}
}
private List<Record> fetchKeys(String constraintType) throws SQLException {
private List<Record> fetchKeys(String constraintType) {
return create().select(
AllConsColumns.CONSTRAINT_NAME,
AllConsColumns.TABLE_NAME,

View File

@ -125,7 +125,7 @@ public class PostgresDatabase extends AbstractDatabase {
}
}
private List<Record> fetchKeys(String constraintType) throws SQLException {
private List<Record> fetchKeys(String constraintType) {
return create()
.select(KeyColumnUsage.CONSTRAINT_NAME, KeyColumnUsage.TABLE_NAME, KeyColumnUsage.COLUMN_NAME)
.from(TABLE_CONSTRAINTS)

View File

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

View File

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

View File

@ -8,7 +8,7 @@ package org.jooq.util.postgres.pg_catalog;
*
* Convenience access to all stored procedures and functions in pg_catalog
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public final class Routines {
@ -17,8 +17,9 @@ public final class Routines {
*
* @param __1
* @param __2
* @throws org.jooq.exception.DataAccessException if something went wrong executing the query
*/
public static java.lang.String formatType(org.jooq.Configuration configuration, java.lang.Long __1, java.lang.Integer __2) throws java.sql.SQLException {
public static java.lang.String formatType(org.jooq.Configuration configuration, java.lang.Long __1, java.lang.Integer __2) {
org.jooq.util.postgres.pg_catalog.routines.FormatType f = new org.jooq.util.postgres.pg_catalog.routines.FormatType();
f.set__1(__1);
f.set__2(__2);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class PgAttributeRecord extends org.jooq.impl.TableRecordImpl<org.jooq.util.postgres.pg_catalog.tables.records.PgAttributeRecord> {
private static final long serialVersionUID = -293465921;
private static final long serialVersionUID = -334791886;
/**
* An uncommented item

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class PgClassRecord extends org.jooq.impl.TableRecordImpl<org.jooq.util.postgres.pg_catalog.tables.records.PgClassRecord> {
private static final long serialVersionUID = 76146041;
private static final long serialVersionUID = 1348614572;
/**
* An uncommented item

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class PgEnumRecord extends org.jooq.impl.TableRecordImpl<org.jooq.util.postgres.pg_catalog.tables.records.PgEnumRecord> {
private static final long serialVersionUID = 1356558793;
private static final long serialVersionUID = -262925572;
/**
* An uncommented item

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class PgProcRecord extends org.jooq.impl.TableRecordImpl<org.jooq.util.postgres.pg_catalog.tables.records.PgProcRecord> {
private static final long serialVersionUID = 368545333;
private static final long serialVersionUID = -308195864;
/**
* An uncommented item

View File

@ -6,11 +6,11 @@ package org.jooq.util.postgres.pg_catalog.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class PgTypeRecord extends org.jooq.impl.TableRecordImpl<org.jooq.util.postgres.pg_catalog.tables.records.PgTypeRecord> {
private static final long serialVersionUID = 1574350423;
private static final long serialVersionUID = -460004662;
/**
* An uncommented item

View File

@ -115,7 +115,7 @@ public class SQLServerDatabase extends AbstractDatabase {
}
}
private List<Record> fetchKeys(String constraintType) throws SQLException {
private List<Record> fetchKeys(String constraintType) {
return create()
.select(KeyColumnUsage.CONSTRAINT_NAME, KeyColumnUsage.TABLE_NAME, KeyColumnUsage.COLUMN_NAME)
.from(TABLE_CONSTRAINTS)

View File

@ -8,7 +8,7 @@ package org.jooq.examples.mysql.sakila;
*
* A class modelling foreign key relationships between tables of the sakila schema
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
@SuppressWarnings({"unchecked"})
public class Keys extends org.jooq.impl.AbstractKeys {

View File

@ -8,7 +8,7 @@ package org.jooq.examples.mysql.sakila;
*
* Convenience access to all stored procedures and functions in sakila
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public final class Routines {
@ -18,8 +18,9 @@ public final class Routines {
* @param pFilmId IN parameter
* @param pStoreId IN parameter
* @param pFilmCount OUT parameter
* @throws org.jooq.exception.DataAccessException if something went wrong executing the query
*/
public static java.lang.Integer filmInStock(org.jooq.Configuration configuration, java.lang.Integer pFilmId, java.lang.Integer pStoreId) throws java.sql.SQLException {
public static java.lang.Integer filmInStock(org.jooq.Configuration configuration, java.lang.Integer pFilmId, java.lang.Integer pStoreId) {
org.jooq.examples.mysql.sakila.routines.FilmInStock p = new org.jooq.examples.mysql.sakila.routines.FilmInStock();
p.setPFilmId(pFilmId);
p.setPStoreId(pStoreId);
@ -34,8 +35,9 @@ public final class Routines {
* @param pFilmId IN parameter
* @param pStoreId IN parameter
* @param pFilmCount OUT parameter
* @throws org.jooq.exception.DataAccessException if something went wrong executing the query
*/
public static java.lang.Integer filmNotInStock(org.jooq.Configuration configuration, java.lang.Integer pFilmId, java.lang.Integer pStoreId) throws java.sql.SQLException {
public static java.lang.Integer filmNotInStock(org.jooq.Configuration configuration, java.lang.Integer pFilmId, java.lang.Integer pStoreId) {
org.jooq.examples.mysql.sakila.routines.FilmNotInStock p = new org.jooq.examples.mysql.sakila.routines.FilmNotInStock();
p.setPFilmId(pFilmId);
p.setPStoreId(pStoreId);
@ -49,8 +51,9 @@ public final class Routines {
*
* @param pCustomerId
* @param pEffectiveDate
* @throws org.jooq.exception.DataAccessException if something went wrong executing the query
*/
public static java.math.BigDecimal getCustomerBalance(org.jooq.Configuration configuration, java.lang.Integer pCustomerId, java.sql.Timestamp pEffectiveDate) throws java.sql.SQLException {
public static java.math.BigDecimal getCustomerBalance(org.jooq.Configuration configuration, java.lang.Integer pCustomerId, java.sql.Timestamp pEffectiveDate) {
org.jooq.examples.mysql.sakila.routines.GetCustomerBalance f = new org.jooq.examples.mysql.sakila.routines.GetCustomerBalance();
f.setPCustomerId(pCustomerId);
f.setPEffectiveDate(pEffectiveDate);
@ -91,8 +94,9 @@ public final class Routines {
* Invoke INVENTORY_HELD_BY_CUSTOMER
*
* @param pInventoryId
* @throws org.jooq.exception.DataAccessException if something went wrong executing the query
*/
public static java.lang.Integer inventoryHeldByCustomer(org.jooq.Configuration configuration, java.lang.Integer pInventoryId) throws java.sql.SQLException {
public static java.lang.Integer inventoryHeldByCustomer(org.jooq.Configuration configuration, java.lang.Integer pInventoryId) {
org.jooq.examples.mysql.sakila.routines.InventoryHeldByCustomer f = new org.jooq.examples.mysql.sakila.routines.InventoryHeldByCustomer();
f.setPInventoryId(pInventoryId);
@ -128,8 +132,9 @@ public final class Routines {
* Invoke INVENTORY_IN_STOCK
*
* @param pInventoryId
* @throws org.jooq.exception.DataAccessException if something went wrong executing the query
*/
public static java.lang.Byte inventoryInStock(org.jooq.Configuration configuration, java.lang.Integer pInventoryId) throws java.sql.SQLException {
public static java.lang.Byte inventoryInStock(org.jooq.Configuration configuration, java.lang.Integer pInventoryId) {
org.jooq.examples.mysql.sakila.routines.InventoryInStock f = new org.jooq.examples.mysql.sakila.routines.InventoryInStock();
f.setPInventoryId(pInventoryId);
@ -167,8 +172,9 @@ public final class Routines {
* @param minMonthlyPurchases IN parameter
* @param minDollarAmountPurchased IN parameter
* @param countRewardees OUT parameter
* @throws org.jooq.exception.DataAccessException if something went wrong executing the query
*/
public static java.lang.Integer rewardsReport(org.jooq.Configuration configuration, java.lang.Byte minMonthlyPurchases, java.math.BigDecimal minDollarAmountPurchased) throws java.sql.SQLException {
public static java.lang.Integer rewardsReport(org.jooq.Configuration configuration, java.lang.Byte minMonthlyPurchases, java.math.BigDecimal minDollarAmountPurchased) {
org.jooq.examples.mysql.sakila.routines.RewardsReport p = new org.jooq.examples.mysql.sakila.routines.RewardsReport();
p.setMinMonthlyPurchases(minMonthlyPurchases);
p.setMinDollarAmountPurchased(minDollarAmountPurchased);

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class Sakila extends org.jooq.impl.SchemaImpl {
private static final long serialVersionUID = -1482066181;
private static final long serialVersionUID = 550021934;
/**
* The singleton instance of sakila

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class SakilaFactory extends org.jooq.util.mysql.MySQLFactory {
private static final long serialVersionUID = -386617597;
private static final long serialVersionUID = 1680109488;
/**
* Create a factory with a connection

View File

@ -6,7 +6,7 @@ package org.jooq.examples.mysql.sakila.enums;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public enum FilmListRating implements org.jooq.EnumType {
G("G"),

View File

@ -6,7 +6,7 @@ package org.jooq.examples.mysql.sakila.enums;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public enum FilmRating implements org.jooq.EnumType {
G("G"),

View File

@ -6,7 +6,7 @@ package org.jooq.examples.mysql.sakila.enums;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public enum NicerButSlowerFilmListRating implements org.jooq.EnumType {
G("G"),

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.routines;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class FilmInStock extends org.jooq.impl.AbstractRoutine<java.lang.Void> {
private static final long serialVersionUID = 134366551;
private static final long serialVersionUID = -796636086;
/**

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.routines;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class FilmNotInStock extends org.jooq.impl.AbstractRoutine<java.lang.Void> {
private static final long serialVersionUID = 194545433;
private static final long serialVersionUID = 1256241740;
/**

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.routines;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class GetCustomerBalance extends org.jooq.impl.AbstractRoutine<java.math.BigDecimal> {
private static final long serialVersionUID = 631731635;
private static final long serialVersionUID = -1795174624;
/**

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.routines;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class InventoryHeldByCustomer extends org.jooq.impl.AbstractRoutine<java.lang.Integer> {
private static final long serialVersionUID = -2068629393;
private static final long serialVersionUID = -2035383390;
/**

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.routines;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class InventoryInStock extends org.jooq.impl.AbstractRoutine<java.lang.Byte> {
private static final long serialVersionUID = 1630294309;
private static final long serialVersionUID = 1403674706;
/**

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.routines;
*
* Provides a customizable report on best customers
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class RewardsReport extends org.jooq.impl.AbstractRoutine<java.lang.Void> {
private static final long serialVersionUID = -1687570424;
private static final long serialVersionUID = 774145595;
/**

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -275976155;
private static final long serialVersionUID = 770113234;
/**
* The singleton instance of actor

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 944323977;
private static final long serialVersionUID = -832128330;
/**
* The singleton instance of actor_info

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -2110007841;
private static final long serialVersionUID = -2003093358;
/**
* The singleton instance of address

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -1178997765;
private static final long serialVersionUID = 303561000;
/**
* The singleton instance of category

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -847587354;
private static final long serialVersionUID = -1083672109;
/**
* The singleton instance of city

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 2057134811;
private static final long serialVersionUID = 1583843534;
/**
* The singleton instance of country

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 2116895802;
private static final long serialVersionUID = 1839370797;
/**
* The singleton instance of customer

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 1187425779;
private static final long serialVersionUID = 1228613216;
/**
* The singleton instance of customer_list

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 1331408020;
private static final long serialVersionUID = -1533479929;
/**
* The singleton instance of film

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 1376192217;
private static final long serialVersionUID = -1500724922;
/**
* The singleton instance of film_actor

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -727739384;
private static final long serialVersionUID = -1827377669;
/**
* The singleton instance of film_category

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -280163552;
private static final long serialVersionUID = -1772977389;
/**
* The singleton instance of film_list

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class FilmText extends org.jooq.impl.UpdatableTableImpl<org.jooq.examples.mysql.sakila.tables.records.FilmTextRecord> {
private static final long serialVersionUID = 793216157;
private static final long serialVersionUID = 1089550736;
/**
* The singleton instance of film_text

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -601531818;
private static final long serialVersionUID = 275888969;
/**
* The singleton instance of inventory

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 1150018250;
private static final long serialVersionUID = -107238211;
/**
* The singleton instance of language

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 206482185;
private static final long serialVersionUID = 288326902;
/**
* The singleton instance of nicer_but_slower_film_list

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 188979002;
private static final long serialVersionUID = 263582829;
/**
* The singleton instance of payment

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -1607346682;
private static final long serialVersionUID = -1075816717;
/**
* The singleton instance of rental

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class SalesByFilmCategory extends org.jooq.impl.TableImpl<org.jooq.examples.mysql.sakila.tables.records.SalesByFilmCategoryRecord> {
private static final long serialVersionUID = 1872656502;
private static final long serialVersionUID = 578034601;
/**
* The singleton instance of sales_by_film_category

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class SalesByStore extends org.jooq.impl.TableImpl<org.jooq.examples.mysql.sakila.tables.records.SalesByStoreRecord> {
private static final long serialVersionUID = -595852613;
private static final long serialVersionUID = 677143406;
/**
* The singleton instance of sales_by_store

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 757418646;
private static final long serialVersionUID = 424041673;
/**
* The singleton instance of staff

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -1545202730;
private static final long serialVersionUID = -426970295;
/**
* The singleton instance of staff_list

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 536949998;
private static final long serialVersionUID = -1985836895;
/**
* The singleton instance of store

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -1894727407;
private static final long serialVersionUID = 1400853071;
/**
* An uncommented item
@ -76,14 +76,4 @@ public class ActorInfoRecord extends org.jooq.impl.TableRecordImpl<org.jooq.exam
public ActorInfoRecord() {
super(org.jooq.examples.mysql.sakila.tables.ActorInfo.ACTOR_INFO);
}
/**
* Create an attached ActorInfoRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public ActorInfoRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.ActorInfo.ACTOR_INFO, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -526265931;
private static final long serialVersionUID = -2044534742;
/**
* An uncommented item
@ -35,7 +35,7 @@ public class ActorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.FilmActorRecord> fetchFilmActorList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.FilmActorRecord> fetchFilmActorList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.FilmActor.FILM_ACTOR)
.where(org.jooq.examples.mysql.sakila.tables.FilmActor.ACTOR_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Actor.ACTOR_ID)))
@ -90,14 +90,4 @@ public class ActorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
public ActorRecord() {
super(org.jooq.examples.mysql.sakila.tables.Actor.ACTOR);
}
/**
* Create an attached ActorRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public ActorRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.Actor.ACTOR, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 1475338319;
private static final long serialVersionUID = 90534782;
/**
* An uncommented item
@ -35,7 +35,7 @@ public class AddressRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord> fetchCustomerList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord> fetchCustomerList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER)
.where(org.jooq.examples.mysql.sakila.tables.Customer.ADDRESS_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS_ID)))
@ -47,7 +47,7 @@ public class AddressRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.StaffRecord> fetchStaffList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.StaffRecord> fetchStaffList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Staff.STAFF)
.where(org.jooq.examples.mysql.sakila.tables.Staff.ADDRESS_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS_ID)))
@ -59,7 +59,7 @@ public class AddressRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.StoreRecord> fetchStoreList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.StoreRecord> fetchStoreList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Store.STORE)
.where(org.jooq.examples.mysql.sakila.tables.Store.ADDRESS_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS_ID)))
@ -140,7 +140,7 @@ public class AddressRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
* REFERENCES city [sakila.city.city_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.CityRecord fetchCity() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.CityRecord fetchCity() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.City.CITY)
.where(org.jooq.examples.mysql.sakila.tables.City.CITY_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Address.CITY_ID)))
@ -195,14 +195,4 @@ public class AddressRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
public AddressRecord() {
super(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS);
}
/**
* Create an attached AddressRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public AddressRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -206769087;
private static final long serialVersionUID = -430880012;
/**
* An uncommented item
@ -35,7 +35,7 @@ public class CategoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.FilmCategoryRecord> fetchFilmCategoryList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.FilmCategoryRecord> fetchFilmCategoryList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.FilmCategory.FILM_CATEGORY)
.where(org.jooq.examples.mysql.sakila.tables.FilmCategory.CATEGORY_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Category.CATEGORY_ID)))
@ -76,14 +76,4 @@ public class CategoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
public CategoryRecord() {
super(org.jooq.examples.mysql.sakila.tables.Category.CATEGORY);
}
/**
* Create an attached CategoryRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public CategoryRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.Category.CATEGORY, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 798690616;
private static final long serialVersionUID = 269426923;
/**
* An uncommented item
@ -35,7 +35,7 @@ public class CityRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.AddressRecord> fetchAddressList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.AddressRecord> fetchAddressList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS)
.where(org.jooq.examples.mysql.sakila.tables.Address.CITY_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.City.CITY_ID)))
@ -88,7 +88,7 @@ public class CityRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
* REFERENCES country [sakila.country.country_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.CountryRecord fetchCountry() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.CountryRecord fetchCountry() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Country.COUNTRY)
.where(org.jooq.examples.mysql.sakila.tables.Country.COUNTRY_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.City.COUNTRY_ID)))
@ -115,14 +115,4 @@ public class CityRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
public CityRecord() {
super(org.jooq.examples.mysql.sakila.tables.City.CITY);
}
/**
* Create an attached CityRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public CityRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.City.CITY, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -514614941;
private static final long serialVersionUID = -1439031168;
/**
* An uncommented item
@ -35,7 +35,7 @@ public class CountryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.CityRecord> fetchCityList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.CityRecord> fetchCityList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.City.CITY)
.where(org.jooq.examples.mysql.sakila.tables.City.COUNTRY_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Country.COUNTRY_ID)))
@ -76,14 +76,4 @@ public class CountryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
public CountryRecord() {
super(org.jooq.examples.mysql.sakila.tables.Country.COUNTRY);
}
/**
* Create an attached CountryRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public CountryRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.Country.COUNTRY, configuration);
}
}

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 1268346155;
private static final long serialVersionUID = -665119557;
/**
* An uncommented item
@ -146,14 +146,4 @@ public class CustomerListRecord extends org.jooq.impl.TableRecordImpl<org.jooq.e
public CustomerListRecord() {
super(org.jooq.examples.mysql.sakila.tables.CustomerList.CUSTOMER_LIST);
}
/**
* Create an attached CustomerListRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public CustomerListRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.CustomerList.CUSTOMER_LIST, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 1894973647;
private static final long serialVersionUID = -372163132;
/**
* An uncommented item
@ -35,7 +35,7 @@ public class CustomerRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord> fetchPaymentList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord> fetchPaymentList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT)
.where(org.jooq.examples.mysql.sakila.tables.Payment.CUSTOMER_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER_ID)))
@ -47,7 +47,7 @@ public class CustomerRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.RentalRecord> fetchRentalList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.RentalRecord> fetchRentalList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL)
.where(org.jooq.examples.mysql.sakila.tables.Rental.CUSTOMER_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER_ID)))
@ -86,7 +86,7 @@ public class CustomerRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
* REFERENCES store [sakila.store.store_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.StoreRecord fetchStore() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.StoreRecord fetchStore() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Store.STORE)
.where(org.jooq.examples.mysql.sakila.tables.Store.STORE_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Customer.STORE_ID)))
@ -167,7 +167,7 @@ public class CustomerRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
* REFERENCES address [sakila.address.address_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.AddressRecord fetchAddress() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.AddressRecord fetchAddress() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS)
.where(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Customer.ADDRESS_ID)))
@ -222,14 +222,4 @@ public class CustomerRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
public CustomerRecord() {
super(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER);
}
/**
* Create an attached CustomerRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public CustomerRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 984586099;
private static final long serialVersionUID = -1884969897;
/**
* An uncommented item
@ -50,7 +50,7 @@ public class FilmActorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
* REFERENCES actor [sakila.actor.actor_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.ActorRecord fetchActor() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.ActorRecord fetchActor() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Actor.ACTOR)
.where(org.jooq.examples.mysql.sakila.tables.Actor.ACTOR_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.FilmActor.ACTOR_ID)))
@ -95,7 +95,7 @@ public class FilmActorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
* REFERENCES film [sakila.film.film_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.FilmRecord fetchFilm() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.FilmRecord fetchFilm() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Film.FILM)
.where(org.jooq.examples.mysql.sakila.tables.Film.FILM_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.FilmActor.FILM_ID)))
@ -122,14 +122,4 @@ public class FilmActorRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
public FilmActorRecord() {
super(org.jooq.examples.mysql.sakila.tables.FilmActor.FILM_ACTOR);
}
/**
* Create an attached FilmActorRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public FilmActorRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.FilmActor.FILM_ACTOR, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -729546860;
private static final long serialVersionUID = -698267418;
/**
* An uncommented item
@ -50,7 +50,7 @@ public class FilmCategoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jo
* REFERENCES film [sakila.film.film_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.FilmRecord fetchFilm() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.FilmRecord fetchFilm() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Film.FILM)
.where(org.jooq.examples.mysql.sakila.tables.Film.FILM_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.FilmCategory.FILM_ID)))
@ -95,7 +95,7 @@ public class FilmCategoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jo
* REFERENCES category [sakila.category.category_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.CategoryRecord fetchCategory() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.CategoryRecord fetchCategory() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Category.CATEGORY)
.where(org.jooq.examples.mysql.sakila.tables.Category.CATEGORY_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.FilmCategory.CATEGORY_ID)))
@ -122,14 +122,4 @@ public class FilmCategoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jo
public FilmCategoryRecord() {
super(org.jooq.examples.mysql.sakila.tables.FilmCategory.FILM_CATEGORY);
}
/**
* Create an attached FilmCategoryRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public FilmCategoryRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.FilmCategory.FILM_CATEGORY, configuration);
}
}

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -40627865;
private static final long serialVersionUID = -1682189513;
/**
* An uncommented item
@ -132,14 +132,4 @@ public class FilmListRecord extends org.jooq.impl.TableRecordImpl<org.jooq.examp
public FilmListRecord() {
super(org.jooq.examples.mysql.sakila.tables.FilmList.FILM_LIST);
}
/**
* Create an attached FilmListRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public FilmListRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.FilmList.FILM_LIST, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 134244178;
private static final long serialVersionUID = -1456197169;
/**
* An uncommented item
@ -35,7 +35,7 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.FilmActorRecord> fetchFilmActorList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.FilmActorRecord> fetchFilmActorList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.FilmActor.FILM_ACTOR)
.where(org.jooq.examples.mysql.sakila.tables.FilmActor.FILM_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Film.FILM_ID)))
@ -47,7 +47,7 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.FilmCategoryRecord> fetchFilmCategoryList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.FilmCategoryRecord> fetchFilmCategoryList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.FilmCategory.FILM_CATEGORY)
.where(org.jooq.examples.mysql.sakila.tables.FilmCategory.FILM_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Film.FILM_ID)))
@ -59,7 +59,7 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord> fetchInventoryList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord> fetchInventoryList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY)
.where(org.jooq.examples.mysql.sakila.tables.Inventory.FILM_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Film.FILM_ID)))
@ -140,7 +140,7 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
* REFERENCES language [sakila.language.language_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.LanguageRecord fetchLanguageByLanguageId() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.LanguageRecord fetchLanguageByLanguageId() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE)
.where(org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Film.LANGUAGE_ID)))
@ -179,7 +179,7 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
* REFERENCES language [sakila.language.language_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.LanguageRecord fetchLanguageByOriginalLanguageId() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.LanguageRecord fetchLanguageByOriginalLanguageId() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE)
.where(org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Film.ORIGINAL_LANGUAGE_ID)))
@ -290,14 +290,4 @@ public class FilmRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examp
public FilmRecord() {
super(org.jooq.examples.mysql.sakila.tables.Film.FILM);
}
/**
* Create an attached FilmRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public FilmRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.Film.FILM, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class FilmTextRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.FilmTextRecord> {
private static final long serialVersionUID = -462348424;
private static final long serialVersionUID = -2037559610;
/**
* An uncommented item
@ -64,14 +64,4 @@ public class FilmTextRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
public FilmTextRecord() {
super(org.jooq.examples.mysql.sakila.tables.FilmText.FILM_TEXT);
}
/**
* Create an attached FilmTextRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public FilmTextRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.FilmText.FILM_TEXT, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 165193927;
private static final long serialVersionUID = -1209122156;
/**
* An uncommented item
@ -35,7 +35,7 @@ public class InventoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.RentalRecord> fetchRentalList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.RentalRecord> fetchRentalList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL)
.where(org.jooq.examples.mysql.sakila.tables.Rental.INVENTORY_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY_ID)))
@ -74,7 +74,7 @@ public class InventoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
* REFERENCES film [sakila.film.film_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.FilmRecord fetchFilm() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.FilmRecord fetchFilm() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Film.FILM)
.where(org.jooq.examples.mysql.sakila.tables.Film.FILM_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Inventory.FILM_ID)))
@ -113,7 +113,7 @@ public class InventoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
* REFERENCES store [sakila.store.store_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.StoreRecord fetchStore() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.StoreRecord fetchStore() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Store.STORE)
.where(org.jooq.examples.mysql.sakila.tables.Store.STORE_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Inventory.STORE_ID)))
@ -140,14 +140,4 @@ public class InventoryRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.
public InventoryRecord() {
super(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY);
}
/**
* Create an attached InventoryRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public InventoryRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -1696856415;
private static final long serialVersionUID = -2035542076;
/**
* An uncommented item
@ -35,7 +35,7 @@ public class LanguageRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.FilmRecord> fetchFilmListByLanguageId() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.FilmRecord> fetchFilmListByLanguageId() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Film.FILM)
.where(org.jooq.examples.mysql.sakila.tables.Film.LANGUAGE_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE_ID)))
@ -47,7 +47,7 @@ public class LanguageRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.FilmRecord> fetchFilmListByOriginalLanguageId() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.FilmRecord> fetchFilmListByOriginalLanguageId() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Film.FILM)
.where(org.jooq.examples.mysql.sakila.tables.Film.ORIGINAL_LANGUAGE_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE_ID)))
@ -88,14 +88,4 @@ public class LanguageRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.e
public LanguageRecord() {
super(org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE);
}
/**
* Create an attached LanguageRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public LanguageRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.Language.LANGUAGE, configuration);
}
}

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 1311609919;
private static final long serialVersionUID = -1150882026;
/**
* An uncommented item
@ -132,14 +132,4 @@ public class NicerButSlowerFilmListRecord extends org.jooq.impl.TableRecordImpl<
public NicerButSlowerFilmListRecord() {
super(org.jooq.examples.mysql.sakila.tables.NicerButSlowerFilmList.NICER_BUT_SLOWER_FILM_LIST);
}
/**
* Create an attached NicerButSlowerFilmListRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public NicerButSlowerFilmListRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.NicerButSlowerFilmList.NICER_BUT_SLOWER_FILM_LIST, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 752994409;
private static final long serialVersionUID = -1067006230;
/**
* An uncommented item
@ -62,7 +62,7 @@ public class PaymentRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
* REFERENCES customer [sakila.customer.customer_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.CustomerRecord fetchCustomer() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.CustomerRecord fetchCustomer() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER)
.where(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Payment.CUSTOMER_ID)))
@ -101,7 +101,7 @@ public class PaymentRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
* REFERENCES staff [sakila.staff.staff_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.StaffRecord fetchStaff() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.StaffRecord fetchStaff() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Staff.STAFF)
.where(org.jooq.examples.mysql.sakila.tables.Staff.STAFF_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Payment.STAFF_ID)))
@ -140,7 +140,7 @@ public class PaymentRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
* REFERENCES rental [sakila.rental.rental_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.RentalRecord fetchRental() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.RentalRecord fetchRental() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL)
.where(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Payment.RENTAL_ID)))
@ -195,14 +195,4 @@ public class PaymentRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.ex
public PaymentRecord() {
super(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT);
}
/**
* Create an attached PaymentRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public PaymentRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 454811935;
private static final long serialVersionUID = -2029814380;
/**
* An uncommented item
@ -35,7 +35,7 @@ public class RentalRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exa
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord> fetchPaymentList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord> fetchPaymentList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT)
.where(org.jooq.examples.mysql.sakila.tables.Payment.RENTAL_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL_ID)))
@ -88,7 +88,7 @@ public class RentalRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exa
* REFERENCES inventory [sakila.inventory.inventory_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.InventoryRecord fetchInventory() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.InventoryRecord fetchInventory() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY)
.where(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Rental.INVENTORY_ID)))
@ -127,7 +127,7 @@ public class RentalRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exa
* REFERENCES customer [sakila.customer.customer_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.CustomerRecord fetchCustomer() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.CustomerRecord fetchCustomer() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER)
.where(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Rental.CUSTOMER_ID)))
@ -180,7 +180,7 @@ public class RentalRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exa
* REFERENCES staff [sakila.staff.staff_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.StaffRecord fetchStaff() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.StaffRecord fetchStaff() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Staff.STAFF)
.where(org.jooq.examples.mysql.sakila.tables.Staff.STAFF_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Rental.STAFF_ID)))
@ -207,14 +207,4 @@ public class RentalRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exa
public RentalRecord() {
super(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL);
}
/**
* Create an attached RentalRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public RentalRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL, configuration);
}
}

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class SalesByFilmCategoryRecord extends org.jooq.impl.TableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.SalesByFilmCategoryRecord> {
private static final long serialVersionUID = 968990861;
private static final long serialVersionUID = 2096646353;
/**
* An uncommented item
@ -48,14 +48,4 @@ public class SalesByFilmCategoryRecord extends org.jooq.impl.TableRecordImpl<org
public SalesByFilmCategoryRecord() {
super(org.jooq.examples.mysql.sakila.tables.SalesByFilmCategory.SALES_BY_FILM_CATEGORY);
}
/**
* Create an attached SalesByFilmCategoryRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public SalesByFilmCategoryRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.SalesByFilmCategory.SALES_BY_FILM_CATEGORY, configuration);
}
}

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
comments = "This class is generated by jOOQ")
public class SalesByStoreRecord extends org.jooq.impl.TableRecordImpl<org.jooq.examples.mysql.sakila.tables.records.SalesByStoreRecord> {
private static final long serialVersionUID = 1940921837;
private static final long serialVersionUID = 1943534958;
/**
* An uncommented item
@ -62,14 +62,4 @@ public class SalesByStoreRecord extends org.jooq.impl.TableRecordImpl<org.jooq.e
public SalesByStoreRecord() {
super(org.jooq.examples.mysql.sakila.tables.SalesByStore.SALES_BY_STORE);
}
/**
* Create an attached SalesByStoreRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public SalesByStoreRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.SalesByStore.SALES_BY_STORE, configuration);
}
}

View File

@ -8,11 +8,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
*
* VIEW
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 713714667;
private static final long serialVersionUID = -1473067299;
/**
* An uncommented item
@ -132,14 +132,4 @@ public class StaffListRecord extends org.jooq.impl.TableRecordImpl<org.jooq.exam
public StaffListRecord() {
super(org.jooq.examples.mysql.sakila.tables.StaffList.STAFF_LIST);
}
/**
* Create an attached StaffListRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public StaffListRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.StaffList.STAFF_LIST, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = 1559655360;
private static final long serialVersionUID = 726693657;
/**
* An uncommented item
@ -35,7 +35,7 @@ public class StaffRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord> fetchPaymentList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.PaymentRecord> fetchPaymentList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Payment.PAYMENT)
.where(org.jooq.examples.mysql.sakila.tables.Payment.STAFF_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Staff.STAFF_ID)))
@ -47,7 +47,7 @@ public class StaffRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.RentalRecord> fetchRentalList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.RentalRecord> fetchRentalList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Rental.RENTAL)
.where(org.jooq.examples.mysql.sakila.tables.Rental.STAFF_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Staff.STAFF_ID)))
@ -59,7 +59,7 @@ public class StaffRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.StoreRecord> fetchStoreList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.StoreRecord> fetchStoreList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Store.STORE)
.where(org.jooq.examples.mysql.sakila.tables.Store.MANAGER_STAFF_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Staff.STAFF_ID)))
@ -126,7 +126,7 @@ public class StaffRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
* REFERENCES address [sakila.address.address_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.AddressRecord fetchAddress() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.AddressRecord fetchAddress() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS)
.where(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Staff.ADDRESS_ID)))
@ -193,7 +193,7 @@ public class StaffRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
* REFERENCES store [sakila.store.store_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.StoreRecord fetchStore() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.StoreRecord fetchStore() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Store.STORE)
.where(org.jooq.examples.mysql.sakila.tables.Store.STORE_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Staff.STORE_ID)))
@ -262,14 +262,4 @@ public class StaffRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
public StaffRecord() {
super(org.jooq.examples.mysql.sakila.tables.Staff.STAFF);
}
/**
* Create an attached StaffRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public StaffRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.Staff.STAFF, configuration);
}
}

View File

@ -6,11 +6,11 @@ package org.jooq.examples.mysql.sakila.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "1.6.8"},
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.0.0"},
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 = -1869857559;
private static final long serialVersionUID = -939882018;
/**
* An uncommented item
@ -35,7 +35,7 @@ public class StoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord> fetchCustomerList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.CustomerRecord> fetchCustomerList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Customer.CUSTOMER)
.where(org.jooq.examples.mysql.sakila.tables.Customer.STORE_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Store.STORE_ID)))
@ -47,7 +47,7 @@ public class StoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord> fetchInventoryList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.InventoryRecord> fetchInventoryList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Inventory.INVENTORY)
.where(org.jooq.examples.mysql.sakila.tables.Inventory.STORE_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Store.STORE_ID)))
@ -59,7 +59,7 @@ public class StoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
*
* PRIMARY KEY
*/
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.StaffRecord> fetchStaffList() throws java.sql.SQLException {
public java.util.List<org.jooq.examples.mysql.sakila.tables.records.StaffRecord> fetchStaffList() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Staff.STAFF)
.where(org.jooq.examples.mysql.sakila.tables.Staff.STORE_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Store.STORE_ID)))
@ -98,7 +98,7 @@ public class StoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
* REFERENCES staff [sakila.staff.staff_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.StaffRecord fetchStaff() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.StaffRecord fetchStaff() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Staff.STAFF)
.where(org.jooq.examples.mysql.sakila.tables.Staff.STAFF_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Store.MANAGER_STAFF_ID)))
@ -137,7 +137,7 @@ public class StoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
* REFERENCES address [sakila.address.address_id]
* </pre></code>
*/
public org.jooq.examples.mysql.sakila.tables.records.AddressRecord fetchAddress() throws java.sql.SQLException {
public org.jooq.examples.mysql.sakila.tables.records.AddressRecord fetchAddress() {
return create()
.selectFrom(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS)
.where(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.Store.ADDRESS_ID)))
@ -164,14 +164,4 @@ public class StoreRecord extends org.jooq.impl.UpdatableRecordImpl<org.jooq.exam
public StoreRecord() {
super(org.jooq.examples.mysql.sakila.tables.Store.STORE);
}
/**
* Create an attached StoreRecord
* @deprecated - 1.6.4 [#363, #789] - use the other constructor instead for unattached
* records, or {@link org.jooq.impl.Factory#newRecord(org.jooq.Table)} for attached ones
*/
@Deprecated
public StoreRecord(org.jooq.Configuration configuration) {
super(org.jooq.examples.mysql.sakila.tables.Store.STORE, configuration);
}
}

Some files were not shown because too many files have changed in this diff Show More