Examples of JNDIConnector


Examples of org.eclipse.persistence.sessions.JNDIConnector

        }
        String sequenceDataSource = getConfigPropertyAsStringLogDebug(PersistenceUnitProperties.JDBC_SEQUENCE_CONNECTION_POOL_DATASOURCE, m, session);
        if (sequenceDataSource != null) {
            DatasourceLogin login = (DatasourceLogin)this.session.getLogin().clone();
            login.dontUseExternalTransactionController();
            JNDIConnector jndiConnector = new JNDIConnector(sequenceDataSource);
            login.setConnector(jndiConnector);
            this.session.getSequencingControl().setLogin(login);
        }       
        // Sizes and shared option are irrelevant for external connection pool
        if (!this.session.getReadConnectionPool().getLogin().shouldUseExternalConnectionPooling()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.