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

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

/**
 * The adapters and proxies for the Hibernate stack.
 * 
 * The simple usage can be the next one:
 * 
 * 
 * HibernateEngineFactory sqlFactory = new HibernateEngineFactory();
 * sqlFactory.setMetaFilesNames("statements.qry"); // the meta statements file
 * SqlQueryEngine sqlEngine = sqlFactory.getQueryEngine("ALL_PEOPLE");
 * 
 * // for the case it runs on the top of the Hibernate stack
 * Configuration configuration = new Configuration().configure("hibernate.cfg.xml");
 * SqlSessionFactory sessionFactory = new HibernateSessionFactory(configuration.buildSessionFactory());
 * 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.hibernate;





© 2015 - 2025 Weber Informatics LLC | Privacy Policy