the classes whose packages should be scanned for @entity annotations . concode_field_sep PersistenceUnitManager persistenceUnitManager concode_elem_sep Map<String,Object> properties concode_elem_sep String[] packagesToScan concode_elem_sep boolean jta concode_elem_sep JpaVendorAdapter jpaVendorAdapter concode_elem_sep EntityManagerFactoryBeanCallback callback concode_elem_sep DataSource dataSource concode_elem_sep String persistenceUnit concode_elem_sep Map<String,Object> jpaProperties concode_field_sep LocalContainerEntityManagerFactoryBean build concode_elem_sep Builder jta concode_elem_sep void setCallback concode_elem_sep Builder dataSource concode_elem_sep Builder persistenceUnit concode_elem_sep void execute concode_elem_sep Builder properties
Builder function ( Class < ? > ... arg0 ) { Set < String > loc0 = new HashSet < String > ( ) ; for ( Class < ? > loc1 : arg0 ) { loc0 . add ( ClassUtils . getPackageName ( loc1 ) ) ; } this . packagesToScan = loc0 . toArray ( new String [ 0 ] ) ; return this ; }