diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-01-22 10:41:05 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-01-22 10:41:05 +0100 |
commit | 7fb5502e50ff4845c9fa3672d7efac74dc3e8fd8 (patch) | |
tree | 57cd2bd036c03073c3085738012c3c360db4f389 /id/server/moa-id-commons/src/main/java/at | |
parent | 1b68d46f1508b60285c82f61bd60817b3c1baee4 (diff) | |
download | moa-id-spss-7fb5502e50ff4845c9fa3672d7efac74dc3e8fd8.tar.gz moa-id-spss-7fb5502e50ff4845c9fa3672d7efac74dc3e8fd8.tar.bz2 moa-id-spss-7fb5502e50ff4845c9fa3672d7efac74dc3e8fd8.zip |
blacklist Microsoft SQL JDBC driver, because default online-application load operation does not work
- Microsoft SQL does not allow len() method calls with a parameter of type text
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at')
-rw-r--r-- | id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/MOAIDConstants.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/MOAIDConstants.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/MOAIDConstants.java index a04b8f454..a28fe6a7b 100644 --- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/MOAIDConstants.java +++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/MOAIDConstants.java @@ -61,6 +61,7 @@ public class MOAIDConstants { public static final List<String> ALLOWED_KEYBOXIDENTIFIER; public static final List<String> ALLOWED_REDIRECTTARGETNAMES; public static final List<String> ALLOWED_STORKATTRIBUTEPROVIDERS; + public static final List<String> JDBC_DRIVER_NEEDS_WORKAROUND; static { @@ -105,4 +106,11 @@ public class MOAIDConstants { } + static { + List<String> jdbcDriverWorkaround = new ArrayList<String>(); + jdbcDriverWorkaround.add("oracle.jdbc."); + jdbcDriverWorkaround.add("com.microsoft.sqlserver."); + JDBC_DRIVER_NEEDS_WORKAROUND = Collections.unmodifiableList(jdbcDriverWorkaround); + } + } |