How do I get all trigger names from the database using Java JDBC?
2 answers
The JDBC API does not provide a standard way to retrieve trigger information from DatabaseMetaData. In fact, the word "trigger" doesn't even appear in the Javadoc. The accepted answer may work for Oracle, but it is not documented and certainly does not work for other databases like HSQL and PostgreSQL.
The only way to get trigger information without looking for an undocumented backdoor hack in the JDBC driver is with a specific database query question.
+1
source to share