} catch (SQLException e) {
success = false;
}
DatabaseMetaData dmd = con.getMetaData();
boolean supported = dmd.supportsStoredFunctionsUsingCallSyntax();
if (success != supported) {
System.out.println("supportsStoredFunctionsUsingCallSyntax() " +
"returned " + supported + ", but executing " +
call + (success ? " succeeded." : " failed."));
}