Package org.apache.ode.store.jpa

Examples of org.apache.ode.store.jpa.DbConfStoreConnectionFactory


    public ProcessStoreImpl(EndpointReferenceContext eprContext,
                            DataSource ds,
                            ODEConfigurationProperties configurationProps) {
        this.eprContext = eprContext;
        if (ds != null) {
            connectionFactory = new DbConfStoreConnectionFactory(ds, false,
                    configurationProps.getTxFactoryClass());
        } else {
            // If the datasource is not provided, then we create a HSQL-based in-memory
            // database. Makes testing a bit simpler.
            String guid = new GUID().toString();
            DataSource hsqlds = createInternalDS(guid);
            connectionFactory = new DbConfStoreConnectionFactory(hsqlds, true,
                    configurationProps.getTxFactoryClass());
            inMemDs = hsqlds;
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.ode.store.jpa.DbConfStoreConnectionFactory

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.