Package javax.jdo

Examples of javax.jdo.JDOException



  public boolean getNontransactionalWrite() {
    //delegate
    if (managedConnection == null) {
            throw new JDOException(NO_ACTIVE_CONNECTION);
        }
        return ((JDOPOManagerItf) managedConnection.getPOManager()).currentTransaction().getNontransactionalWrite();
  }
View Full Code Here



  public void setRetainValues(boolean retainValues) {
    //delegate
    if (managedConnection == null) {
            throw new JDOException(NO_ACTIVE_CONNECTION);
        }
        ((JDOPOManagerItf) managedConnection.getPOManager()).currentTransaction().setRetainValues(retainValues);
   
  }
View Full Code Here


  public boolean getRetainValues() {
    //delegate
    if (managedConnection == null) {
            throw new JDOException(NO_ACTIVE_CONNECTION);
        }
        return ((JDOPOManagerItf) managedConnection.getPOManager()).currentTransaction().getRetainValues();
  }
View Full Code Here


  public void setRestoreValues(boolean restoreValues) {
    //delegate
    if (managedConnection == null) {
            throw new JDOException(NO_ACTIVE_CONNECTION);
        }
        ((JDOPOManagerItf) managedConnection.getPOManager()).currentTransaction().setRestoreValues(restoreValues);
  }
View Full Code Here


  public boolean getRestoreValues() {
    //delegate
    if (managedConnection == null) {
            throw new JDOException(NO_ACTIVE_CONNECTION);
        }
        return ((JDOPOManagerItf) managedConnection.getPOManager()).currentTransaction().getRestoreValues();
  }
View Full Code Here


  public void setOptimistic(boolean optimistic) {
    //delegate
    if (managedConnection == null) {
            throw new JDOException(NO_ACTIVE_CONNECTION);
        }
        ((JDOPOManagerItf) managedConnection.getPOManager()).currentTransaction().setOptimistic(optimistic);
  }
View Full Code Here


  public boolean getOptimistic() {
    //delegate
    if (managedConnection == null) {
            throw new JDOException(NO_ACTIVE_CONNECTION);
        }
        return ((JDOPOManagerItf) managedConnection.getPOManager()).currentTransaction().getOptimistic();
  }
View Full Code Here

 
  public void setSynchronization(Synchronization sync) {
    //delegate
    if (managedConnection == null) {
            throw new JDOException(NO_ACTIVE_CONNECTION);
        }
        ((JDOPOManagerItf) managedConnection.getPOManager()).currentTransaction().setSynchronization(sync);
  }
View Full Code Here

 
  public Synchronization getSynchronization() {
    //delegate
    if (managedConnection == null) {
            throw new JDOException(NO_ACTIVE_CONNECTION);
        }
        return ((JDOPOManagerItf) managedConnection.getPOManager()).currentTransaction().getSynchronization();
  }
View Full Code Here


  public PersistenceManager getPersistenceManager() {
    //delegate
    if (managedConnection == null) {
            throw new JDOException(NO_ACTIVE_CONNECTION);
        }
        return ((JDOPOManagerItf) managedConnection.getPOManager()).currentTransaction().getPersistenceManager();
  }
View Full Code Here

TOP

Related Classes of javax.jdo.JDOException

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.