Package org.jitterbit.db

Examples of org.jitterbit.db.TransactionIsolationLevel


     * @param level
     *            the <code>TransactionIsolactionLevel</code> to use when connecting to this
     *            <code>DatabaseLocation</code>
     */
    public void setTransactionIsolactionLevel(TransactionIsolationLevel level) {
        TransactionIsolationLevel old;
        synchronized (getDataLock()) {
            old = getTransactionIsolationLevel();
            getData().putInt(TRANSACTION_ISOLATION_LEVEL, level.getCode());
        }
        if (level != old) {
View Full Code Here


        layout.add(selector.getLabel(), selector.getInputComponent(), false);
    }

    @Override
    public void applyTo(DatabaseLocation loc) throws IntegrationDataPanelException {
        TransactionIsolationLevel level = getSelectedLevel();
        loc.setTransactionIsolactionLevel(level);
    }
View Full Code Here

    public boolean isDefaultLevel() {
        return getSelectedLevel() == TransactionIsolationLevel.DEFAULT;
    }

    private TransactionIsolationLevel getSelectedLevel() {
        TransactionIsolationLevel level = (TransactionIsolationLevel) selector.getSelectedItem();
        if (level == null) {
            level = TransactionIsolationLevel.DEFAULT;
        }
        return level;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.db.TransactionIsolationLevel

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.