Package lib.persistence

Examples of lib.persistence.IPersistenceMechanism


    }
    return pm;
  }
 
  static IPersistenceMechanism pmInit() {
    IPersistenceMechanism returnValue = null;
    if (Constants.isPersistent()) {
      try {
        //#if relacional
          returnValue = PersistenceMechanism.getInstance();
        //#endif
        //#if norelacional
//@          returnValue = PersistenceMechanismJDO.getInstance();//Thiago alterou aqui
        //#endif
        // Persistence mechanism connection
        returnValue.connect();
      } catch (PersistenceMechanismException e) {
        e.printStackTrace();
      } catch (Exception e) {
        // Persistence mechanism desconnection for resource release
        try {
View Full Code Here

TOP

Related Classes of lib.persistence.IPersistenceMechanism

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.