Examples of startInternalTransaction()

AN internal transaction is identical to a user transaction with the exception that

Only one internal transaction can be active in a context at any one time. After a commit the transaction may be re-used.

Raw Store Internal Transaction Context Behaviour
The cleanupOnError() method of this context behaves as follows:

@exception StandardException Standard Derby error policy @see Transaction @see org.apache.derby.iapi.services.context.Context @see StandardException

Examples of org.apache.derby.iapi.store.raw.RawStoreFactory.startInternalTransaction()

      Object module = getModuleFromDbName(db_name);

      RawStoreFactory store_module = (RawStoreFactory)
        Monitor.findServiceModule(module, RawStoreFactory.MODULE);

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

      ContainerKey id = new ContainerKey(segmentid, containerid);
      ContainerHandle container =
        xact.openContainer(id,
                   ContainerHandle.MODE_READONLY);
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.RawStoreFactory.startInternalTransaction()

      Object module = getModuleFromDbName(db_name);

      RawStoreFactory store_module = (RawStoreFactory)
        Monitor.findServiceModule(module, RawStoreFactory.MODULE);

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

      ContainerKey id = new ContainerKey(segmentid, containerid);
      ContainerHandle container =
        xact.openContainer(id,
                   ContainerHandle.MODE_READONLY);
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.RawStoreFactory.startInternalTransaction()

      Object module = getModuleFromDbName(db_name);

      RawStoreFactory store_module = (RawStoreFactory)
        Monitor.findServiceModule(module, RawStoreFactory.MODULE);

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

      ContainerKey id = new ContainerKey(segmentid, containerid);
      ContainerHandle container =
        xact.openContainer(id,
                   ContainerHandle.MODE_READONLY);
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.