You must perform some data processing before writing to the tables. Created a trigger, tried on a simple Java class - everything works. But when I downloaded the "combat" class, difficulties arose.
Class:
... byte[] initialBytesArray = bigIntegerID.toByteArray(); ArrayList<Byte> bytesList = new ArrayList<>(); for (byte b : initialBytesArray) { bytesList.add(new Byte(b)); } ...
Swears as follows:
java.sql.SQLException: ORA-29536: incorrectly generated source: Encountered ">" at line
That is, he doesn’t like ArrayList<Byte>
and we can’t do without it. Is there any solution to such problems?