powerauth-server
powerauth-server copied to clipboard
Frequent rewriting of application entity records
The following issue occurs whenever activation record is updated, the application record is updated as well:
2023-06-01T15:22:38.335+02:00 DEBUG 2696217 --- [io-8080-exec-39] org.hibernate.SQL :
update
pa_application
set
name=?,
roles=?
where
id=?
Hibernate:
update
pa_application
set
name=?,
roles=?
where
id=?
2023-06-01T15:22:38.335+02:00 TRACE 2696217 --- [io-8080-exec-39] org.hibernate.orm.jdbc.bind : binding parameter [1] as [VARCHAR] - [dev]
2023-06-01T15:22:38.335+02:00 TRACE 2696217 --- [io-8080-exec-39] org.hibernate.orm.jdbc.bind : binding parameter [2] as [VARCHAR] - [[ "dev" ]]
2023-06-01T15:22:38.335+02:00 TRACE 2696217 --- [io-8080-exec-39] org.hibernate.orm.jdbc.bind : binding parameter [3] as [BIGINT] - [1]
Most probably fixed by removing mutability workaround #923
@jandusil please test and close if not relevant as suggested by @banterCZ .
Test run for POST /rest/v3/activation/name/update
and no bug found, closing