private static void registerH2GISFunctions ( Connection connection , String packagePrepend ) throws SQLException { Statement st = connection . createStatement ( ) ; for ( Function function : getBuiltInsFunctions ( ) ) { try { registerFunction ( st , function , packagePrepend ) ; } catch ( SQLException ex ) { // Catch to register other functions ex . printStackTrace ( System . err ) ; } } }
Register all H2GIS functions