Examples of ISimpleDao


Examples of org.springmodules.javaspaces.gigaspaces.app.ISimpleDao

        return new String[] {"/config/simple.xml" ,"/config/common.xml"};
    }

  public void testWriteTake() throws Exception{

    ISimpleDao dao = (ISimpleDao)applicationContext.getBean("simpleDAO");
    SimpleBean bean = new SimpleBean("zvika", 32);
    dao.writeSimple(bean);

    SimpleBean template = new SimpleBean("zvika", 32);
    SimpleBean taken = dao.takeIfExists(bean);

    assertEquals("written object is not equal to taken one!", bean, taken);
  }
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.