Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello guys,
i need to know how i can see the number of line update (whith real modification) in data base. i use variable globale ((Integer)globalMap.get("tDBOutput_1_NB_LINE_UPDATED")) but results is all line despite there is no real modification in data base.
thank you
Hi, @Amine YAHIAOUI , do you commit the change in database , with tDBCommit component or auto commit in advanced settings of your DBConnection ?
Send me love and kudos
yes i used tdbcommit
could you share screenshot of your job ? tDBOutput_1_NB_LINE_UPDATED show the number of line updated, maybe you could print tDBOutput_1_QUERY to see the query send to the database for more investigation.
how i can print my query ??
on component ok link after Autoroute then tJava with:
System.out.println((String)globalMap.get("tDBOutput_1_QUERY"));
Do you use just update, or (insert or update), or (update or insert)
in tDBOutput ?
i have null
you can also select Enable debug mode in the advanced settings of the tdboutput component