I have now found a solution. When packaging everything into a JAR file and installing the jar in the database my DDL executed successfully and the trigger using java code do what they are supposed to do.
Still a miracle to me why it didn't work when storing the java code on the filesystem. Regards Thomas
