Package org.apache.isis.runtimes.dflt.runtime.system.persistence

Examples of org.apache.isis.runtimes.dflt.runtime.system.persistence.PersistenceSessionFactory


        installer = new XmlPersistenceMechanismInstaller();
    }

    @Test
    public void testCreatePersistenceSessionFactory() throws Exception {
        final PersistenceSessionFactory factory = installer.createPersistenceSessionFactory(deploymentType);
        assertTrue(factory != null);
    }
View Full Code Here


     *
     * @see FixturesInstalledFlag
     */
    @Override
    public boolean isFixturesInstalled() {
        final PersistenceSessionFactory persistenceSessionFactory = getPersistenceSessionFactory();
        if (persistenceSessionFactory instanceof FixturesInstalledFlag) {
            final FixturesInstalledFlag fixturesInstalledFlag = (FixturesInstalledFlag) persistenceSessionFactory;
            if (fixturesInstalledFlag.isFixturesInstalled() == null) {
                fixturesInstalledFlag.setFixturesInstalled(objectStore.isFixturesInstalled());
            }
View Full Code Here

TOP

Related Classes of org.apache.isis.runtimes.dflt.runtime.system.persistence.PersistenceSessionFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.