public void startTx(String reason) {
   times++;
   Object pm = null;
   if (getEM() != null) {
     pm = getEM().getActualEM();
   }
   Err.pr(
       JDONote.RELOAD_PM_KODO_BUG,
       reason + " in " + this + " with pm: " + pm + " times " + times + " isOnTxn " + isOnTx());
   super.startTx(reason);
 }
 /**
  * Get the connection properties depending on which enumIdWombat are connecting to. Also there are
  * two types of connections. One, the server, is to the actual database. The other type of
  * connection is a client connection, which connects to the server. From the client's point of
  * view this server is know as a host. (The host serves the guest/client). If
  * !fromJDOConnectionServer then we are currently at a client. There is only ever one server for a
  * client, so the logic in here sets the host property in this case.
  *
  * @param connectionInfo
  */
 public CayenneWombatDataStore(CayenneSecureConnectionInfo connectionInfo) {
   Err.pr("Creating a CayenneWombatDataStore");
   boolean client = connectionInfo.getORMType() == ORMTypeEnum.CAYENNE_CLIENT;
   // boolean client = true;
   super.setClasses(CayenneWombatData.getInstance(client).getClasses());
   Assert.isTrue(connectionInfo.getORMType().isCayenne());
   setEstimatedConnectDuration(connectionInfo.getEstimatedConnectDuration());
   setEstimatedLookupDataDuration(connectionInfo.getEstimatedLoadLookupDataDuration());
   setErrorThrower(Session.getErrorThrower());
   setConnectionConfigString(connectionInfo.getConfigStringName());
   setCayenneORMType(connectionInfo.getORMType());
   setDomainQueries(new CayenneWombatDomainQueries(client));
   setName(connectionInfo.getName());
 }
 public void startTx() {
   if (JDONote.RELOAD_PM_KODO_BUG.isVisible()) {
     Err.pr("Would be nice to provide a reason when JDONote.RELOAD_PM_KODO_BUG.isVisible()");
   }
   super.startTx();
 }
 protected void initLookups() {
   // Err.stack();
   super.initLookups();
 }