Does anyone know if it's possible to get the definition of functions/procedures via JDBC?
Yeah seems like this is the only way to go. Thanks!
No clue whether there's a JDBC-specific way, but at least with PostgreSQL you can get the definition of anything with a simple SQL query, since all the metadata is stored in system tables.