Examples of endTransaction()


Examples of com.adito.jdbc.JDBCPreparedStatement.endTransaction()

        } catch (Exception e) {
            ps.rollback();
            throw e;
        } finally {
            ps.releasePreparedStatement();
            ps.endTransaction();
        }
        return getWebForward(webForward.getResourceId());
    }

    /*
 
View Full Code Here

Examples of com.adito.jdbc.JDBCPreparedStatement.endTransaction()

        } catch (Exception e) {
            ps.rollback();
            throw e;
        } finally {
            ps.releasePreparedStatement();
            ps.endTransaction();
        }
    }

    /*
     * (non-Javadoc)
 
View Full Code Here

Examples of com.alibaba.druid.support.ibatis.SqlMapClientWrapper.endTransaction()

        Assert.assertNotNull(client);

        SqlMapClientWrapper wrapper = new SqlMapClientWrapper(client);
        wrapper.getClient();
        wrapper.startTransaction();
        wrapper.endTransaction();
        wrapper.startTransaction(Connection.TRANSACTION_NONE);
        wrapper.endTransaction();
        wrapper.setUserConnection(wrapper.getUserConnection());
        wrapper.getCurrentConnection();
        wrapper.getDataSource();
View Full Code Here

Examples of com.avaje.ebean.EbeanServer.endTransaction()

    Product shadow2 = server.find(Product.class, prod2.getId());
   
    Assert.assertNull(shadow1);
    Assert.assertNull(shadow2);
   
    server.endTransaction();
   
  }
 
  private Product createProduct(Integer id, String name) {
    Product prod = new Product();
View Full Code Here

Examples of com.avaje.ebean.EbeanServer.endTransaction()

      EBasic loadedEntity = server.find(EBasic.class,bean1.getId());

      assertThat(loadedEntity.getName(), is("hello-changed"));

    } finally {
      server.endTransaction();
    }
   
  }
 
}
View Full Code Here

Examples of com.avaje.ebean.EbeanServer.endTransaction()

    server.beginTransaction();
    try {
        EMain b3 = server.find(EMain.class, b.getId());
        Assert.assertEquals("ABC", b3.getEmbeddable().getDescription());
    } finally {
        server.endTransaction();
    }
    EMain b4 = server.find(EMain.class, b.getId());
    b4.setName("bbb");
    b4.getEmbeddable().setDescription("123");
    server.save(b4);
View Full Code Here

Examples of com.ibatis.sqlmap.client.SqlMapClient.endTransaction()

            if (useTrans) {
                client.commitTransaction();
            }
        } finally {
            if (useTrans) {
                client.endTransaction();
            }
        }
    }

    public List poll(IBatisConsumer consumer, IBatisEndpoint endpoint) throws Exception {
View Full Code Here

Examples of com.ibatis.sqlmap.client.SqlMapClient.endTransaction()

            if (useTrans) {
                client.commitTransaction();
            }
        } finally {
            if (useTrans) {
                client.endTransaction();
            }
        }
    }

    public List poll(IBatisPollingConsumer consumer, IBatisEndpoint endpoint) throws Exception {
View Full Code Here

Examples of com.ibatis.sqlmap.client.SqlMapClient.endTransaction()

            if (useTrans) {
                client.commitTransaction();
            }
        } finally {
            if (useTrans) {
                client.endTransaction();
            }
        }
    }

    @SuppressWarnings("unchecked")
View Full Code Here

Examples of com.ibatis.sqlmap.client.SqlMapClient.endTransaction()

            if (useTrans) {
                client.commitTransaction();
            }
        } finally {
            if (useTrans) {
                client.endTransaction();
            }
        }
    }

    public List poll(IBatisConsumer consumer, IBatisEndpoint endpoint) throws Exception {
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.