This commit is contained in:
Redkale
2016-10-13 17:35:05 +08:00
parent d3cf414c51
commit e3f851ed1f

View File

@@ -1246,6 +1246,9 @@ public final class DataDefaultSource implements DataSource, Function<Class, Enti
set.close();
ps.close();
return rs;
} catch (SQLException se) {
if (info.tableStrategy != null && info.tablenotexistSqlstates.contains(';' + se.getSQLState() + ';')) return false;
throw new RuntimeException(se);
} catch (Exception ex) {
throw new RuntimeException(ex);
} finally {
@@ -1277,6 +1280,9 @@ public final class DataDefaultSource implements DataSource, Function<Class, Enti
set.close();
ps.close();
return rs;
} catch (SQLException se) {
if (info.tableStrategy != null && info.tablenotexistSqlstates.contains(';' + se.getSQLState() + ';')) return false;
throw new RuntimeException(se);
} catch (Exception ex) {
throw new RuntimeException(ex);
} finally {