Skip to content

Commit

Permalink
[#4046] Add support for ALTER TABLE ADD CONSTRAINT .. FOREIGN KEY sta…
Browse files Browse the repository at this point in the history
…tements
  • Loading branch information
lukaseder committed Feb 9, 2015
1 parent 9af5f22 commit ee72f49
Show file tree
Hide file tree
Showing 22 changed files with 90 additions and 2 deletions.
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep1<T1> {
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
ConstraintForeignKeyOnStep references(String table, String field1); @Support
ConstraintFinalStep references(String table, String field1);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
ConstraintForeignKeyOnStep references(Table<?> table, Field<T1> field1); @Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep10<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep11<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep12<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep13<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep14<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep15<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep16<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep17<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16, String field17); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16, String field17);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep18<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16, String field17, String field18); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16, String field17, String field18);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep19<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16, String field17, String field18, String field19); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16, String field17, String field18, String field19);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep2<T1, T2> {
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2); ConstraintFinalStep references(String table, String field1, String field2);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep20<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16, String field17, String field18, String field19, String field20); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16, String field17, String field18, String field19, String field20);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep21<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16, String field17, String field18, String field19, String field20, String field21); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16, String field17, String field18, String field19, String field20, String field21);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep22<T1, T2, T3, T4, T5, T6, T7
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16, String field17, String field18, String field19, String field20, String field21, String field22); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5, String field6, String field7, String field8, String field9, String field10, String field11, String field12, String field13, String field14, String field15, String field16, String field17, String field18, String field19, String field20, String field21, String field22);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep3<T1, T2, T3> {
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3); ConstraintFinalStep references(String table, String field1, String field2, String field3);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep4<T1, T2, T3, T4> {
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4);
} }
Expand Up @@ -42,6 +42,8 @@


import javax.annotation.Generated; import javax.annotation.Generated;


import org.jooq.Support;

/** /**
* The step in the {@link Constraint} construction DSL API that allows for * The step in the {@link Constraint} construction DSL API that allows for
* matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code> * matching a <code>FOREIGN KEY</code> clause with a <code>REFERENCES</code>
Expand All @@ -55,10 +57,12 @@ public interface ConstraintForeignKeyReferencesStep5<T1, T2, T3, T4, T5> {
/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5); ConstraintFinalStep references(String table, String field1, String field2, String field3, String field4, String field5);


/** /**
* Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>. * Add a <code>REFERENCES</code> clause to the <code>CONSTRAINT</code>.
*/ */
@Support
ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5); ConstraintFinalStep references(Table<?> table, Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5);
} }

0 comments on commit ee72f49

Please sign in to comment.