Package org.apache.derby.iapi.store.access

Examples of org.apache.derby.iapi.store.access.TransactionController.destroy()


    // property set.
    if (upgradeID != null)
      startParams.remove(DataDictionary.DATABASE_ID);

    tc.commit();
    tc.destroy();

    return databaseID;
  }

  /**
 
View Full Code Here


    TransactionController tc = af.getTransaction(
                    ContextService.getFactory().getCurrentContextManager());
    Properties dbProps = tc.getProperties();
    tc.commit();
    tc.destroy();

    return dbProps;
  }

  protected void bootResourceAdapter(boolean create, Properties allParams) {
View Full Code Here

          if (se.getMessageId().equals(SQLState.LOCK_TIMEOUT))
          {
            if (nestedTC != null)
            {
            nestedTC.commit();
            nestedTC.destroy();
            nestedTC = null;
            }
            // if we couldn't do this with a nested xaction, retry with
            // parent-- we need to wait this time!
            initiallyCompilable = compilable;
View Full Code Here

          // bad happened in the child xaction lets not abort the parent
          // here.
          if (nestedTC != null)
          {
            nestedTC.commit();
            nestedTC.destroy();
          }
        }
      }
    }
View Full Code Here

                    }
                }

                if (nested_tc != null)
                {
                    nested_tc.destroy();
                }

    }

    return;
View Full Code Here

                    }
                }

                if (nested_tc != null)
                {
                    nested_tc.destroy();
                }

            }
            catch (StandardException se)
            {
View Full Code Here

                        pass = true;
                }
      }

      tc.commit();
      tc.destroy();
    }
    catch (StandardException e)
    {
      String  msg = e.getMessage();
      if (msg == null)
View Full Code Here

          if (se.getMessageId().equals(SQLState.LOCK_TIMEOUT))
          {
            if (nestedTC != null)
            {
            nestedTC.commit();
            nestedTC.destroy();
            nestedTC = null;
            }
            // if we couldn't do this with a nested xaction, retry with
            // parent-- we need to wait this time!
            prepareAndRelease(lcc, null, null);
View Full Code Here

          // bad happened in the child xaction lets not abort the parent
          // here.
          if (nestedTC != null)
          {
            nestedTC.commit();
            nestedTC.destroy();
          }
        }
      }
    }
View Full Code Here

    // property set.
    if (upgradeID != null)
      startParams.remove(DataDictionary.DATABASE_ID);

    tc.commit();
    tc.destroy();

    return databaseID;
  }

  /**
 
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.