From 5d327a04ab78a394a221a96facff2522b03ddcc5 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Mon, 10 Jun 2013 21:43:52 +0200 Subject: [PATCH] [#2502] [#2515] Code generation fixes - Regenerated test data * [#2502] Code generation fails to generate valid java for stored procedures that accept parameters named configuration. * [#2515] Compilation errors when generating code for artefacts that differ only by a trailing underscore(s): A and A_ and A__ --- .../hsqldb/generatedclasses/Routines.java | 215 ++++++++++++++++++ .../generatedclasses/routines/F2502.java | 47 ++++ .../generatedclasses/routines/F2502_1.java | 67 ++++++ .../generatedclasses/routines/F2502_2.java | 87 +++++++ .../generatedclasses/routines/F2515.java | 67 ++++++ .../generatedclasses/routines/F2515_.java | 67 ++++++ .../generatedclasses/routines/P2502.java | 47 ++++ .../generatedclasses/routines/P2515_.java | 67 ++++++ 8 files changed, 664 insertions(+) create mode 100644 jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2502.java create mode 100644 jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2502_1.java create mode 100644 jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2502_2.java create mode 100644 jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2515.java create mode 100644 jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2515_.java create mode 100644 jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/P2502.java create mode 100644 jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/P2515_.java diff --git a/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/Routines.java b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/Routines.java index bc27ab4b5e..10bd8baed4 100644 --- a/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/Routines.java +++ b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/Routines.java @@ -11,6 +11,176 @@ package org.jooq.test.hsqldb.generatedclasses; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Routines { + /** + * Call PUBLIC.F2502 + */ + public static java.lang.Integer f2502(org.jooq.Configuration configuration_, java.lang.Integer configuration) { + org.jooq.test.hsqldb.generatedclasses.routines.F2502 f = new org.jooq.test.hsqldb.generatedclasses.routines.F2502(); + f.setConfiguration(configuration); + + f.execute(configuration_); + return f.getReturnValue(); + } + + /** + * Get PUBLIC.F2502 as a field + */ + public static org.jooq.Field f2502(java.lang.Integer configuration) { + org.jooq.test.hsqldb.generatedclasses.routines.F2502 f = new org.jooq.test.hsqldb.generatedclasses.routines.F2502(); + f.setConfiguration(configuration); + + return f.asField(); + } + + /** + * Get PUBLIC.F2502 as a field + */ + public static org.jooq.Field f2502(org.jooq.Field configuration) { + org.jooq.test.hsqldb.generatedclasses.routines.F2502 f = new org.jooq.test.hsqldb.generatedclasses.routines.F2502(); + f.setConfiguration(configuration); + + return f.asField(); + } + + /** + * Call PUBLIC.F2502_1 + */ + public static java.lang.Integer f2502_1(org.jooq.Configuration configuration__, java.lang.Integer configuration, java.lang.Integer configuration_) { + org.jooq.test.hsqldb.generatedclasses.routines.F2502_1 f = new org.jooq.test.hsqldb.generatedclasses.routines.F2502_1(); + f.setConfiguration(configuration); + f.setConfiguration_(configuration_); + + f.execute(configuration__); + return f.getReturnValue(); + } + + /** + * Get PUBLIC.F2502_1 as a field + */ + public static org.jooq.Field f2502_1(java.lang.Integer configuration, java.lang.Integer configuration_) { + org.jooq.test.hsqldb.generatedclasses.routines.F2502_1 f = new org.jooq.test.hsqldb.generatedclasses.routines.F2502_1(); + f.setConfiguration(configuration); + f.setConfiguration_(configuration_); + + return f.asField(); + } + + /** + * Get PUBLIC.F2502_1 as a field + */ + public static org.jooq.Field f2502_1(org.jooq.Field configuration, org.jooq.Field configuration_) { + org.jooq.test.hsqldb.generatedclasses.routines.F2502_1 f = new org.jooq.test.hsqldb.generatedclasses.routines.F2502_1(); + f.setConfiguration(configuration); + f.setConfiguration_(configuration_); + + return f.asField(); + } + + /** + * Call PUBLIC.F2502_2 + */ + public static java.lang.Integer f2502_2(org.jooq.Configuration configuration___, java.lang.Integer configuration, java.lang.Integer configuration_, java.lang.Integer configuration__) { + org.jooq.test.hsqldb.generatedclasses.routines.F2502_2 f = new org.jooq.test.hsqldb.generatedclasses.routines.F2502_2(); + f.setConfiguration(configuration); + f.setConfiguration_(configuration_); + f.setConfiguration__(configuration__); + + f.execute(configuration___); + return f.getReturnValue(); + } + + /** + * Get PUBLIC.F2502_2 as a field + */ + public static org.jooq.Field f2502_2(java.lang.Integer configuration, java.lang.Integer configuration_, java.lang.Integer configuration__) { + org.jooq.test.hsqldb.generatedclasses.routines.F2502_2 f = new org.jooq.test.hsqldb.generatedclasses.routines.F2502_2(); + f.setConfiguration(configuration); + f.setConfiguration_(configuration_); + f.setConfiguration__(configuration__); + + return f.asField(); + } + + /** + * Get PUBLIC.F2502_2 as a field + */ + public static org.jooq.Field f2502_2(org.jooq.Field configuration, org.jooq.Field configuration_, org.jooq.Field configuration__) { + org.jooq.test.hsqldb.generatedclasses.routines.F2502_2 f = new org.jooq.test.hsqldb.generatedclasses.routines.F2502_2(); + f.setConfiguration(configuration); + f.setConfiguration_(configuration_); + f.setConfiguration__(configuration__); + + return f.asField(); + } + + /** + * Call PUBLIC.F2515 + */ + public static java.lang.Integer f2515(org.jooq.Configuration configuration, java.lang.Integer a, java.lang.Integer a_) { + org.jooq.test.hsqldb.generatedclasses.routines.F2515 f = new org.jooq.test.hsqldb.generatedclasses.routines.F2515(); + f.setA(a); + f.setA_(a_); + + f.execute(configuration); + return f.getReturnValue(); + } + + /** + * Get PUBLIC.F2515 as a field + */ + public static org.jooq.Field f2515(java.lang.Integer a, java.lang.Integer a_) { + org.jooq.test.hsqldb.generatedclasses.routines.F2515 f = new org.jooq.test.hsqldb.generatedclasses.routines.F2515(); + f.setA(a); + f.setA_(a_); + + return f.asField(); + } + + /** + * Get PUBLIC.F2515 as a field + */ + public static org.jooq.Field f2515(org.jooq.Field a, org.jooq.Field a_) { + org.jooq.test.hsqldb.generatedclasses.routines.F2515 f = new org.jooq.test.hsqldb.generatedclasses.routines.F2515(); + f.setA(a); + f.setA_(a_); + + return f.asField(); + } + + /** + * Call PUBLIC.F2515_ + */ + public static java.lang.Integer f2515_(org.jooq.Configuration configuration, java.lang.Integer aA, java.lang.Integer aA_) { + org.jooq.test.hsqldb.generatedclasses.routines.F2515_ f = new org.jooq.test.hsqldb.generatedclasses.routines.F2515_(); + f.setAA(aA); + f.setAA_(aA_); + + f.execute(configuration); + return f.getReturnValue(); + } + + /** + * Get PUBLIC.F2515_ as a field + */ + public static org.jooq.Field f2515_(java.lang.Integer aA, java.lang.Integer aA_) { + org.jooq.test.hsqldb.generatedclasses.routines.F2515_ f = new org.jooq.test.hsqldb.generatedclasses.routines.F2515_(); + f.setAA(aA); + f.setAA_(aA_); + + return f.asField(); + } + + /** + * Get PUBLIC.F2515_ as a field + */ + public static org.jooq.Field f2515_(org.jooq.Field aA, org.jooq.Field aA_) { + org.jooq.test.hsqldb.generatedclasses.routines.F2515_ f = new org.jooq.test.hsqldb.generatedclasses.routines.F2515_(); + f.setAA(aA); + f.setAA_(aA_); + + return f.asField(); + } + /** * Call PUBLIC.F317 */ @@ -256,6 +426,51 @@ public class Routines { return f.asField(); } + /** + * Call PUBLIC.P2502 + */ + public static java.lang.Integer p2502(org.jooq.Configuration configuration_, java.lang.Integer configuration) { + org.jooq.test.hsqldb.generatedclasses.routines.P2502 p = new org.jooq.test.hsqldb.generatedclasses.routines.P2502(); + p.setConfiguration(configuration); + + p.execute(configuration_); + return p.getConfiguration_(); + } + + /** + * Call PUBLIC.P2515_ + */ + public static java.lang.Integer p2515_(org.jooq.Configuration configuration, java.lang.Integer aA, java.lang.Integer aA_) { + org.jooq.test.hsqldb.generatedclasses.routines.P2515_ f = new org.jooq.test.hsqldb.generatedclasses.routines.P2515_(); + f.setAA(aA); + f.setAA_(aA_); + + f.execute(configuration); + return f.getReturnValue(); + } + + /** + * Get PUBLIC.P2515_ as a field + */ + public static org.jooq.Field p2515_(java.lang.Integer aA, java.lang.Integer aA_) { + org.jooq.test.hsqldb.generatedclasses.routines.P2515_ f = new org.jooq.test.hsqldb.generatedclasses.routines.P2515_(); + f.setAA(aA); + f.setAA_(aA_); + + return f.asField(); + } + + /** + * Get PUBLIC.P2515_ as a field + */ + public static org.jooq.Field p2515_(org.jooq.Field aA, org.jooq.Field aA_) { + org.jooq.test.hsqldb.generatedclasses.routines.P2515_ f = new org.jooq.test.hsqldb.generatedclasses.routines.P2515_(); + f.setAA(aA); + f.setAA_(aA_); + + return f.asField(); + } + /** * Call PUBLIC.P391 */ diff --git a/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2502.java b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2502.java new file mode 100644 index 0000000000..969d4d72e3 --- /dev/null +++ b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2502.java @@ -0,0 +1,47 @@ +/** + * This class is generated by jOOQ + */ +package org.jooq.test.hsqldb.generatedclasses.routines; + +/** + * This class is generated by jOOQ. + */ +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class F2502 extends org.jooq.impl.AbstractRoutine { + + private static final long serialVersionUID = -1970290514; + + /** + * The parameter PUBLIC.F2502.RETURN_VALUE. + */ + public static final org.jooq.Parameter RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.F2502.CONFIGURATION. + */ + public static final org.jooq.Parameter CONFIGURATION = createParameter("CONFIGURATION", org.jooq.impl.SQLDataType.INTEGER); + + /** + * Create a new routine call instance + */ + public F2502() { + super("F2502", org.jooq.test.hsqldb.generatedclasses.Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER); + + setReturnParameter(RETURN_VALUE); + addInParameter(CONFIGURATION); + } + + /** + * Set the CONFIGURATION parameter IN value to the routine + */ + public void setConfiguration(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.F2502.CONFIGURATION, value); + } + + /** + * Set the CONFIGURATION parameter to the function to be used with a {@link org.jooq.Select} statement + */ + public void setConfiguration(org.jooq.Field field) { + setField(CONFIGURATION, field); + } +} diff --git a/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2502_1.java b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2502_1.java new file mode 100644 index 0000000000..7866be215a --- /dev/null +++ b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2502_1.java @@ -0,0 +1,67 @@ +/** + * This class is generated by jOOQ + */ +package org.jooq.test.hsqldb.generatedclasses.routines; + +/** + * This class is generated by jOOQ. + */ +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class F2502_1 extends org.jooq.impl.AbstractRoutine { + + private static final long serialVersionUID = 1258925266; + + /** + * The parameter PUBLIC.F2502_1.RETURN_VALUE. + */ + public static final org.jooq.Parameter RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.F2502_1.CONFIGURATION. + */ + public static final org.jooq.Parameter CONFIGURATION = createParameter("CONFIGURATION", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.F2502_1.CONFIGURATION_. + */ + public static final org.jooq.Parameter CONFIGURATION_ = createParameter("CONFIGURATION_", org.jooq.impl.SQLDataType.INTEGER); + + /** + * Create a new routine call instance + */ + public F2502_1() { + super("F2502_1", org.jooq.test.hsqldb.generatedclasses.Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER); + + setReturnParameter(RETURN_VALUE); + addInParameter(CONFIGURATION); + addInParameter(CONFIGURATION_); + } + + /** + * Set the CONFIGURATION parameter IN value to the routine + */ + public void setConfiguration(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.F2502_1.CONFIGURATION, value); + } + + /** + * Set the CONFIGURATION parameter to the function to be used with a {@link org.jooq.Select} statement + */ + public void setConfiguration(org.jooq.Field field) { + setField(CONFIGURATION, field); + } + + /** + * Set the CONFIGURATION_ parameter IN value to the routine + */ + public void setConfiguration_(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.F2502_1.CONFIGURATION_, value); + } + + /** + * Set the CONFIGURATION_ parameter to the function to be used with a {@link org.jooq.Select} statement + */ + public void setConfiguration_(org.jooq.Field field) { + setField(CONFIGURATION_, field); + } +} diff --git a/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2502_2.java b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2502_2.java new file mode 100644 index 0000000000..3dc415e65d --- /dev/null +++ b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2502_2.java @@ -0,0 +1,87 @@ +/** + * This class is generated by jOOQ + */ +package org.jooq.test.hsqldb.generatedclasses.routines; + +/** + * This class is generated by jOOQ. + */ +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class F2502_2 extends org.jooq.impl.AbstractRoutine { + + private static final long serialVersionUID = 1934280052; + + /** + * The parameter PUBLIC.F2502_2.RETURN_VALUE. + */ + public static final org.jooq.Parameter RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.F2502_2.CONFIGURATION. + */ + public static final org.jooq.Parameter CONFIGURATION = createParameter("CONFIGURATION", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.F2502_2.CONFIGURATION_. + */ + public static final org.jooq.Parameter CONFIGURATION_ = createParameter("CONFIGURATION_", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.F2502_2.CONFIGURATION__. + */ + public static final org.jooq.Parameter CONFIGURATION__ = createParameter("CONFIGURATION__", org.jooq.impl.SQLDataType.INTEGER); + + /** + * Create a new routine call instance + */ + public F2502_2() { + super("F2502_2", org.jooq.test.hsqldb.generatedclasses.Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER); + + setReturnParameter(RETURN_VALUE); + addInParameter(CONFIGURATION); + addInParameter(CONFIGURATION_); + addInParameter(CONFIGURATION__); + } + + /** + * Set the CONFIGURATION parameter IN value to the routine + */ + public void setConfiguration(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.F2502_2.CONFIGURATION, value); + } + + /** + * Set the CONFIGURATION parameter to the function to be used with a {@link org.jooq.Select} statement + */ + public void setConfiguration(org.jooq.Field field) { + setField(CONFIGURATION, field); + } + + /** + * Set the CONFIGURATION_ parameter IN value to the routine + */ + public void setConfiguration_(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.F2502_2.CONFIGURATION_, value); + } + + /** + * Set the CONFIGURATION_ parameter to the function to be used with a {@link org.jooq.Select} statement + */ + public void setConfiguration_(org.jooq.Field field) { + setField(CONFIGURATION_, field); + } + + /** + * Set the CONFIGURATION__ parameter IN value to the routine + */ + public void setConfiguration__(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.F2502_2.CONFIGURATION__, value); + } + + /** + * Set the CONFIGURATION__ parameter to the function to be used with a {@link org.jooq.Select} statement + */ + public void setConfiguration__(org.jooq.Field field) { + setField(CONFIGURATION__, field); + } +} diff --git a/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2515.java b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2515.java new file mode 100644 index 0000000000..aa65a294c9 --- /dev/null +++ b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2515.java @@ -0,0 +1,67 @@ +/** + * This class is generated by jOOQ + */ +package org.jooq.test.hsqldb.generatedclasses.routines; + +/** + * This class is generated by jOOQ. + */ +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class F2515 extends org.jooq.impl.AbstractRoutine { + + private static final long serialVersionUID = -60857006; + + /** + * The parameter PUBLIC.F2515.RETURN_VALUE. + */ + public static final org.jooq.Parameter RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.F2515.A. + */ + public static final org.jooq.Parameter A = createParameter("A", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.F2515.A_. + */ + public static final org.jooq.Parameter A_ = createParameter("A_", org.jooq.impl.SQLDataType.INTEGER); + + /** + * Create a new routine call instance + */ + public F2515() { + super("F2515", org.jooq.test.hsqldb.generatedclasses.Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER); + + setReturnParameter(RETURN_VALUE); + addInParameter(A); + addInParameter(A_); + } + + /** + * Set the A parameter IN value to the routine + */ + public void setA(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.F2515.A, value); + } + + /** + * Set the A parameter to the function to be used with a {@link org.jooq.Select} statement + */ + public void setA(org.jooq.Field field) { + setField(A, field); + } + + /** + * Set the A_ parameter IN value to the routine + */ + public void setA_(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.F2515.A_, value); + } + + /** + * Set the A_ parameter to the function to be used with a {@link org.jooq.Select} statement + */ + public void setA_(org.jooq.Field field) { + setField(A_, field); + } +} diff --git a/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2515_.java b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2515_.java new file mode 100644 index 0000000000..f68d986eea --- /dev/null +++ b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/F2515_.java @@ -0,0 +1,67 @@ +/** + * This class is generated by jOOQ + */ +package org.jooq.test.hsqldb.generatedclasses.routines; + +/** + * This class is generated by jOOQ. + */ +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class F2515_ extends org.jooq.impl.AbstractRoutine { + + private static final long serialVersionUID = 104427952; + + /** + * The parameter PUBLIC.F2515_.RETURN_VALUE. + */ + public static final org.jooq.Parameter RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.F2515_.A_A. + */ + public static final org.jooq.Parameter A_A = createParameter("A_A", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.F2515_.A_A_. + */ + public static final org.jooq.Parameter A_A_ = createParameter("A_A_", org.jooq.impl.SQLDataType.INTEGER); + + /** + * Create a new routine call instance + */ + public F2515_() { + super("F2515_", org.jooq.test.hsqldb.generatedclasses.Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER); + + setReturnParameter(RETURN_VALUE); + addInParameter(A_A); + addInParameter(A_A_); + } + + /** + * Set the A_A parameter IN value to the routine + */ + public void setAA(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.F2515_.A_A, value); + } + + /** + * Set the A_A parameter to the function to be used with a {@link org.jooq.Select} statement + */ + public void setAA(org.jooq.Field field) { + setField(A_A, field); + } + + /** + * Set the A_A_ parameter IN value to the routine + */ + public void setAA_(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.F2515_.A_A_, value); + } + + /** + * Set the A_A_ parameter to the function to be used with a {@link org.jooq.Select} statement + */ + public void setAA_(org.jooq.Field field) { + setField(A_A_, field); + } +} diff --git a/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/P2502.java b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/P2502.java new file mode 100644 index 0000000000..8f7bfbac40 --- /dev/null +++ b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/P2502.java @@ -0,0 +1,47 @@ +/** + * This class is generated by jOOQ + */ +package org.jooq.test.hsqldb.generatedclasses.routines; + +/** + * This class is generated by jOOQ. + */ +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class P2502 extends org.jooq.impl.AbstractRoutine { + + private static final long serialVersionUID = 306105743; + + /** + * The parameter PUBLIC.P2502.CONFIGURATION. + */ + public static final org.jooq.Parameter CONFIGURATION = createParameter("CONFIGURATION", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.P2502.CONFIGURATION_. + */ + public static final org.jooq.Parameter CONFIGURATION_ = createParameter("CONFIGURATION_", org.jooq.impl.SQLDataType.INTEGER); + + /** + * Create a new routine call instance + */ + public P2502() { + super("P2502", org.jooq.test.hsqldb.generatedclasses.Public.PUBLIC); + + addInParameter(CONFIGURATION); + addOutParameter(CONFIGURATION_); + } + + /** + * Set the CONFIGURATION parameter IN value to the routine + */ + public void setConfiguration(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.P2502.CONFIGURATION, value); + } + + /** + * Get the CONFIGURATION_ parameter OUT value from the routine + */ + public java.lang.Integer getConfiguration_() { + return getValue(CONFIGURATION_); + } +} diff --git a/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/P2515_.java b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/P2515_.java new file mode 100644 index 0000000000..cda77e5e21 --- /dev/null +++ b/jOOQ-test/src/org/jooq/test/hsqldb/generatedclasses/routines/P2515_.java @@ -0,0 +1,67 @@ +/** + * This class is generated by jOOQ + */ +package org.jooq.test.hsqldb.generatedclasses.routines; + +/** + * This class is generated by jOOQ. + */ +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class P2515_ extends org.jooq.impl.AbstractRoutine { + + private static final long serialVersionUID = -74534736; + + /** + * The parameter PUBLIC.P2515_.RETURN_VALUE. + */ + public static final org.jooq.Parameter RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.P2515_.A_A. + */ + public static final org.jooq.Parameter A_A = createParameter("A_A", org.jooq.impl.SQLDataType.INTEGER); + + /** + * The parameter PUBLIC.P2515_.A_A_. + */ + public static final org.jooq.Parameter A_A_ = createParameter("A_A_", org.jooq.impl.SQLDataType.INTEGER); + + /** + * Create a new routine call instance + */ + public P2515_() { + super("P2515_", org.jooq.test.hsqldb.generatedclasses.Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER); + + setReturnParameter(RETURN_VALUE); + addInParameter(A_A); + addInParameter(A_A_); + } + + /** + * Set the A_A parameter IN value to the routine + */ + public void setAA(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.P2515_.A_A, value); + } + + /** + * Set the A_A parameter to the function to be used with a {@link org.jooq.Select} statement + */ + public void setAA(org.jooq.Field field) { + setField(A_A, field); + } + + /** + * Set the A_A_ parameter IN value to the routine + */ + public void setAA_(java.lang.Integer value) { + setValue(org.jooq.test.hsqldb.generatedclasses.routines.P2515_.A_A_, value); + } + + /** + * Set the A_A_ parameter to the function to be used with a {@link org.jooq.Select} statement + */ + public void setAA_(org.jooq.Field field) { + setField(A_A_, field); + } +}