public class JdbcEngineFactory extends SqlSimpleFactory
SqlEngineFactory optimized for the JDBC stack.
It's suitable mainly for the Spring DI based configuration, like the next one for the new loader
SqlProcessorLoader:
<beans ...>
...
<bean id="sqlFactory" class="org.sqlproc.engine.jdbc.JdbcEngineFactory" init-method="init">
<property name="metaFilesNames">
<list>
<value>statements.qry</value>
</list>
</property>
</bean>
</beans>
and use the next code to obtain an instance of the SQL Query engine
SqlQueryEngine sqlEngine = sqlFactory.getQueryEngine("ALL");
or the next code to obtain an instance of the SQL CRUD engine
SqlCrudEngine sqlEngine = sqlFactory.getCrudEngine("ALL");
For more info please see the Tutorials.
pluginFactory| Constructor and Description |
|---|
JdbcEngineFactory()
Creates a new instance with default values for the JDBC stack.
|
addCustomType, getCheckedCrudEngine, getCheckedProcedureEngine, getCheckedQueryEngine, getCrudEngine, getCustomTypes, getFilter, getLoader, getMetaFilesNames, getMetaStatements, getMonitorFactory, getOnlyStatements, getPluginFactory, getProcedureEngine, getQueryEngine, getTypeFactory, getValidatorFactory, init, isJdbc, setCustomTypes, setCustomTypes, setFilter, setJdbc, setMetaFilesNames, setMetaFilesNames, setMetaStatements, setMonitorFactory, setOnlyStatements, setPluginFactory, setTypeFactory, setValidatorFactoryCopyright © 2014. All Rights Reserved.