We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a23d94 commit d318b7dCopy full SHA for d318b7d
1 file changed
src/main/java/io/github/intisy/utils/custom/SQL.java
@@ -255,7 +255,7 @@ private boolean isInvalidIdentifier(Object[] identifier) {
255
if (object == null) {
256
Log.error("Invalid identifier: object is null");
257
return true;
258
- } else if (!object.toString().split(" ")[0].matches("[A-Za-z0-9_]+")) {
+ } else if (!object.toString().split(" ")[0].matches("[A-Za-z0-9_-]+")) {
259
Log.error("Invalid identifier: " + object.toString().split(" ")[0]);
260
261
}
0 commit comments