Package org.jboss.test.jca.interfaces

Examples of org.jboss.test.jca.interfaces.JDBCStatementTestsConnectionSessionHome


      }
   }

   private void doTest() throws Exception
   {
      JDBCStatementTestsConnectionSessionHome home =
         (JDBCStatementTestsConnectionSessionHome)getInitialContext().lookup("JDBCStatementTestsConnectionSession");
      JDBCStatementTestsConnectionSession s = home.create();
      s.testConnectionObtainable();
   }
View Full Code Here


    * jbosstestdriver.sar will result in incompatible classes being
    * used.
    */
   public void testJDBCStatementTestsConnection() throws Exception
   {
      JDBCStatementTestsConnectionSessionHome home =
         (JDBCStatementTestsConnectionSessionHome)getInitialContext().lookup("JDBCStatementTestsConnectionSession");
      JDBCStatementTestsConnectionSession s = home.create();
      s.testConnectionObtainable();
   }
View Full Code Here

      s.testConnectionObtainable();
   }

   public void testConfiguredQueryTimeout() throws Exception
   {
      JDBCStatementTestsConnectionSessionHome home =
         (JDBCStatementTestsConnectionSessionHome)getInitialContext().lookup("JDBCStatementTestsConnectionSession");
      JDBCStatementTestsConnectionSession s = home.create();
      s.testConfiguredQueryTimeout();
   }
View Full Code Here

      s.testConfiguredQueryTimeout();
   }

   public void testTransactionQueryTimeout() throws Exception
   {
      JDBCStatementTestsConnectionSessionHome home =
         (JDBCStatementTestsConnectionSessionHome)getInitialContext().lookup("JDBCStatementTestsConnectionSession");
      JDBCStatementTestsConnectionSession s = home.create();
      s.testTransactionQueryTimeout();
   }
View Full Code Here

      s.testTransactionQueryTimeout();
   }

   public void testTransactionQueryTimeoutMarkedRollback() throws Exception
   {
      JDBCStatementTestsConnectionSessionHome home =
         (JDBCStatementTestsConnectionSessionHome)getInitialContext().lookup("JDBCStatementTestsConnectionSession");
      JDBCStatementTestsConnectionSession s = home.create();
      s.testTransactionQueryTimeoutMarkedRollback();
   }
View Full Code Here

      s.testTransactionQueryTimeoutMarkedRollback();
   }

   public void testLazyAutoCommit() throws Exception
   {
      JDBCStatementTestsConnectionSessionHome home =
         (JDBCStatementTestsConnectionSessionHome)getInitialContext().lookup("JDBCStatementTestsConnectionSession");
      JDBCStatementTestsConnectionSession s = home.create();
      s.testLazyAutoCommit();
   }
View Full Code Here

      s.testLazyAutoCommit();
   }

   public void testRollbackOnCloseNoTx() throws Exception
   {
      JDBCStatementTestsConnectionSessionHome home =
         (JDBCStatementTestsConnectionSessionHome)getInitialContext().lookup("JDBCStatementTestsConnectionSession");
      JDBCStatementTestsConnectionSession s = home.create();
      s.testRollbackOnCloseNoTx();
   }
View Full Code Here

      s.testRollbackOnCloseNoTx();
   }

   public void testRollbackOnCloseManagedTx() throws Exception
   {
      JDBCStatementTestsConnectionSessionHome home =
         (JDBCStatementTestsConnectionSessionHome)getInitialContext().lookup("JDBCStatementTestsConnectionSession");
      JDBCStatementTestsConnectionSession s = home.create();
      s.testRollbackOnCloseManagedTx();
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.jca.interfaces.JDBCStatementTestsConnectionSessionHome

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.