Package org.springframework.data.jpa.domain.sample

Examples of org.springframework.data.jpa.domain.sample.AuditableRole


  }

  @Test
  public void auditsTransitiveEntitiesCorrectly() {

    AuditableRole role = new AuditableRole();
    role.setName("ADMIN");

    user.addRole(role);
    repository.save(user);
    role = user.getRoles().iterator().next();
View Full Code Here

TOP

Related Classes of org.springframework.data.jpa.domain.sample.AuditableRole

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.