Examples of openContainer()


Examples of org.apache.derby.iapi.store.raw.Transaction.openContainer()

      xact = store_module.startInternalTransaction(ContextService.getFactory().getCurrentContextManager());

      ContainerKey id = new ContainerKey(segmentid, containerid);
      ContainerHandle container =
        xact.openContainer(id,
                   ContainerHandle.MODE_READONLY);
      Page page = container.getPage(pagenumber);

      if (page != null)
      {
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.Transaction.openContainer()

        Transaction     rawtran   = xact_manager.getRawStoreXact();

        try
        {
            container =
                rawtran.openContainer(
                    id,
                    rawtran.newLockingPolicy(
                        LockingPolicy.MODE_CONTAINER,
                        TransactionController.ISOLATION_SERIALIZABLE, true),
                    ContainerHandle.MODE_FORUPDATE |
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.Transaction.openContainer()

      xact = store_module.startInternalTransaction(ContextService.getFactory().getCurrentContextManager());

      ContainerKey id = new ContainerKey(segmentid, containerid);
      ContainerHandle container =
        xact.openContainer(id,
                   ContainerHandle.MODE_READONLY);
      Page page = container.getPage(pagenumber);

      if (page != null)
      {
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.xact.RawTransaction.openContainer()

    // make a handle which is tied to the ntt, not to the user transaction
        // this handle is tied to.  The container is already locked by the
        // user transaction, open it nolock
    BaseContainerHandle allocHandle = (BaseContainerHandle)
            ntt.openContainer(identity, (LockingPolicy)null, mode);

    if (allocHandle == null)
        {
      throw StandardException.newException(
                    SQLState.DATA_ALLOC_NTT_CANT_OPEN,
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.xact.RawTransaction.openContainer()

      mode &= ~ContainerHandle.MODE_UNLOGGED;

    // make a handle which is tied to the ntt, not to the user transaction this
    // handle is tied to.  The container is already locked by the user transaction,
    // open it nolock
    BaseContainerHandle allocHandle = (BaseContainerHandle)ntt.openContainer
      (identity, (LockingPolicy)null, mode);

    if (allocHandle == null)
        {
      throw StandardException.newException(
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.xact.RawTransaction.openContainer()

    // make a handle which is tied to the ntt, not to the user transaction
        // this handle is tied to.  The container is already locked by the
        // user transaction, open it nolock
    BaseContainerHandle allocHandle = (BaseContainerHandle)
            ntt.openContainer(identity, (LockingPolicy)null, mode);

    if (allocHandle == null)
        {
      throw StandardException.newException(
                    SQLState.DATA_ALLOC_NTT_CANT_OPEN,
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.xact.RawTransaction.openContainer()

      mode &= ~ContainerHandle.MODE_UNLOGGED;

    // make a handle which is tied to the ntt, not to the user transaction this
    // handle is tied to.  The container is already locked by the user transaction,
    // open it nolock
    BaseContainerHandle allocHandle = (BaseContainerHandle)ntt.openContainer
      (identity, (LockingPolicy)null, mode);

    if (allocHandle == null)
        {
      throw StandardException.newException(
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.xact.RawTransaction.openContainer()

    // make a handle which is tied to the ntt, not to the user transaction
        // this handle is tied to.  The container is already locked by the
        // user transaction, open it nolock
    BaseContainerHandle allocHandle = (BaseContainerHandle)
            ntt.openContainer(identity, (LockingPolicy)null, mode);

    if (allocHandle == null)
        {
      throw StandardException.newException(
                    SQLState.DATA_ALLOC_NTT_CANT_OPEN,
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.xact.RawTransaction.openContainer()

      mode &= ~ContainerHandle.MODE_UNLOGGED;

    // make a handle which is tied to the ntt, not to the user transaction this
    // handle is tied to.  The container is already locked by the user transaction,
    // open it nolock
    BaseContainerHandle allocHandle = (BaseContainerHandle)ntt.openContainer
      (identity, (LockingPolicy)null, mode);

    if (allocHandle == null)
        {
      throw StandardException.newException(
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.xact.RawTransaction.openContainer()

    // make a handle which is tied to the ntt, not to the user transaction
        // this handle is tied to.  The container is already locked by the
        // user transaction, open it nolock
    BaseContainerHandle allocHandle = (BaseContainerHandle)
            ntt.openContainer(identity, (LockingPolicy)null, mode);

    if (allocHandle == null)
        {
      throw StandardException.newException(
                    SQLState.DATA_ALLOC_NTT_CANT_OPEN,
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.