gavlyukovskiy/spring-boot-data-source-decorator

Hibernate and Update Queries

crgardner opened this issue · 2 comments

I'm using Spring Boot, Hibernate, and spring-boot-datasource-decorator with p6spy. For whatever reason, I don't see any update statements logged. The only related thing I could find is:

https://stackoverflow.com/questions/46251315/p6spy-does-not-log-hibernate-update-with-hsqldb

I tried the suggestion of not excluding batch, but that didn't help either.

Since spring-boot-datasource-proxy-decorator supports datasource-proxy, I tried datasource-proxy. It didn't log updates either.

Is there another setting required to log updates?

Is there a setting in hibernate that has to be done?

Hi @crgardner, it's hard to say without code samples, can you provide some code and I'll try to help

Closing due to inactivity