This commit is contained in:
@@ -477,10 +477,19 @@ public final class EntityInfo<T> {
|
|||||||
return tableStrategy;
|
return tableStrategy;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTableNotExistSqlStates() {
|
public String getTableNotExistSqlStates2() {
|
||||||
return tablenotexistSqlstates;
|
return tablenotexistSqlstates;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isTableNotExist(String code) {
|
||||||
|
return tablenotexistSqlstates.contains(';' + code + ';');
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isTableNotExist(SQLException e) {
|
||||||
|
if (e == null) return false;
|
||||||
|
return tablenotexistSqlstates.contains(';' + e.getSQLState() + ';');
|
||||||
|
}
|
||||||
|
|
||||||
public Attribute<T, Serializable>[] getInsertAttributes() {
|
public Attribute<T, Serializable>[] getInsertAttributes() {
|
||||||
return insertAttributes;
|
return insertAttributes;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user