Package org.jboss.test.cmp2.optimisticlock.bug1006723.testsession

Examples of org.jboss.test.cmp2.optimisticlock.bug1006723.testsession.TestSessionRemote.test()


   public void testCascadeDelete() throws Exception
   {
      final Facade facade = FacadeUtil.getHome().create();
      facade.setup();
      facade.test(0);
   }

   public void testUpdateCMPFieldToNullOnRelatedInstance() throws Exception
   {
      final Facade facade = FacadeUtil.getHome().create();
View Full Code Here


      InitialContext ctx = new InitialContext();
      TestSessionRemoteHome testSessionRemoteHome = (TestSessionRemoteHome)
         PortableRemoteObject.narrow(ctx.lookup("ejb/TestSession"), TestSessionRemoteHome.class);
      TestSessionRemote testSessionRemote = testSessionRemoteHome.create();
      Long oID = testSessionRemote.setup();
      testSessionRemote.test(oID);
   }

   public void testNullLockedFields() throws Exception
   {
      Facade facade = getFacadeHome().create();
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.