[#797] Create Maven plugin for source code generation
This commit is contained in:
parent
c87b52533f
commit
c9ceee1e38
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,338 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*
|
||||
* Convenience access to all stored functions in public
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public final class Functions {
|
||||
|
||||
/**
|
||||
* Invoke F_ARRAYS
|
||||
*
|
||||
* @param inArray
|
||||
*/
|
||||
public static java.lang.Integer[] fArrays1(org.jooq.Configuration configuration, java.lang.Integer[] inArray) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.functions.FArrays1 f = new org.jooq.util.maven.example.functions.FArrays1();
|
||||
f.setInArray(inArray);
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_ARRAYS as a field
|
||||
*
|
||||
* @param inArray
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.Integer[]> fArrays1(java.lang.Integer[] inArray) {
|
||||
org.jooq.util.maven.example.functions.FArrays1 f = new org.jooq.util.maven.example.functions.FArrays1();
|
||||
f.setInArray(inArray);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_ARRAYS as a field
|
||||
*
|
||||
* @param inArray
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.Integer[]> fArrays1(org.jooq.Field<java.lang.Integer[]> inArray) {
|
||||
org.jooq.util.maven.example.functions.FArrays1 f = new org.jooq.util.maven.example.functions.FArrays1();
|
||||
f.setInArray(inArray);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke F_ARRAYS
|
||||
*
|
||||
* @param inArray
|
||||
*/
|
||||
public static java.lang.Long[] fArrays2(org.jooq.Configuration configuration, java.lang.Long[] inArray) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.functions.FArrays2 f = new org.jooq.util.maven.example.functions.FArrays2();
|
||||
f.setInArray(inArray);
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_ARRAYS as a field
|
||||
*
|
||||
* @param inArray
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.Long[]> fArrays2(java.lang.Long[] inArray) {
|
||||
org.jooq.util.maven.example.functions.FArrays2 f = new org.jooq.util.maven.example.functions.FArrays2();
|
||||
f.setInArray(inArray);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_ARRAYS as a field
|
||||
*
|
||||
* @param inArray
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.Long[]> fArrays2(org.jooq.Field<java.lang.Long[]> inArray) {
|
||||
org.jooq.util.maven.example.functions.FArrays2 f = new org.jooq.util.maven.example.functions.FArrays2();
|
||||
f.setInArray(inArray);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke F_ARRAYS
|
||||
*
|
||||
* @param inArray
|
||||
*/
|
||||
public static java.lang.String[] fArrays3(org.jooq.Configuration configuration, java.lang.String[] inArray) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.functions.FArrays3 f = new org.jooq.util.maven.example.functions.FArrays3();
|
||||
f.setInArray(inArray);
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_ARRAYS as a field
|
||||
*
|
||||
* @param inArray
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.String[]> fArrays3(java.lang.String[] inArray) {
|
||||
org.jooq.util.maven.example.functions.FArrays3 f = new org.jooq.util.maven.example.functions.FArrays3();
|
||||
f.setInArray(inArray);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_ARRAYS as a field
|
||||
*
|
||||
* @param inArray
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.String[]> fArrays3(org.jooq.Field<java.lang.String[]> inArray) {
|
||||
org.jooq.util.maven.example.functions.FArrays3 f = new org.jooq.util.maven.example.functions.FArrays3();
|
||||
f.setInArray(inArray);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke F_AUTHOR_EXISTS
|
||||
*
|
||||
* @param authorName
|
||||
*/
|
||||
public static java.lang.Integer fAuthorExists(org.jooq.Configuration configuration, java.lang.String authorName) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.functions.FAuthorExists f = new org.jooq.util.maven.example.functions.FAuthorExists();
|
||||
f.setAuthorName(authorName);
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_AUTHOR_EXISTS as a field
|
||||
*
|
||||
* @param authorName
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.Integer> fAuthorExists(java.lang.String authorName) {
|
||||
org.jooq.util.maven.example.functions.FAuthorExists f = new org.jooq.util.maven.example.functions.FAuthorExists();
|
||||
f.setAuthorName(authorName);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_AUTHOR_EXISTS as a field
|
||||
*
|
||||
* @param authorName
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.Integer> fAuthorExists(org.jooq.Field<java.lang.String> authorName) {
|
||||
org.jooq.util.maven.example.functions.FAuthorExists f = new org.jooq.util.maven.example.functions.FAuthorExists();
|
||||
f.setAuthorName(authorName);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke F_GET_ONE_CURSOR
|
||||
*
|
||||
* @param bookIds
|
||||
*/
|
||||
public static org.jooq.Result<org.jooq.Record> fGetOneCursor(org.jooq.Configuration configuration, java.lang.Integer[] bookIds) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.functions.FGetOneCursor f = new org.jooq.util.maven.example.functions.FGetOneCursor();
|
||||
f.setBookIds(bookIds);
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_GET_ONE_CURSOR as a field
|
||||
*
|
||||
* @param bookIds
|
||||
*/
|
||||
public static org.jooq.Field<org.jooq.Result<org.jooq.Record>> fGetOneCursor(java.lang.Integer[] bookIds) {
|
||||
org.jooq.util.maven.example.functions.FGetOneCursor f = new org.jooq.util.maven.example.functions.FGetOneCursor();
|
||||
f.setBookIds(bookIds);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_GET_ONE_CURSOR as a field
|
||||
*
|
||||
* @param bookIds
|
||||
*/
|
||||
public static org.jooq.Field<org.jooq.Result<org.jooq.Record>> fGetOneCursor(org.jooq.Field<java.lang.Integer[]> bookIds) {
|
||||
org.jooq.util.maven.example.functions.FGetOneCursor f = new org.jooq.util.maven.example.functions.FGetOneCursor();
|
||||
f.setBookIds(bookIds);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke F_NUMBER
|
||||
*
|
||||
* @param n
|
||||
*/
|
||||
public static java.lang.Integer fNumber(org.jooq.Configuration configuration, java.lang.Integer n) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.functions.FNumber f = new org.jooq.util.maven.example.functions.FNumber();
|
||||
f.setN(n);
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_NUMBER as a field
|
||||
*
|
||||
* @param n
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.Integer> fNumber(java.lang.Integer n) {
|
||||
org.jooq.util.maven.example.functions.FNumber f = new org.jooq.util.maven.example.functions.FNumber();
|
||||
f.setN(n);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_NUMBER as a field
|
||||
*
|
||||
* @param n
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.Integer> fNumber(org.jooq.Field<java.lang.Integer> n) {
|
||||
org.jooq.util.maven.example.functions.FNumber f = new org.jooq.util.maven.example.functions.FNumber();
|
||||
f.setN(n);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke F_ONE
|
||||
*
|
||||
*/
|
||||
public static java.lang.Integer fOne(org.jooq.Configuration configuration) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.functions.FOne f = new org.jooq.util.maven.example.functions.FOne();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F_ONE as a field
|
||||
*
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.Integer> fOne() {
|
||||
org.jooq.util.maven.example.functions.FOne f = new org.jooq.util.maven.example.functions.FOne();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke F317
|
||||
*
|
||||
* @param p1
|
||||
* @param p2
|
||||
* @param p3
|
||||
* @param p4
|
||||
*/
|
||||
public static java.lang.Integer f317(org.jooq.Configuration configuration, java.lang.Integer p1, java.lang.Integer p2, java.lang.Integer p3, java.lang.Integer p4) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.functions.F317 f = new org.jooq.util.maven.example.functions.F317();
|
||||
f.setP1(p1);
|
||||
f.setP2(p2);
|
||||
f.setP3(p3);
|
||||
f.setP4(p4);
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F317 as a field
|
||||
*
|
||||
* @param p1
|
||||
* @param p2
|
||||
* @param p3
|
||||
* @param p4
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.Integer> f317(java.lang.Integer p1, java.lang.Integer p2, java.lang.Integer p3, java.lang.Integer p4) {
|
||||
org.jooq.util.maven.example.functions.F317 f = new org.jooq.util.maven.example.functions.F317();
|
||||
f.setP1(p1);
|
||||
f.setP2(p2);
|
||||
f.setP3(p3);
|
||||
f.setP4(p4);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get F317 as a field
|
||||
*
|
||||
* @param p1
|
||||
* @param p2
|
||||
* @param p3
|
||||
* @param p4
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.Integer> f317(org.jooq.Field<java.lang.Integer> p1, org.jooq.Field<java.lang.Integer> p2, org.jooq.Field<java.lang.Integer> p3, org.jooq.Field<java.lang.Integer> p4) {
|
||||
org.jooq.util.maven.example.functions.F317 f = new org.jooq.util.maven.example.functions.F317();
|
||||
f.setP1(p1);
|
||||
f.setP2(p2);
|
||||
f.setP3(p3);
|
||||
f.setP4(p4);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P_TRIGGERS
|
||||
*
|
||||
*/
|
||||
public static java.lang.Object pTriggers(org.jooq.Configuration configuration) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.functions.PTriggers f = new org.jooq.util.maven.example.functions.PTriggers();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get P_TRIGGERS as a field
|
||||
*
|
||||
*/
|
||||
public static org.jooq.Field<java.lang.Object> pTriggers() {
|
||||
org.jooq.util.maven.example.functions.PTriggers f = new org.jooq.util.maven.example.functions.PTriggers();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* No instances
|
||||
*/
|
||||
private Functions() {}
|
||||
}
|
||||
@ -1,63 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*
|
||||
* A class modelling foreign key relationships between tables of the public schema
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
@SuppressWarnings({"unchecked"})
|
||||
public class Keys extends org.jooq.impl.AbstractKeys {
|
||||
|
||||
// IDENTITY definitions
|
||||
public static final org.jooq.Identity<org.jooq.util.maven.example.tables.records.TBookStoreRecord, java.lang.Integer> IDENTITY_t_book_store = createIdentity(org.jooq.util.maven.example.tables.TBookStore.T_BOOK_STORE, org.jooq.util.maven.example.tables.TBookStore.ID);
|
||||
public static final org.jooq.Identity<org.jooq.util.maven.example.tables.records.TTriggersRecord, java.lang.Integer> IDENTITY_t_triggers = createIdentity(org.jooq.util.maven.example.tables.TTriggers.T_TRIGGERS, org.jooq.util.maven.example.tables.TTriggers.ID_GENERATED);
|
||||
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.T_639NumbersTableRecord> pk_t_639_numbers_table = createUniqueKey(org.jooq.util.maven.example.tables.T_639NumbersTable.T_639_NUMBERS_TABLE, org.jooq.util.maven.example.tables.T_639NumbersTable.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.T_658_11Record> pk_t_658_11 = createUniqueKey(org.jooq.util.maven.example.tables.T_658_11.T_658_11, org.jooq.util.maven.example.tables.T_658_11.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.T_658_12Record> pk_t_658_12 = createUniqueKey(org.jooq.util.maven.example.tables.T_658_12.T_658_12, org.jooq.util.maven.example.tables.T_658_12.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.T_658_21Record> pk_t_658_21 = createUniqueKey(org.jooq.util.maven.example.tables.T_658_21.T_658_21, org.jooq.util.maven.example.tables.T_658_21.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.T_658_22Record> pk_t_658_22 = createUniqueKey(org.jooq.util.maven.example.tables.T_658_22.T_658_22, org.jooq.util.maven.example.tables.T_658_22.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.T_658_31Record> pk_t_658_31 = createUniqueKey(org.jooq.util.maven.example.tables.T_658_31.T_658_31, org.jooq.util.maven.example.tables.T_658_31.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.T_658_32Record> pk_t_658_32 = createUniqueKey(org.jooq.util.maven.example.tables.T_658_32.T_658_32, org.jooq.util.maven.example.tables.T_658_32.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.T_725LobTestRecord> pk_t_725_lob_test = createUniqueKey(org.jooq.util.maven.example.tables.T_725LobTest.T_725_LOB_TEST, org.jooq.util.maven.example.tables.T_725LobTest.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.TArraysRecord> pk_t_arrays = createUniqueKey(org.jooq.util.maven.example.tables.TArrays.T_ARRAYS, org.jooq.util.maven.example.tables.TArrays.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.TAuthorRecord> pk_t_author = createUniqueKey(org.jooq.util.maven.example.tables.TAuthor.T_AUTHOR, org.jooq.util.maven.example.tables.TAuthor.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.TBookRecord> pk_t_book = createUniqueKey(org.jooq.util.maven.example.tables.TBook.T_BOOK, org.jooq.util.maven.example.tables.TBook.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.TBookDetailsRecord> pk_t_book_details = createUniqueKey(org.jooq.util.maven.example.tables.TBookDetails.T_BOOK_DETAILS, org.jooq.util.maven.example.tables.TBookDetails.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.TBookStoreRecord> uk_t_book_store_name = createUniqueKey(org.jooq.util.maven.example.tables.TBookStore.T_BOOK_STORE, org.jooq.util.maven.example.tables.TBookStore.NAME);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.TBookToBookStoreRecord> pk_b2bs = createUniqueKey(org.jooq.util.maven.example.tables.TBookToBookStore.T_BOOK_TO_BOOK_STORE, org.jooq.util.maven.example.tables.TBookToBookStore.BOOK_STORE_NAME, org.jooq.util.maven.example.tables.TBookToBookStore.BOOK_ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.TTriggersRecord> pk_t_triggers = createUniqueKey(org.jooq.util.maven.example.tables.TTriggers.T_TRIGGERS, org.jooq.util.maven.example.tables.TTriggers.ID_GENERATED);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.XTestCase_64_69Record> pk_x_test_case_64_69 = createUniqueKey(org.jooq.util.maven.example.tables.XTestCase_64_69.X_TEST_CASE_64_69, org.jooq.util.maven.example.tables.XTestCase_64_69.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.XTestCase_71Record> pk_x_test_case_71 = createUniqueKey(org.jooq.util.maven.example.tables.XTestCase_71.X_TEST_CASE_71, org.jooq.util.maven.example.tables.XTestCase_71.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.XTestCase_85Record> pk_x_test_case_85 = createUniqueKey(org.jooq.util.maven.example.tables.XTestCase_85.X_TEST_CASE_85, org.jooq.util.maven.example.tables.XTestCase_85.ID);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.XUnusedRecord> pk_x_unused = createUniqueKey(org.jooq.util.maven.example.tables.XUnused.X_UNUSED, org.jooq.util.maven.example.tables.XUnused.ID, org.jooq.util.maven.example.tables.XUnused.NAME);
|
||||
public static final org.jooq.UniqueKey<org.jooq.util.maven.example.tables.records.XUnusedRecord> uk_x_unused_id = createUniqueKey(org.jooq.util.maven.example.tables.XUnused.X_UNUSED, org.jooq.util.maven.example.tables.XUnused.ID);
|
||||
|
||||
// FOREIGN KEY definitions
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.T_658RefRecord, org.jooq.util.maven.example.tables.records.T_658_11Record> fk_t_658_11 = createForeignKey(pk_t_658_11, org.jooq.util.maven.example.tables.T_658Ref.T_658_REF, org.jooq.util.maven.example.tables.T_658Ref.REF_11);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.T_658RefRecord, org.jooq.util.maven.example.tables.records.T_658_21Record> fk_t_658_21 = createForeignKey(pk_t_658_21, org.jooq.util.maven.example.tables.T_658Ref.T_658_REF, org.jooq.util.maven.example.tables.T_658Ref.REF_21);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.T_658RefRecord, org.jooq.util.maven.example.tables.records.T_658_31Record> fk_t_658_31 = createForeignKey(pk_t_658_31, org.jooq.util.maven.example.tables.T_658Ref.T_658_REF, org.jooq.util.maven.example.tables.T_658Ref.REF_31);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.T_658RefRecord, org.jooq.util.maven.example.tables.records.T_658_12Record> fk_t_658_12 = createForeignKey(pk_t_658_12, org.jooq.util.maven.example.tables.T_658Ref.T_658_REF, org.jooq.util.maven.example.tables.T_658Ref.REF_12);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.T_658RefRecord, org.jooq.util.maven.example.tables.records.T_658_22Record> fk_t_658_22 = createForeignKey(pk_t_658_22, org.jooq.util.maven.example.tables.T_658Ref.T_658_REF, org.jooq.util.maven.example.tables.T_658Ref.REF_22);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.T_658RefRecord, org.jooq.util.maven.example.tables.records.T_658_32Record> fk_t_658_32 = createForeignKey(pk_t_658_32, org.jooq.util.maven.example.tables.T_658Ref.T_658_REF, org.jooq.util.maven.example.tables.T_658Ref.REF_32);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.TBookRecord, org.jooq.util.maven.example.tables.records.TAuthorRecord> fk_t_book_author_id = createForeignKey(pk_t_author, org.jooq.util.maven.example.tables.TBook.T_BOOK, org.jooq.util.maven.example.tables.TBook.AUTHOR_ID);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.TBookRecord, org.jooq.util.maven.example.tables.records.TAuthorRecord> fk_t_book_co_author_id = createForeignKey(pk_t_author, org.jooq.util.maven.example.tables.TBook.T_BOOK, org.jooq.util.maven.example.tables.TBook.CO_AUTHOR_ID);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.TBookRecord, org.jooq.util.maven.example.tables.records.TBookDetailsRecord> fk_t_book_details_id = createForeignKey(pk_t_book_details, org.jooq.util.maven.example.tables.TBook.T_BOOK, org.jooq.util.maven.example.tables.TBook.DETAILS_ID);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.TBookToBookStoreRecord, org.jooq.util.maven.example.tables.records.TBookStoreRecord> fk_b2bs_bs_name = createForeignKey(uk_t_book_store_name, org.jooq.util.maven.example.tables.TBookToBookStore.T_BOOK_TO_BOOK_STORE, org.jooq.util.maven.example.tables.TBookToBookStore.BOOK_STORE_NAME);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.TBookToBookStoreRecord, org.jooq.util.maven.example.tables.records.TBookRecord> fk_b2bs_b_id = createForeignKey(pk_t_book, org.jooq.util.maven.example.tables.TBookToBookStore.T_BOOK_TO_BOOK_STORE, org.jooq.util.maven.example.tables.TBookToBookStore.BOOK_ID);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.XTestCase_64_69Record, org.jooq.util.maven.example.tables.records.XUnusedRecord> fk_x_test_case_64_69 = createForeignKey(uk_x_unused_id, org.jooq.util.maven.example.tables.XTestCase_64_69.X_TEST_CASE_64_69, org.jooq.util.maven.example.tables.XTestCase_64_69.UNUSED_ID);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.XTestCase_71Record, org.jooq.util.maven.example.tables.records.XTestCase_64_69Record> fk_x_test_case_71 = createForeignKey(pk_x_test_case_64_69, org.jooq.util.maven.example.tables.XTestCase_71.X_TEST_CASE_71, org.jooq.util.maven.example.tables.XTestCase_71.TEST_CASE_64_69_ID);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.XTestCase_85Record, org.jooq.util.maven.example.tables.records.XUnusedRecord> fk_x_test_case_85 = createForeignKey(pk_x_unused, org.jooq.util.maven.example.tables.XTestCase_85.X_TEST_CASE_85, org.jooq.util.maven.example.tables.XTestCase_85.X_UNUSED_ID, org.jooq.util.maven.example.tables.XTestCase_85.X_UNUSED_NAME);
|
||||
public static final org.jooq.ForeignKey<org.jooq.util.maven.example.tables.records.XUnusedRecord, org.jooq.util.maven.example.tables.records.XUnusedRecord> fk_x_unused_self = createForeignKey(pk_x_unused, org.jooq.util.maven.example.tables.XUnused.X_UNUSED, org.jooq.util.maven.example.tables.XUnused.ID_REF, org.jooq.util.maven.example.tables.XUnused.NAME_REF);
|
||||
|
||||
/**
|
||||
* No instances
|
||||
*/
|
||||
private Keys() {}
|
||||
}
|
||||
@ -1,203 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*
|
||||
* Convenience access to all stored procedures in public
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public final class Procedures {
|
||||
|
||||
/**
|
||||
* Invoke P_ARRAYS
|
||||
*
|
||||
* @param inArray IN parameter
|
||||
* @param outArray OUT parameter
|
||||
*/
|
||||
public static java.lang.Integer[] pArrays1(org.jooq.Configuration configuration, java.lang.Integer[] inArray) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.PArrays1 p = new org.jooq.util.maven.example.procedures.PArrays1();
|
||||
p.setInArray(inArray);
|
||||
|
||||
p.execute(configuration);
|
||||
return p.getOutArray();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P_ARRAYS
|
||||
*
|
||||
* @param inArray IN parameter
|
||||
* @param outArray OUT parameter
|
||||
*/
|
||||
public static java.lang.Long[] pArrays2(org.jooq.Configuration configuration, java.lang.Long[] inArray) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.PArrays2 p = new org.jooq.util.maven.example.procedures.PArrays2();
|
||||
p.setInArray(inArray);
|
||||
|
||||
p.execute(configuration);
|
||||
return p.getOutArray();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P_ARRAYS
|
||||
*
|
||||
* @param inArray IN parameter
|
||||
* @param outArray OUT parameter
|
||||
*/
|
||||
public static java.lang.String[] pArrays3(org.jooq.Configuration configuration, java.lang.String[] inArray) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.PArrays3 p = new org.jooq.util.maven.example.procedures.PArrays3();
|
||||
p.setInArray(inArray);
|
||||
|
||||
p.execute(configuration);
|
||||
return p.getOutArray();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P_AUTHOR_EXISTS
|
||||
*
|
||||
* @param authorName IN parameter
|
||||
* @param result OUT parameter
|
||||
*/
|
||||
public static java.lang.Integer pAuthorExists(org.jooq.Configuration configuration, java.lang.String authorName) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.PAuthorExists p = new org.jooq.util.maven.example.procedures.PAuthorExists();
|
||||
p.setAuthorName(authorName);
|
||||
|
||||
p.execute(configuration);
|
||||
return p.getResult();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P_CREATE_AUTHOR
|
||||
*
|
||||
*/
|
||||
public static void pCreateAuthor(org.jooq.Configuration configuration) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.PCreateAuthor p = new org.jooq.util.maven.example.procedures.PCreateAuthor();
|
||||
|
||||
p.execute(configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P_CREATE_AUTHOR_BY_NAME
|
||||
*
|
||||
* @param firstName IN parameter
|
||||
* @param lastName IN parameter
|
||||
*/
|
||||
public static void pCreateAuthorByName(org.jooq.Configuration configuration, java.lang.String firstName, java.lang.String lastName) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.PCreateAuthorByName p = new org.jooq.util.maven.example.procedures.PCreateAuthorByName();
|
||||
p.setFirstName(firstName);
|
||||
p.setLastName(lastName);
|
||||
|
||||
p.execute(configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P_ENHANCE_ADDRESS1
|
||||
*
|
||||
* @param address IN parameter
|
||||
* @param no OUT parameter
|
||||
*/
|
||||
public static java.lang.String pEnhanceAddress1(org.jooq.Configuration configuration, org.jooq.util.maven.example.udt.records.UAddressTypeRecord address) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.PEnhanceAddress1 p = new org.jooq.util.maven.example.procedures.PEnhanceAddress1();
|
||||
p.setAddress(address);
|
||||
|
||||
p.execute(configuration);
|
||||
return p.getNo();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P_ENHANCE_ADDRESS2
|
||||
*
|
||||
* @param address OUT parameter
|
||||
*/
|
||||
public static org.jooq.util.maven.example.udt.records.UAddressTypeRecord pEnhanceAddress2(org.jooq.Configuration configuration) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.PEnhanceAddress2 p = new org.jooq.util.maven.example.procedures.PEnhanceAddress2();
|
||||
|
||||
p.execute(configuration);
|
||||
return p.getAddress();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P_ENHANCE_ADDRESS3
|
||||
*
|
||||
* @param address IN OUT parameter
|
||||
*/
|
||||
public static org.jooq.util.maven.example.udt.records.UAddressTypeRecord pEnhanceAddress3(org.jooq.Configuration configuration, org.jooq.util.maven.example.udt.records.UAddressTypeRecord address) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.PEnhanceAddress3 p = new org.jooq.util.maven.example.procedures.PEnhanceAddress3();
|
||||
p.setAddress(address);
|
||||
|
||||
p.execute(configuration);
|
||||
return p.getAddress();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P_GET_ONE_CURSOR
|
||||
*
|
||||
* @param total OUT parameter
|
||||
* @param books OUT parameter
|
||||
* @param bookIds IN parameter
|
||||
*/
|
||||
public static org.jooq.util.maven.example.procedures.PGetOneCursor pGetOneCursor(org.jooq.Configuration configuration, java.lang.Integer[] bookIds) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.PGetOneCursor p = new org.jooq.util.maven.example.procedures.PGetOneCursor();
|
||||
p.setBookIds(bookIds);
|
||||
|
||||
p.execute(configuration);
|
||||
return p;
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P_GET_TWO_CURSORS
|
||||
*
|
||||
* @param books OUT parameter
|
||||
* @param authors OUT parameter
|
||||
*/
|
||||
public static org.jooq.util.maven.example.procedures.PGetTwoCursors pGetTwoCursors(org.jooq.Configuration configuration) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.PGetTwoCursors p = new org.jooq.util.maven.example.procedures.PGetTwoCursors();
|
||||
|
||||
p.execute(configuration);
|
||||
return p;
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P_UNUSED
|
||||
*
|
||||
* @param in1 IN parameter
|
||||
* @param out1 OUT parameter
|
||||
* @param out2 IN OUT parameter
|
||||
*/
|
||||
public static org.jooq.util.maven.example.procedures.PUnused pUnused(org.jooq.Configuration configuration, java.lang.String in1, java.lang.Integer out2) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.PUnused p = new org.jooq.util.maven.example.procedures.PUnused();
|
||||
p.setIn1(in1);
|
||||
p.setOut2(out2);
|
||||
|
||||
p.execute(configuration);
|
||||
return p;
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke P391
|
||||
*
|
||||
* @param i1 IN parameter
|
||||
* @param io1 IN OUT parameter
|
||||
* @param o1 OUT parameter
|
||||
* @param o2 OUT parameter
|
||||
* @param io2 IN OUT parameter
|
||||
* @param i2 IN parameter
|
||||
*/
|
||||
public static org.jooq.util.maven.example.procedures.P391 p391(org.jooq.Configuration configuration, java.lang.Integer i1, java.lang.Integer io1, java.lang.Integer io2, java.lang.Integer i2) throws java.sql.SQLException {
|
||||
org.jooq.util.maven.example.procedures.P391 p = new org.jooq.util.maven.example.procedures.P391();
|
||||
p.setI1(i1);
|
||||
p.setIo1(io1);
|
||||
p.setIo2(io2);
|
||||
p.setI2(i2);
|
||||
|
||||
p.execute(configuration);
|
||||
return p;
|
||||
}
|
||||
|
||||
/**
|
||||
* No instances
|
||||
*/
|
||||
private Procedures() {}
|
||||
}
|
||||
@ -1,78 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class Public extends org.jooq.impl.SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 204152520;
|
||||
|
||||
/**
|
||||
* The singleton instance of public
|
||||
*/
|
||||
public static final Public PUBLIC = new Public();
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private Public() {
|
||||
super("public");
|
||||
}
|
||||
|
||||
/*
|
||||
* instance initialiser
|
||||
*/
|
||||
{
|
||||
addMapping("public.u_address_type", org.jooq.util.maven.example.udt.records.UAddressTypeRecord.class);
|
||||
addMapping("public.u_street_type", org.jooq.util.maven.example.udt.records.UStreetTypeRecord.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final java.util.List<org.jooq.Sequence> getSequences() {
|
||||
return java.util.Arrays.<org.jooq.Sequence>asList(
|
||||
org.jooq.util.maven.example.Sequences.S_AUTHOR_ID,
|
||||
org.jooq.util.maven.example.Sequences.T_BOOK_STORE_ID_SEQ,
|
||||
org.jooq.util.maven.example.Sequences.T_TRIGGERS_ID_GENERATED_SEQ);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final java.util.List<org.jooq.Table<?>> getTables() {
|
||||
return java.util.Arrays.<org.jooq.Table<?>>asList(
|
||||
org.jooq.util.maven.example.tables.T_639NumbersTable.T_639_NUMBERS_TABLE,
|
||||
org.jooq.util.maven.example.tables.T_658_11.T_658_11,
|
||||
org.jooq.util.maven.example.tables.T_658_12.T_658_12,
|
||||
org.jooq.util.maven.example.tables.T_658_21.T_658_21,
|
||||
org.jooq.util.maven.example.tables.T_658_22.T_658_22,
|
||||
org.jooq.util.maven.example.tables.T_658_31.T_658_31,
|
||||
org.jooq.util.maven.example.tables.T_658_32.T_658_32,
|
||||
org.jooq.util.maven.example.tables.T_658Ref.T_658_REF,
|
||||
org.jooq.util.maven.example.tables.T_725LobTest.T_725_LOB_TEST,
|
||||
org.jooq.util.maven.example.tables.T_785.T_785,
|
||||
org.jooq.util.maven.example.tables.TArrays.T_ARRAYS,
|
||||
org.jooq.util.maven.example.tables.TAuthor.T_AUTHOR,
|
||||
org.jooq.util.maven.example.tables.TBook.T_BOOK,
|
||||
org.jooq.util.maven.example.tables.TBookDetails.T_BOOK_DETAILS,
|
||||
org.jooq.util.maven.example.tables.TBookStore.T_BOOK_STORE,
|
||||
org.jooq.util.maven.example.tables.TBookToBookStore.T_BOOK_TO_BOOK_STORE,
|
||||
org.jooq.util.maven.example.tables.TTriggers.T_TRIGGERS,
|
||||
org.jooq.util.maven.example.tables.VAuthor.V_AUTHOR,
|
||||
org.jooq.util.maven.example.tables.VBook.V_BOOK,
|
||||
org.jooq.util.maven.example.tables.VLibrary.V_LIBRARY,
|
||||
org.jooq.util.maven.example.tables.XTestCase_64_69.X_TEST_CASE_64_69,
|
||||
org.jooq.util.maven.example.tables.XTestCase_71.X_TEST_CASE_71,
|
||||
org.jooq.util.maven.example.tables.XTestCase_85.X_TEST_CASE_85,
|
||||
org.jooq.util.maven.example.tables.XUnused.X_UNUSED);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final java.util.List<org.jooq.UDT<?>> getUDTs() {
|
||||
return java.util.Arrays.<org.jooq.UDT<?>>asList(
|
||||
org.jooq.util.maven.example.udt.UAddressType.U_ADDRESS_TYPE,
|
||||
org.jooq.util.maven.example.udt.UStreetType.U_STREET_TYPE);
|
||||
}
|
||||
}
|
||||
@ -1,33 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class PublicFactory extends org.jooq.util.postgres.PostgresFactory {
|
||||
|
||||
private static final long serialVersionUID = 2124419493;
|
||||
|
||||
/**
|
||||
* Create a factory with a connection
|
||||
*
|
||||
* @param connection The connection to use with objects created from this factory
|
||||
*/
|
||||
public PublicFactory(java.sql.Connection connection) {
|
||||
super(connection);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a factory with a connection and a schema mapping
|
||||
*
|
||||
* @param connection The connection to use with objects created from this factory
|
||||
* @param mapping The schema mapping to use with objects created from this factory
|
||||
*/
|
||||
public PublicFactory(java.sql.Connection connection, org.jooq.SchemaMapping mapping) {
|
||||
super(connection, mapping);
|
||||
}
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*
|
||||
* Convenience access to all sequences in public
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public final class Sequences {
|
||||
|
||||
/**
|
||||
* The sequence s_author_id
|
||||
*/
|
||||
public static final org.jooq.Sequence S_AUTHOR_ID = new org.jooq.impl.SequenceImpl("s_author_id", org.jooq.util.maven.example.Public.PUBLIC);
|
||||
|
||||
/**
|
||||
* The sequence t_book_store_id_seq
|
||||
*/
|
||||
public static final org.jooq.Sequence T_BOOK_STORE_ID_SEQ = new org.jooq.impl.SequenceImpl("t_book_store_id_seq", org.jooq.util.maven.example.Public.PUBLIC);
|
||||
|
||||
/**
|
||||
* The sequence t_triggers_id_generated_seq
|
||||
*/
|
||||
public static final org.jooq.Sequence T_TRIGGERS_ID_GENERATED_SEQ = new org.jooq.impl.SequenceImpl("t_triggers_id_generated_seq", org.jooq.util.maven.example.Public.PUBLIC);
|
||||
|
||||
/**
|
||||
* No instances
|
||||
*/
|
||||
private Sequences() {}
|
||||
}
|
||||
@ -1,67 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example.enums;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public enum TLanguage implements org.jooq.MasterDataType<java.lang.Integer> {
|
||||
|
||||
/**
|
||||
* English
|
||||
*/
|
||||
en(1, "en", "English"),
|
||||
|
||||
/**
|
||||
* Deutsch
|
||||
*/
|
||||
de(2, "de", "Deutsch"),
|
||||
|
||||
/**
|
||||
* Français
|
||||
*/
|
||||
fr(3, "fr", "Français"),
|
||||
pt(4, "pt", null),
|
||||
;
|
||||
|
||||
private final java.lang.Integer id;
|
||||
private final java.lang.String cd;
|
||||
private final java.lang.String description;
|
||||
|
||||
private TLanguage(java.lang.Integer id, java.lang.String cd, java.lang.String description) {
|
||||
this.id = id;
|
||||
this.cd = cd;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.lang.Integer getPrimaryKey() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*
|
||||
* PRIMARY KEY
|
||||
*/
|
||||
public final java.lang.Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final java.lang.String getCd() {
|
||||
return cd;
|
||||
}
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public final java.lang.String getDescription() {
|
||||
return description;
|
||||
}
|
||||
}
|
||||
@ -1,35 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example.enums;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public enum UBookStatus implements org.jooq.EnumType {
|
||||
ORDERED("ORDERED"),
|
||||
|
||||
ON_STOCK("ON STOCK"),
|
||||
|
||||
SOLD_OUT("SOLD OUT"),
|
||||
|
||||
;
|
||||
|
||||
private final java.lang.String literal;
|
||||
|
||||
private UBookStatus(java.lang.String literal) {
|
||||
this.literal = literal;
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.lang.String getName() {
|
||||
return "u_book_status";
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.lang.String getLiteral() {
|
||||
return literal;
|
||||
}
|
||||
}
|
||||
@ -1,35 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example.enums;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public enum UCountry implements org.jooq.EnumType {
|
||||
Germany("Germany"),
|
||||
|
||||
England("England"),
|
||||
|
||||
Brazil("Brazil"),
|
||||
|
||||
;
|
||||
|
||||
private final java.lang.String literal;
|
||||
|
||||
private UCountry(java.lang.String literal) {
|
||||
this.literal = literal;
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.lang.String getName() {
|
||||
return "u_country";
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.lang.String getLiteral() {
|
||||
return literal;
|
||||
}
|
||||
}
|
||||
@ -1,111 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example.functions;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class F317 extends org.jooq.impl.StoredFunctionImpl<java.lang.Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1950305697;
|
||||
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> P1 = new org.jooq.impl.ParameterImpl<java.lang.Integer>("p1", org.jooq.impl.SQLDataType.INTEGER);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> P2 = new org.jooq.impl.ParameterImpl<java.lang.Integer>("p2", org.jooq.impl.SQLDataType.INTEGER);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> P3 = new org.jooq.impl.ParameterImpl<java.lang.Integer>("p3", org.jooq.impl.SQLDataType.INTEGER);
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> P4 = new org.jooq.impl.ParameterImpl<java.lang.Integer>("p4", org.jooq.impl.SQLDataType.INTEGER);
|
||||
|
||||
/**
|
||||
* Create a new function call instance
|
||||
*/
|
||||
public F317() {
|
||||
super(org.jooq.SQLDialect.POSTGRES, "f317", org.jooq.util.maven.example.Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER);
|
||||
|
||||
addInParameter(P1);
|
||||
addInParameter(P2);
|
||||
addInParameter(P3);
|
||||
addInParameter(P4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>p1</code> parameter to the function
|
||||
*/
|
||||
public void setP1(java.lang.Integer value) {
|
||||
setValue(P1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>p1</code> parameter to the function
|
||||
* <p>
|
||||
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
|
||||
*/
|
||||
public void setP1(org.jooq.Field<java.lang.Integer> field) {
|
||||
setField(P1, field);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>p2</code> parameter to the function
|
||||
*/
|
||||
public void setP2(java.lang.Integer value) {
|
||||
setValue(P2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>p2</code> parameter to the function
|
||||
* <p>
|
||||
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
|
||||
*/
|
||||
public void setP2(org.jooq.Field<java.lang.Integer> field) {
|
||||
setField(P2, field);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>p3</code> parameter to the function
|
||||
*/
|
||||
public void setP3(java.lang.Integer value) {
|
||||
setValue(P3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>p3</code> parameter to the function
|
||||
* <p>
|
||||
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
|
||||
*/
|
||||
public void setP3(org.jooq.Field<java.lang.Integer> field) {
|
||||
setField(P3, field);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>p4</code> parameter to the function
|
||||
*/
|
||||
public void setP4(java.lang.Integer value) {
|
||||
setValue(P4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>p4</code> parameter to the function
|
||||
* <p>
|
||||
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
|
||||
*/
|
||||
public void setP4(org.jooq.Field<java.lang.Integer> field) {
|
||||
setField(P4, field);
|
||||
}
|
||||
}
|
||||
@ -1,46 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example.functions;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FArrays1 extends org.jooq.impl.StoredFunctionImpl<java.lang.Integer[]> {
|
||||
|
||||
private static final long serialVersionUID = -1635118238;
|
||||
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer[]> IN_ARRAY = new org.jooq.impl.ParameterImpl<java.lang.Integer[]>("in_array", org.jooq.impl.SQLDataType.INTEGER.getArrayDataType());
|
||||
|
||||
/**
|
||||
* Create a new function call instance
|
||||
*/
|
||||
public FArrays1() {
|
||||
super(org.jooq.SQLDialect.POSTGRES, "f_arrays", org.jooq.util.maven.example.Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER.getArrayDataType());
|
||||
|
||||
addInParameter(IN_ARRAY);
|
||||
setOverloaded(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>in_array</code> parameter to the function
|
||||
*/
|
||||
public void setInArray(java.lang.Integer[] value) {
|
||||
setValue(IN_ARRAY, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>in_array</code> parameter to the function
|
||||
* <p>
|
||||
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
|
||||
*/
|
||||
public void setInArray(org.jooq.Field<java.lang.Integer[]> field) {
|
||||
setField(IN_ARRAY, field);
|
||||
}
|
||||
}
|
||||
@ -1,46 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example.functions;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FArrays2 extends org.jooq.impl.StoredFunctionImpl<java.lang.Long[]> {
|
||||
|
||||
private static final long serialVersionUID = 2127746386;
|
||||
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Long[]> IN_ARRAY = new org.jooq.impl.ParameterImpl<java.lang.Long[]>("in_array", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType());
|
||||
|
||||
/**
|
||||
* Create a new function call instance
|
||||
*/
|
||||
public FArrays2() {
|
||||
super(org.jooq.SQLDialect.POSTGRES, "f_arrays", org.jooq.util.maven.example.Public.PUBLIC, org.jooq.impl.SQLDataType.BIGINT.getArrayDataType());
|
||||
|
||||
addInParameter(IN_ARRAY);
|
||||
setOverloaded(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>in_array</code> parameter to the function
|
||||
*/
|
||||
public void setInArray(java.lang.Long[] value) {
|
||||
setValue(IN_ARRAY, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>in_array</code> parameter to the function
|
||||
* <p>
|
||||
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
|
||||
*/
|
||||
public void setInArray(org.jooq.Field<java.lang.Long[]> field) {
|
||||
setField(IN_ARRAY, field);
|
||||
}
|
||||
}
|
||||
@ -1,46 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example.functions;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FArrays3 extends org.jooq.impl.StoredFunctionImpl<java.lang.String[]> {
|
||||
|
||||
private static final long serialVersionUID = -645784099;
|
||||
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.String[]> IN_ARRAY = new org.jooq.impl.ParameterImpl<java.lang.String[]>("in_array", org.jooq.impl.SQLDataType.CLOB.getArrayDataType());
|
||||
|
||||
/**
|
||||
* Create a new function call instance
|
||||
*/
|
||||
public FArrays3() {
|
||||
super(org.jooq.SQLDialect.POSTGRES, "f_arrays", org.jooq.util.maven.example.Public.PUBLIC, org.jooq.impl.SQLDataType.CLOB.getArrayDataType());
|
||||
|
||||
addInParameter(IN_ARRAY);
|
||||
setOverloaded(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>in_array</code> parameter to the function
|
||||
*/
|
||||
public void setInArray(java.lang.String[] value) {
|
||||
setValue(IN_ARRAY, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>in_array</code> parameter to the function
|
||||
* <p>
|
||||
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
|
||||
*/
|
||||
public void setInArray(org.jooq.Field<java.lang.String[]> field) {
|
||||
setField(IN_ARRAY, field);
|
||||
}
|
||||
}
|
||||
@ -1,45 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example.functions;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FAuthorExists extends org.jooq.impl.StoredFunctionImpl<java.lang.Integer> {
|
||||
|
||||
private static final long serialVersionUID = -1935685604;
|
||||
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.String> AUTHOR_NAME = new org.jooq.impl.ParameterImpl<java.lang.String>("author_name", org.jooq.impl.SQLDataType.VARCHAR);
|
||||
|
||||
/**
|
||||
* Create a new function call instance
|
||||
*/
|
||||
public FAuthorExists() {
|
||||
super(org.jooq.SQLDialect.POSTGRES, "f_author_exists", org.jooq.util.maven.example.Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER);
|
||||
|
||||
addInParameter(AUTHOR_NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>author_name</code> parameter to the function
|
||||
*/
|
||||
public void setAuthorName(java.lang.String value) {
|
||||
setValue(AUTHOR_NAME, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>author_name</code> parameter to the function
|
||||
* <p>
|
||||
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
|
||||
*/
|
||||
public void setAuthorName(org.jooq.Field<java.lang.String> field) {
|
||||
setField(AUTHOR_NAME, field);
|
||||
}
|
||||
}
|
||||
@ -1,45 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example.functions;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FGetOneCursor extends org.jooq.impl.StoredFunctionImpl<org.jooq.Result<org.jooq.Record>> {
|
||||
|
||||
private static final long serialVersionUID = -1025310109;
|
||||
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer[]> BOOK_IDS = new org.jooq.impl.ParameterImpl<java.lang.Integer[]>("book_ids", org.jooq.impl.SQLDataType.INTEGER.getArrayDataType());
|
||||
|
||||
/**
|
||||
* Create a new function call instance
|
||||
*/
|
||||
public FGetOneCursor() {
|
||||
super(org.jooq.SQLDialect.POSTGRES, "f_get_one_cursor", org.jooq.util.maven.example.Public.PUBLIC, org.jooq.impl.SQLDataType.RESULT);
|
||||
|
||||
addInParameter(BOOK_IDS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>book_ids</code> parameter to the function
|
||||
*/
|
||||
public void setBookIds(java.lang.Integer[] value) {
|
||||
setValue(BOOK_IDS, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>book_ids</code> parameter to the function
|
||||
* <p>
|
||||
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
|
||||
*/
|
||||
public void setBookIds(org.jooq.Field<java.lang.Integer[]> field) {
|
||||
setField(BOOK_IDS, field);
|
||||
}
|
||||
}
|
||||
@ -1,45 +0,0 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.util.maven.example.functions;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "http://jooq.sourceforge.net",
|
||||
comments = "This class is generated by jOOQ")
|
||||
public class FNumber extends org.jooq.impl.StoredFunctionImpl<java.lang.Integer> {
|
||||
|
||||
private static final long serialVersionUID = -241720643;
|
||||
|
||||
|
||||
/**
|
||||
* An uncommented item
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> N = new org.jooq.impl.ParameterImpl<java.lang.Integer>("n", org.jooq.impl.SQLDataType.INTEGER);
|
||||
|
||||
/**
|
||||
* Create a new function call instance
|
||||
*/
|
||||
public FNumber() {
|
||||
super(org.jooq.SQLDialect.POSTGRES, "f_number", org.jooq.util.maven.example.Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER);
|
||||
|
||||
addInParameter(N);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>n</code> parameter to the function
|
||||
*/
|
||||
public void setN(java.lang.Integer value) {
|
||||
setValue(N, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>n</code> parameter to the function
|
||||
* <p>
|
||||
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
|
||||
*/
|
||||
public void setN(org.jooq.Field<java.lang.Integer> field) {
|
||||
setField(N, field);
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user