|
|
@ -85,7 +85,8 @@ public class LocalDataSourceLoader implements InstantiationAwareBeanPostProcesso
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private boolean ifNonExecute(final Connection conn) throws SQLException {
|
|
|
|
private boolean ifNonExecute(final Connection conn) throws SQLException {
|
|
|
|
try (Statement statement = conn.createStatement();
|
|
|
|
try (
|
|
|
|
|
|
|
|
Statement statement = conn.createStatement();
|
|
|
|
ResultSet resultSet = statement.executeQuery("SELECT COUNT(*) FROM `user`")) {
|
|
|
|
ResultSet resultSet = statement.executeQuery("SELECT COUNT(*) FROM `user`")) {
|
|
|
|
if (resultSet.next()) {
|
|
|
|
if (resultSet.next()) {
|
|
|
|
int countUser = resultSet.getInt(1);
|
|
|
|
int countUser = resultSet.getInt(1);
|
|
|
|