Package org.springframework.data.gemfire.repository.sample

Examples of org.springframework.data.gemfire.repository.sample.PersonRepository.save()


  @Test
  public void testRepositoryCreated() {
    PersonRepository repo = ctx.getBean(PersonRepository.class);
    Person dave = new Person(1L, "Dave", "Mathhews");
    repo.save(dave);
    Person saved = repo.findOne(1L);
    assertEquals("Dave", saved.getFirstname());
  }

  @AfterClass
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.