In my OS/400 v6.x system I created an AFTER INSERT trigger for a physical file (DB2 table) using the ADDPFTRG command which is fired correctly everytime I execute a WRITE command on an RPG IV program or make an INSERT statement from the STRSQL but when I execute an INSERT statement from a Java program using JT400(JTOpen) JDBC driver the trigger is not fired.
In both scenarios (From OS400 and from Java) the record is inserted successfully but the trigger is only fired when the record is inserted from the OS400 way.
I've searched on IBM redbooks, JTOpen forums and Google anything that could be related to my case and found nothing at all.
Sadly, since the JT400 jar doesn't have a version number, I can't tell if my version is obsolete and I haven't had the opportunity to try the leatest from JTOpen page.
Is there any technical restriction or library bug that prevents me from firing a DB2 trigger from Java/JT400?