UseFederationFactory
This property determines whether to use a factory instance or a json file to configure data sources.
データ型
bool
デフォルト値
false
解説
If you set this property to false, you can refer to this property to configure the driver: DatabaseConfiguration. If you set this property to true, you need implement a factory instance and set it to your QueryFederationConnection. The factory instance needs to implement the interface IFederationConnectionFactory: - In JDBC, it looks like "public class FactoryInstance implements IFederationConnectionFactory {...}" - In ADO, it looks like "public class FactoryInstance : IFederationConnectionFactory {...}" After your QF connection is established, set the FactoryInstance into it: - In JDBC, it looks like "((QueryFederationConnection) your_connection).setFederationFactory(new FactoryInstance());" - In ADO, it looks like "((QueryFederationConnection) your_connection).SetFederationFactory(new FactoryInstance());"