Hello,
Using the studio (so a H2 database), I want to see the different query Hibernates run when I do a "myBdmObject.findByPersistenceId()"
Is that possible to switch the H2 driver in a "log" mode, then access al the different queries?
Thank you
Hello,
Using the studio (so a H2 database), I want to see the different query Hibernates run when I do a "myBdmObject.findByPersistenceId()"
Is that possible to switch the H2 driver in a "log" mode, then access al the different queries?
Thank you
Hello Pierre-Yves,
Yes, this is possible.
SET TRACE_LEVEL_SYSTEM_OUT 3;
SET TRACE_LEVEL_FILE 3;
Execute your REST API
It will contain all the request
/*SQL l:275*/select directionl0_MyBDMObject_persistenceId as MyBDMObject1_1_0_, directionl0_.DIRECTION as DIRECTIO2_64_0_, directionl0_.LibelleAutres_ORDER as directio3_0_ from MyBDMObject directionl0_ where directionl0_.MyBDMObject_persistenceId=? {1: 17283};
Best,