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

Examples of org.apache.derby.iapi.store.access.XATransactionController


    synchronized (getConnectionSynchronization())
    {
            setupContextStack();
      try
      {
        XATransactionController tc =
          (XATransactionController) getLanguageConnection().getTransactionExecute();

        int ret = tc.xa_prepare();

        if (ret == XATransactionController.XA_RDONLY)
        {
          // On a prepare call, xa allows an optimization that if the
          // transaction is read only, the RM can just go ahead and
View Full Code Here


    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
        XATransactionController tc =
                    (XATransactionController)lcc.getTransactionExecute();

        int ret = tc.xa_prepare();

        if (ret == XATransactionController.XA_RDONLY)
        {
          // On a prepare call, xa allows an optimization that if the
          // transaction is read only, the RM can just go ahead and
View Full Code Here

    synchronized (getConnectionSynchronization())
    {
            setupContextStack();
      try
      {
        XATransactionController tc =
          (XATransactionController) getLanguageConnection().getTransactionExecute();

        int ret = tc.xa_prepare();

        if (ret == XATransactionController.XA_RDONLY)
        {
          // On a prepare call, xa allows an optimization that if the
          // transaction is read only, the RM can just go ahead and
View Full Code Here

    synchronized (getConnectionSynchronization())
    {
            setupContextStack();
      try
      {
        XATransactionController tc =
          (XATransactionController) getLanguageConnection().getTransactionExecute();

        int ret = tc.xa_prepare();

        if (ret == XATransactionController.XA_RDONLY)
        {
          // On a prepare call, xa allows an optimization that if the
          // transaction is read only, the RM can just go ahead and
View Full Code Here

    synchronized (getConnectionSynchronization())
    {
            setupContextStack();
      try
      {
        XATransactionController tc =
          (XATransactionController) getLanguageConnection().getTransactionExecute();

        int ret = tc.xa_prepare();

        if (ret == XATransactionController.XA_RDONLY)
        {
          // On a prepare call, xa allows an optimization that if the
          // transaction is read only, the RM can just go ahead and
View Full Code Here

    synchronized (getConnectionSynchronization())
    {
            setupContextStack();
      try
      {
        XATransactionController tc =
          (XATransactionController) getLanguageConnection().getTransactionExecute();

        int ret = tc.xa_prepare();

        if (ret == XATransactionController.XA_RDONLY)
        {
          // On a prepare call, xa allows an optimization that if the
          // transaction is read only, the RM can just go ahead and
View Full Code Here

    synchronized (getConnectionSynchronization())
    {
            setupContextStack();
      try
      {
        XATransactionController tc =
          (XATransactionController) getLanguageConnection().getTransactionExecute();

        int ret = tc.xa_prepare();

        if (ret == XATransactionController.XA_RDONLY)
        {
          // On a prepare call, xa allows an optimization that if the
          // transaction is read only, the RM can just go ahead and
View Full Code Here

    synchronized (getConnectionSynchronization())
    {
            setupContextStack();
      try
      {
        XATransactionController tc =
          (XATransactionController) getLanguageConnection().getTransactionExecute();

        int ret = tc.xa_prepare();

        if (ret == XATransactionController.XA_RDONLY)
        {
          // On a prepare call, xa allows an optimization that if the
          // transaction is read only, the RM can just go ahead and
View Full Code Here

    synchronized (getConnectionSynchronization())
    {
            setupContextStack();
      try
      {
        XATransactionController tc =
          (XATransactionController) getLanguageConnection().getTransactionExecute();

        int ret = tc.xa_prepare();

        if (ret == XATransactionController.XA_RDONLY)
        {
          // On a prepare call, xa allows an optimization that if the
          // transaction is read only, the RM can just go ahead and
View Full Code Here

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
        XATransactionController tc =
                    (XATransactionController)lcc.getTransactionExecute();

                try {
                    lcc.checkIntegrity();
                } catch (StandardException e) {
                    lcc.xaRollback();
                    throw e;
                }

        int ret = tc.xa_prepare();

        if (ret == XATransactionController.XA_RDONLY)
        {
          // On a prepare call, xa allows an optimization that if the
          // transaction is read only, the RM can just go ahead and
View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.store.access.XATransactionController

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.