Hi, Thanks for your quick response.
It is capturing transactions, and I can see every sql statements. although it is not showing the parameter values.
Here's an example of sql statement log:
/* update mz.gov.cedsif.mpa.core.user.entity.UserEntity */ update MPA_USER set CREATED_BY=?, CREATION_DATE=?, UPDATE_DATE=?, UPDATED_BY=?, ACTIVATED_BY=?, ACTIVATION_DATE=?, ACTIVE=?, STATE=?, BIRTH_DATE=?, NAMES=?, PASSWORD=?, PASSWORD_EXPIRE_DATE=?, PROFILE_ID=?, SESSION_EXPIRE_TIME=?, SESSION_ID=?, SURNAME=?, UNIT_ID=?, USER_NAME=? where ID=?
I'm interested at getting also the real values instead of "?"
For the other hand, I could notice that going to menu Errors, and going to Trace Entries the values are shown in a separate array, like below (see the text in blue):
jsf apply request: /import-payment-file/import-payment-file3.xhtml
jsf invoke: #{urlController.urlEvaluate(mi1)}
#{urlController.urlEvaluate(mi1)}: javax.el.ELException: java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid{id=284}, status=3} is not in a valid state to be invoking cache operations on.
jdbc query: /* UserEntity.findUserByNuit */ select userentity0_.ID as ID1_14_, userentity0_.CREATED_BY as CREA ... .USER_NAME as USER_NAME19_14_ from MPA_USER userentity0_ where userentity0_.USER_NAME=? ['100000040'] => 1 row
jdbc query: select userentity0_.ID as ID1_14_0_, userentity0_.CREATED_BY as CREATED_BY2_14_0_, userentity0_.CR ... userentity0_.USER_NAME as USER_NAME19_14_0_ from MPA_USER userentity0_ where userentity0_.ID=? [109] => 1 row
jdbc query: /* update mz.gov.cedsif.mpa.core.user.entity.UserEntity */ update MPA_USER set CREATED_BY=?, CREATION_DATE=?, UPDATE_DATE=?, UPDATED_BY=?, ACTIVATED_BY=?, ACTIVATION_DATE=?, ACTIVE=?, STATE=?, BIRTH_DATE=?, NAMES=?, PASSWORD=?, PASSWORD_EXPIRE_DATE=?, PROFILE_ID=?, SESSION_EXPIRE_TIME=?, SESSION_ID=?, SURNAME=?, UNIT_ID=?, USER_NAME=? where ID=? [108, 2018-10-03 13:54:05.606, 2019-03-20 10:06:12.68, 109, 108, 2018-10-03 13:54:05.606, '1', 0, 1942-12-28 00:00:00.0, 'ADELINA ISABEL BERNARDINO PAINDANA', 'ru0w1KE5v+ohJ8GygS/gtA==', 2019-05-04 09:51:14.24, 3, NULL, NULL, NULL, 101, '100000040', 109]
log error: o.i.i.InvocationContextInterceptor - ISPN000136: Error executing command %s, writing keys %s
Transaction DummyTransaction{xid=DummyXid{id=284}, status=3} is not in a valid state to be invoking cache operations on.
log warning: j.e.r.webcontainer.jsf.lifecycle - #{urlController.urlEvaluate(mi1)}: javax.el.ELException: java.l ... on DummyTransaction{xid=DummyXid{id=284}, status=3} is not in a valid state to be invoking cache operations on.
#{urlController.urlEvaluate(mi1)}: javax.el.ELException: java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid{id=284}, status=3} is not in a valid state to be invoking cache operations on.
exception
Thanks