を使用しても同じ結果が得られることに気付きました
RowSetFactory rowSetFactory = RowSetProvider.newFactory();
と
rowSetFactory = new RowSetFactoryImpl();
newFactory
メソッドの実装:
public static RowSetFactory newFactory()
throws SQLException {
// Use the system property first
RowSetFactory factory = null;
String factoryClassName = null;
try {
trace("Checking for Rowset System Property...");
factoryClassName = getSystemProperty(ROWSET_FACTORY_NAME);
if (factoryClassName != null) {
trace("Found system property, value=" + factoryClassName);
factory = (RowSetFactory) getFactoryClass(factoryClassName, null, true).newInstance();
}
} catch (ClassNotFoundException e) {
throw new SQLException(
"RowSetFactory: " + factoryClassName + " not found", e);
} catch (Exception e) {
throw new SQLException(
"RowSetFactory: " + factoryClassName + " could not be instantiated: " + e,
e);
}
ここで、このメソッドがRowSetFactory
system.property のセットを返すことがわかります。
このシステム プロパティを変更する理由は何ですか?
このプロパティをデフォルトで設定するのは誰ですか?