1
0
mirror of synced 2026-05-22 21:33:16 +00:00
Files
spring-security/acl
Nena Raab d1a754fcf2 JdbcAclService: fixes PostgreSql issue
When setup the acl tables as specified in the Spring.io documentation
I have faced the following error on a PostgreSql database:
org.postgresql.util.PSQLException: ERROR: operator does not exist:
bigint = character varying.
This is because the acl_object_identity.object_id_identity column is
of type varchar(36) but it is not necessarily accessed with a value
of type String.

- JdbcAclService / JdbcMutableAclService: SQL query must match
  object_id_identity column specification
- JdbcAclService: changed JdbcTemplate to JdbcOperations for testability
- JdbcAclServiceTest: Increased test coverage,
  the integration tests using embedded db relates to this commit
https://github.com/thomasdarimont/spring-security/commit/cd8d2079ed708871472d2ea47b0e9b7ded9c8141

Fixes gh-5508
2018-12-17 10:05:03 -06:00
..