Re: Java and remote databases
Buck Calabro <[email protected]> Wed, 4 Sep 2024 09:38:46 -0400
| Newsgroups | gmane.comp.lang.as400.java |
|---|---|
| Message-ID | <[email protected]> |
On 9/3/2024 11:57 AM, DOUGLAS ENGLANDER via JAVA400-L wrote: > 2. How can I see the statement that is being executed by executeQuery()? I > am thinking something is getting corrupted somehow but not sure how to > find that. I'd print it out. You need to import java.io.* at the top, and then System.out.println(theString); An alternative is to use something like Log4j, which would let you escalate the logging at runtime. But that's a bit more advanced than System.out.println(). -- --buck http://wiki.midrange.com Your updates make it better! -- This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/java400-l.