Specify correct use of Hibernate SQL statement debug output (and set in our log4j2-test.xml). (#1181)

This commit is contained in:
josecoll
2017-08-09 15:59:46 +01:00
committed by GitHub
parent 0b33214fea
commit 7cdcc48173
3 changed files with 15 additions and 6 deletions

View File

@ -350,6 +350,15 @@ Track unconsumed deal states or linear states (with snapshot including specifica
:start-after: DOCSTART VaultJavaQueryExample4
:end-before: DOCEND VaultJavaQueryExample4
Troubleshooting
---------------
If the results your were expecting do not match actual returned query results we recommend you add an entry to your
``log4j2.xml`` configuration file to enable display of executed SQL statements::
<Logger name="org.hibernate.SQL" level="debug" additivity="false">
<AppenderRef ref="Console-Appender"/>
</Logger>
Behavioural notes
-----------------
1. **TrackBy** updates do not take into account the full criteria specification due to different and more restrictive syntax