All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sqlproc.engine.jdbc.package-info Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version
/**
 * 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