Mercurial > dive4elements > framework
changeset 481:6f6a5b229a7a
Use correct data type for user role in sql statement.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 06 May 2013 16:36:07 +0200 |
parents | 4741da05c0d9 |
children | 26ae3267bb32 |
files | artifact-database/src/main/java/org/dive4elements/artifactdatabase/Backend.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/artifact-database/src/main/java/org/dive4elements/artifactdatabase/Backend.java Fri May 03 16:19:40 2013 +0200 +++ b/artifact-database/src/main/java/org/dive4elements/artifactdatabase/Backend.java Mon May 06 16:36:07 2013 +0200 @@ -844,7 +844,7 @@ stmnt.setString(4, account); if (roleData == null) { - stmnt.setNull(5, Types.BIGINT); + stmnt.setNull(5, Types.BINARY); } else { stmnt.setBytes(5, roleData);