0

を使用しても同じ結果が得られることに気付きました

    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);
        }

ここで、このメソッドがRowSetFactorysystem.property のセットを返すことがわかります。

このシステム プロパティを変更する理由は何ですか?

このプロパティをデフォルトで設定するのは誰ですか?

4

0 に答える 0