Update snapshots for last commit

This commit is contained in:
Travis Burtrum 2019-03-08 11:12:11 -05:00
parent 39402c8613
commit a535465a2a
10 changed files with 238 additions and 6 deletions

View File

@ -1561,6 +1561,30 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
}
}
@Override
public java.sql.ResultSet getFieldPeopleResultSet(final java.util.List<java.lang.Long> personNos) throws java.sql.SQLException {
PreparedStatement ps = null;
ResultSet rs = null;
final Array[] _bindArrays = new Array[1];
try {
_bindArrays[0] = conn.createArrayOf("NUMERIC", personNos.toArray(new java.lang.Long[personNos.size()]));
ps = this.prepareStatement(62, "SELECT person_no, first_name, last_name, birth_date from person WHERE (person_no = ANY(?)) ORDER BY person_no");
ps.setArray(1, _bindArrays[0]);
rs = ps.executeQuery();
return rs;
} catch(Throwable e) {
tryClose(rs);
if(e instanceof SQLException)
throw (SQLException)e;
if(e instanceof RuntimeException)
throw (RuntimeException)e;
throw new RuntimeException(e);
} finally {
for(final Array _bindArray : _bindArrays)
tryClose(_bindArray);
}
}
private static final java.lang.reflect.Field[] _fields = new java.lang.reflect.Field[] {
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "personNo"),
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "firstName"),
@ -1576,7 +1600,7 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.ReverseFieldPerson.class, "first_name"),
};
private final PreparedStatement[] psCache = new PreparedStatement[62];
private final PreparedStatement[] psCache = new PreparedStatement[63];
private PreparedStatement prepareStatement(final int index, final String sql) throws SQLException {
final PreparedStatement ps = psCache[index];

View File

@ -1559,6 +1559,28 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
}
}
@Override
public java.sql.ResultSet getFieldPeopleResultSet(final java.util.List<java.lang.Long> personNos) throws java.sql.SQLException {
PreparedStatement ps = null;
ResultSet rs = null;
try {
ps = conn.prepareStatement("SELECT person_no, first_name, last_name, birth_date from person WHERE " + com.moparisthebest.jdbc.util.InListUtil.toInList("person_no", personNos) + " ORDER BY person_no");
int psParamCount = 0;
for(final java.lang.Long _bindInListParam : personNos)
ps.setObject(++psParamCount, _bindInListParam);
rs = ps.executeQuery();
return new com.moparisthebest.jdbc.StatementClosingResultSet(rs, ps);
} catch(Throwable e) {
tryClose(rs);
tryClose(ps);
if(e instanceof SQLException)
throw (SQLException)e;
if(e instanceof RuntimeException)
throw (RuntimeException)e;
throw new RuntimeException(e);
}
}
private static final java.lang.reflect.Field[] _fields = new java.lang.reflect.Field[] {
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "personNo"),
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "firstName"),

View File

@ -1559,6 +1559,28 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
}
}
@Override
public java.sql.ResultSet getFieldPeopleResultSet(final java.util.List<java.lang.Long> personNos) throws java.sql.SQLException {
PreparedStatement ps = null;
ResultSet rs = null;
try {
ps = conn.prepareStatement("SELECT person_no, first_name, last_name, birth_date from person WHERE " + com.moparisthebest.jdbc.util.InListUtil.toInList("person_no", personNos) + " ORDER BY person_no");
int psParamCount = 0;
for(final java.lang.Long _bindInListParam : personNos)
ps.setObject(++psParamCount, _bindInListParam);
rs = ps.executeQuery();
return new com.moparisthebest.jdbc.StatementClosingResultSet(rs, ps);
} catch(Throwable e) {
tryClose(rs);
tryClose(ps);
if(e instanceof SQLException)
throw (SQLException)e;
if(e instanceof RuntimeException)
throw (RuntimeException)e;
throw new RuntimeException(e);
}
}
private static final java.lang.reflect.Field[] _fields = new java.lang.reflect.Field[] {
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "personNo"),
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "firstName"),

View File

@ -1561,6 +1561,30 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
}
}
@Override
public java.sql.ResultSet getFieldPeopleResultSet(final java.util.List<java.lang.Long> personNos) throws java.sql.SQLException {
PreparedStatement ps = null;
ResultSet rs = null;
final Array[] _bindArrays = new Array[1];
try {
_bindArrays[0] = conn.unwrap(oracle.jdbc.OracleConnection.class).createOracleArray("ARRAY_NUM_TYPE", personNos.toArray(new java.lang.Long[personNos.size()]));
ps = this.prepareStatement(62, "SELECT person_no, first_name, last_name, birth_date from person WHERE (person_no IN(select column_value from table(?))) ORDER BY person_no");
ps.setArray(1, _bindArrays[0]);
rs = ps.executeQuery();
return rs;
} catch(Throwable e) {
tryClose(rs);
if(e instanceof SQLException)
throw (SQLException)e;
if(e instanceof RuntimeException)
throw (RuntimeException)e;
throw new RuntimeException(e);
} finally {
for(final Array _bindArray : _bindArrays)
tryClose(_bindArray);
}
}
private static final java.lang.reflect.Field[] _fields = new java.lang.reflect.Field[] {
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "personNo"),
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "firstName"),
@ -1576,7 +1600,7 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.ReverseFieldPerson.class, "first_name"),
};
private final PreparedStatement[] psCache = new PreparedStatement[62];
private final PreparedStatement[] psCache = new PreparedStatement[63];
private PreparedStatement prepareStatement(final int index, final String sql) throws SQLException {
final PreparedStatement ps = psCache[index];

View File

@ -1561,6 +1561,30 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
}
}
@Override
public java.sql.ResultSet getFieldPeopleResultSet(final java.util.List<java.lang.Long> personNos) throws java.sql.SQLException {
PreparedStatement ps = null;
ResultSet rs = null;
final Array[] _bindArrays = new Array[1];
try {
_bindArrays[0] = conn.createArrayOf("NUMERIC", personNos.toArray(new java.lang.Long[personNos.size()]));
ps = this.prepareStatement(62, "SELECT person_no, first_name, last_name, birth_date from person WHERE (person_no IN(UNNEST(?))) ORDER BY person_no");
ps.setArray(1, _bindArrays[0]);
rs = ps.executeQuery();
return rs;
} catch(Throwable e) {
tryClose(rs);
if(e instanceof SQLException)
throw (SQLException)e;
if(e instanceof RuntimeException)
throw (RuntimeException)e;
throw new RuntimeException(e);
} finally {
for(final Array _bindArray : _bindArrays)
tryClose(_bindArray);
}
}
private static final java.lang.reflect.Field[] _fields = new java.lang.reflect.Field[] {
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "personNo"),
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "firstName"),
@ -1576,7 +1600,7 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.ReverseFieldPerson.class, "first_name"),
};
private final PreparedStatement[] psCache = new PreparedStatement[62];
private final PreparedStatement[] psCache = new PreparedStatement[63];
private PreparedStatement prepareStatement(final int index, final String sql) throws SQLException {
final PreparedStatement ps = psCache[index];

View File

@ -1278,6 +1278,30 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
}
}
@Override
public java.sql.ResultSet getFieldPeopleResultSet(final java.util.List<java.lang.Long> personNos) throws java.sql.SQLException {
PreparedStatement ps = null;
ResultSet rs = null;
final Array[] _bindArrays = new Array[1];
try {
_bindArrays[0] = conn.createArrayOf("NUMERIC", personNos.toArray(new java.lang.Long[personNos.size()]));
ps = this.prepareStatement(48, "SELECT person_no, first_name, last_name, birth_date from person WHERE (person_no = ANY(?)) ORDER BY person_no");
ps.setArray(1, _bindArrays[0]);
rs = ps.executeQuery();
return rs;
} catch(Throwable e) {
tryClose(rs);
if(e instanceof SQLException)
throw (SQLException)e;
if(e instanceof RuntimeException)
throw (RuntimeException)e;
throw new RuntimeException(e);
} finally {
for(final Array _bindArray : _bindArrays)
tryClose(_bindArray);
}
}
private static final java.lang.reflect.Field[] _fields = new java.lang.reflect.Field[] {
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "personNo"),
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "firstName"),
@ -1293,7 +1317,7 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.ReverseFieldPerson.class, "first_name"),
};
private final PreparedStatement[] psCache = new PreparedStatement[48];
private final PreparedStatement[] psCache = new PreparedStatement[49];
private PreparedStatement prepareStatement(final int index, final String sql) throws SQLException {
final PreparedStatement ps = psCache[index];

View File

@ -1276,6 +1276,28 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
}
}
@Override
public java.sql.ResultSet getFieldPeopleResultSet(final java.util.List<java.lang.Long> personNos) throws java.sql.SQLException {
PreparedStatement ps = null;
ResultSet rs = null;
try {
ps = conn.prepareStatement("SELECT person_no, first_name, last_name, birth_date from person WHERE " + com.moparisthebest.jdbc.util.InListUtil.toInList("person_no", personNos) + " ORDER BY person_no");
int psParamCount = 0;
for(final java.lang.Long _bindInListParam : personNos)
ps.setObject(++psParamCount, _bindInListParam);
rs = ps.executeQuery();
return new com.moparisthebest.jdbc.StatementClosingResultSet(rs, ps);
} catch(Throwable e) {
tryClose(rs);
tryClose(ps);
if(e instanceof SQLException)
throw (SQLException)e;
if(e instanceof RuntimeException)
throw (RuntimeException)e;
throw new RuntimeException(e);
}
}
private static final java.lang.reflect.Field[] _fields = new java.lang.reflect.Field[] {
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "personNo"),
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "firstName"),

View File

@ -1276,6 +1276,28 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
}
}
@Override
public java.sql.ResultSet getFieldPeopleResultSet(final java.util.List<java.lang.Long> personNos) throws java.sql.SQLException {
PreparedStatement ps = null;
ResultSet rs = null;
try {
ps = conn.prepareStatement("SELECT person_no, first_name, last_name, birth_date from person WHERE " + com.moparisthebest.jdbc.util.InListUtil.toInList("person_no", personNos) + " ORDER BY person_no");
int psParamCount = 0;
for(final java.lang.Long _bindInListParam : personNos)
ps.setObject(++psParamCount, _bindInListParam);
rs = ps.executeQuery();
return new com.moparisthebest.jdbc.StatementClosingResultSet(rs, ps);
} catch(Throwable e) {
tryClose(rs);
tryClose(ps);
if(e instanceof SQLException)
throw (SQLException)e;
if(e instanceof RuntimeException)
throw (RuntimeException)e;
throw new RuntimeException(e);
}
}
private static final java.lang.reflect.Field[] _fields = new java.lang.reflect.Field[] {
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "personNo"),
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "firstName"),

View File

@ -1278,6 +1278,30 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
}
}
@Override
public java.sql.ResultSet getFieldPeopleResultSet(final java.util.List<java.lang.Long> personNos) throws java.sql.SQLException {
PreparedStatement ps = null;
ResultSet rs = null;
final Array[] _bindArrays = new Array[1];
try {
_bindArrays[0] = conn.unwrap(oracle.jdbc.OracleConnection.class).createOracleArray("ARRAY_NUM_TYPE", personNos.toArray(new java.lang.Long[personNos.size()]));
ps = this.prepareStatement(48, "SELECT person_no, first_name, last_name, birth_date from person WHERE (person_no IN(select column_value from table(?))) ORDER BY person_no");
ps.setArray(1, _bindArrays[0]);
rs = ps.executeQuery();
return rs;
} catch(Throwable e) {
tryClose(rs);
if(e instanceof SQLException)
throw (SQLException)e;
if(e instanceof RuntimeException)
throw (RuntimeException)e;
throw new RuntimeException(e);
} finally {
for(final Array _bindArray : _bindArrays)
tryClose(_bindArray);
}
}
private static final java.lang.reflect.Field[] _fields = new java.lang.reflect.Field[] {
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "personNo"),
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "firstName"),
@ -1293,7 +1317,7 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.ReverseFieldPerson.class, "first_name"),
};
private final PreparedStatement[] psCache = new PreparedStatement[48];
private final PreparedStatement[] psCache = new PreparedStatement[49];
private PreparedStatement prepareStatement(final int index, final String sql) throws SQLException {
final PreparedStatement ps = psCache[index];

View File

@ -1278,6 +1278,30 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
}
}
@Override
public java.sql.ResultSet getFieldPeopleResultSet(final java.util.List<java.lang.Long> personNos) throws java.sql.SQLException {
PreparedStatement ps = null;
ResultSet rs = null;
final Array[] _bindArrays = new Array[1];
try {
_bindArrays[0] = conn.createArrayOf("NUMERIC", personNos.toArray(new java.lang.Long[personNos.size()]));
ps = this.prepareStatement(48, "SELECT person_no, first_name, last_name, birth_date from person WHERE (person_no IN(UNNEST(?))) ORDER BY person_no");
ps.setArray(1, _bindArrays[0]);
rs = ps.executeQuery();
return rs;
} catch(Throwable e) {
tryClose(rs);
if(e instanceof SQLException)
throw (SQLException)e;
if(e instanceof RuntimeException)
throw (RuntimeException)e;
throw new RuntimeException(e);
} finally {
for(final Array _bindArray : _bindArrays)
tryClose(_bindArray);
}
}
private static final java.lang.reflect.Field[] _fields = new java.lang.reflect.Field[] {
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "personNo"),
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.FieldPerson.class, "firstName"),
@ -1293,7 +1317,7 @@ final java.lang.Long ret = com.moparisthebest.jdbc.util.ResultSetUtil.getObjectL
com.moparisthebest.jdbc.util.ReflectionUtil.getAccessibleField(com.moparisthebest.jdbc.dto.ReverseFieldPerson.class, "first_name"),
};
private final PreparedStatement[] psCache = new PreparedStatement[48];
private final PreparedStatement[] psCache = new PreparedStatement[49];
private PreparedStatement prepareStatement(final int index, final String sql) throws SQLException {
final PreparedStatement ps = psCache[index];