Examples of postProcessPersistenceUnitInfo()


Examples of org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor.postProcessPersistenceUnitInfo()

  @Test
  public void findsEntityClassesForBasePackage() {

    PersistenceUnitPostProcessor processor = new ClasspathScanningPersistenceUnitPostProcessor(basePackage);
    processor.postProcessPersistenceUnitInfo(pui);

    verify(pui).addManagedClassName(SampleEntity.class.getName());
  }

  /**
 
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.