Update snapshots for @RunInTransaction void support

This commit is contained in:
Travis Burtrum 2019-07-21 00:41:47 -04:00
parent 9e89131a5b
commit d6d77c9528
5 changed files with 25 additions and 0 deletions

View File

@ -1910,6 +1910,11 @@ final java.time.ZoneOffset ret = com.moparisthebest.jdbc.util.ResultSetUtil.getZ
return com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, dao -> PersonDAO.super.getPersonInTransaction(lastName)); return com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, dao -> PersonDAO.super.getPersonInTransaction(lastName));
} }
@Override
public void update(final java.lang.String lastName) throws java.sql.SQLException {
com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, com.moparisthebest.jdbc.QueryRunner.voidToRunner(dao -> PersonDAO.super.update(lastName)));
}
@Override @Override
public byte[] getBlob(final long valNo) { public byte[] getBlob(final long valNo) {
PreparedStatement ps = null; PreparedStatement ps = null;

View File

@ -1910,6 +1910,11 @@ final java.time.ZoneOffset ret = com.moparisthebest.jdbc.util.ResultSetUtil.getZ
return com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, dao -> PersonDAO.super.getPersonInTransaction(lastName)); return com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, dao -> PersonDAO.super.getPersonInTransaction(lastName));
} }
@Override
public void update(final java.lang.String lastName) throws java.sql.SQLException {
com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, com.moparisthebest.jdbc.QueryRunner.voidToRunner(dao -> PersonDAO.super.update(lastName)));
}
@Override @Override
public byte[] getBlob(final long valNo) { public byte[] getBlob(final long valNo) {
PreparedStatement ps = null; PreparedStatement ps = null;

View File

@ -1910,6 +1910,11 @@ final java.time.ZoneOffset ret = com.moparisthebest.jdbc.util.ResultSetUtil.getZ
return com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, dao -> PersonDAO.super.getPersonInTransaction(lastName)); return com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, dao -> PersonDAO.super.getPersonInTransaction(lastName));
} }
@Override
public void update(final java.lang.String lastName) throws java.sql.SQLException {
com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, com.moparisthebest.jdbc.QueryRunner.voidToRunner(dao -> PersonDAO.super.update(lastName)));
}
@Override @Override
public byte[] getBlob(final long valNo) { public byte[] getBlob(final long valNo) {
PreparedStatement ps = null; PreparedStatement ps = null;

View File

@ -1910,6 +1910,11 @@ final java.time.ZoneOffset ret = com.moparisthebest.jdbc.util.ResultSetUtil.getZ
return com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, dao -> PersonDAO.super.getPersonInTransaction(lastName)); return com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, dao -> PersonDAO.super.getPersonInTransaction(lastName));
} }
@Override
public void update(final java.lang.String lastName) throws java.sql.SQLException {
com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, com.moparisthebest.jdbc.QueryRunner.voidToRunner(dao -> PersonDAO.super.update(lastName)));
}
@Override @Override
public byte[] getBlob(final long valNo) { public byte[] getBlob(final long valNo) {
PreparedStatement ps = null; PreparedStatement ps = null;

View File

@ -1910,6 +1910,11 @@ final java.time.ZoneOffset ret = com.moparisthebest.jdbc.util.ResultSetUtil.getZ
return com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, dao -> PersonDAO.super.getPersonInTransaction(lastName)); return com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, dao -> PersonDAO.super.getPersonInTransaction(lastName));
} }
@Override
public void update(final java.lang.String lastName) throws java.sql.SQLException {
com.moparisthebest.jdbc.QueryRunner.runInTransaction(this, com.moparisthebest.jdbc.QueryRunner.voidToRunner(dao -> PersonDAO.super.update(lastName)));
}
@Override @Override
public byte[] getBlob(final long valNo) { public byte[] getBlob(final long valNo) {
PreparedStatement ps = null; PreparedStatement ps = null;