Using TaskQuery with JDK6, I was wondering how I could display the SQL query Activiti constructs before interrogating the database.
Asked
Active
Viewed 947 times
1 Answers
1
Activiti uses hibernate for transactions, you need to change hibernate settings for displaying queries fired by the app. this post might help you.

Abbas Kararawala
- 1,254
- 12
- 19
-
Is "DEPLOYMENT_ID" used when interrogating "ACT_RU_TASK" when using Activiti API ? – Mohamed Ennahdi El Idrissi Jan 21 '18 at 13:58
-
I'm not sure, what do you mean by "Interrogating"? – Abbas Kararawala Jan 22 '18 at 06:50
-
When "Querying". – Mohamed Ennahdi El Idrissi Jan 22 '18 at 07:37
-
1No "DEPLOYMENT_ID" is not used while querying for ACT_RU_TASK, this table represents running tasks, they are always fetched by the API based on Execution_ID_ , PROC_INST_ID_ OR PROC_DEF_ID. depends upon which one you call. – Abbas Kararawala Jan 22 '18 at 09:22
-
have you configured logging properly in your application? refer to Activiti's userguide - [userguide](https://www.activiti.org/userguide/#loggingConfiguration) – Abbas Kararawala Jan 22 '18 at 09:27