Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

BIRT- SQL query debugging-how to

 I want to debug SQL query of BIRT report. I tried below code to get the generated query log but was not much helpful.


I added below script in Data Set -> open event.
importPackage( Packages.java.io );
out = new PrintWriter( new FileWriter( "c:/birt_logs/query.txt", true ) );
out.println( "My Query: " + this.queryText);
out.close();

if anyone knows how to get a runtime generated query logs, it will be helpful to everyone.

0 votes

Comments

Consider to ask your questions on a BIRT forum. At least the ones that are only BIRT related.


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121

Question asked: Sep 29 '20, 4:57 a.m.

Question was seen: 1,034 times

Last updated: Sep 29 '20, 10:14 a.m.

Confirmation Cancel Confirm