List of usage examples for org.springframework.data.rest.webmvc.jpa Order Order
public Order(Person creator)
From source file:org.springframework.data.rest.webmvc.json.Jackson2DatatypeHelperIntegrationTests.java
@Before public void setUp() { this.order = orders.save(new Order(people.save(new Person("Dave", "Matthews")))); // Reset JPA to make sure the query returns a result with proxy references em.flush();//from w w w . j a va2 s .c o m em.clear(); }