Package org.jboss.test.jca.interfaces

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


   public void testBasicPreparedStatement() throws Exception
   {
      log.info("+++ testBasicPreparedStatement");
      InitialContext ctx = new InitialContext();
      PreparedStatementHome home = (PreparedStatementHome) ctx.lookup("PreparedStatementBean");
      PreparedStatementRemote bean = home.create("key1", "name1");
      bean.hashEntityTable();
      bean.remove();
   }
View Full Code Here


   public void testCallableStatementCache() throws Exception
   {
      log.info("+++ testCallableStatementCache");
      InitialContext ctx = new InitialContext();
      PreparedStatementHome home = (PreparedStatementHome) ctx.lookup("PreparedStatementBean");
      PreparedStatementRemote bean = home.create("key2", "name2");
      bean.testCallableStatementCache("callIdentitySQL");
      bean.remove();
   }
View Full Code Here

   public void testCallableStatementCacheDoubleClose() throws Exception
   {
      log.info("+++ testCallableStatementCacheDobuleClose");
      InitialContext ctx = new InitialContext();
      PreparedStatementHome home = (PreparedStatementHome) ctx.lookup("PreparedStatementBean");
      PreparedStatementRemote bean = home.create("key2", "name2");
      bean.testCallableStatementCache("callIdentitySQL");
      bean.remove();
   }
View Full Code Here

   public void testBasicCallableStatement() throws Exception
   {
      log.info("+++ testBasicCallableStatement");
      InitialContext ctx = new InitialContext();
      PreparedStatementHome home = (PreparedStatementHome) ctx.lookup("PreparedStatementBean");
      PreparedStatementRemote bean = home.create("key2", "name2");
      String result = bean.executeStoredProc("callIdentitySQL");
      log.info("callIdentitySQL result="+result);
      bean.remove();
   }
View Full Code Here

   public void testPreparedStatementCache() throws Exception
   {
      log.info("+++ testPreparedStatementCache");
      InitialContext ctx = new InitialContext();
      PreparedStatementHome home = (PreparedStatementHome) ctx.lookup("PreparedStatementBean");
      PreparedStatementRemote bean = home.create("key1", "name1");
      bean.testPreparedStatementCache();
      bean.remove();
   }
View Full Code Here

   public void testPreparedStatementCacheDoubleClose() throws Exception
   {
      log.info("+++ testPreparedStatementCacheDoubleClose");
      InitialContext ctx = new InitialContext();
      PreparedStatementHome home = (PreparedStatementHome) ctx.lookup("PreparedStatementBean");
      PreparedStatementRemote bean = home.create("key1", "name1");
      bean.testPreparedStatementCache();
      bean.remove();
   }
View Full Code Here

TOP

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

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.