sfCall.setResult("", clz);
}
else {
sfCall.setResult("", OBJECT);
}
DatabasePlatform platform = xrService.getORSession().getPlatform();
if (platform == null) {
platform = new DatabasePlatform();
}
// StoredFunction's return value is the first parameter
((DatabaseField)sfCall.getParameters().firstElement()).setSqlType(
platform.getJDBCType(clz));
}
}