public static void load ( Connection connection ) throws SQLException { Statement st = connection . createStatement ( ) ; for ( Function function : getBuiltInsFunctions ( ) ) { try { H2GISFunctions . registerFunction ( st , function , "" ) ; } catch ( SQLException ex ) { // Catch to register other functions LOGGER . error ( ex . getLocalizedMessage ( ) , ex ) ; } } }
Init H2 DataBase with the network functions