
org.sqlproc.engine.jdbc.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sql-processor Show documentation
Show all versions of sql-processor Show documentation
SQL Processor - Data Driven Queries
/**
* The adapters and proxies for the JDBC stack.
*
* The simple usage can be the next one:
*
*
* JdbcEngineFactory sqlFactory = new JdbcEngineFactory();
* sqlFactory.setMetaFilesNames("statements.qry"); // the meta statements file
* SqlQueryEngine sqlEngine = sqlFactory.getQueryEngine("ALL_PEOPLE");
*
* // for the case it runs on the top of the JDBC stack
* Connection connection = DriverManager.getConnection("jdbc:hsqldb:mem:sqlproc", "sa", "");
* SqlSessionFactory sessionFactory = new JdbcSessionFactory(connection);
* SqlSession session = sessionFactory.getSqlSession();
*
* List<Person> list = sqlEngine.query(session, Person.class, null, SqlQueryEngine.ASC_ORDER);
*
*
*
* For more info please see the Tutorials.
*
* @author Vladimir Hudec
*/
package org.sqlproc.engine.jdbc;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy