public class PackageScanConfiguration extends Object
| Constructor and Description |
|---|
PackageScanConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPackageToScan(String packageToScan)
The same as
addPackageToScan(String, boolean) but the ddl is enabled by default in this method |
void |
addPackageToScan(String packageToScan,
boolean ddlEnabled)
Configures the given as package to be scanned by the hibernate session factory in
search of entities.
|
public void addPackageToScan(String packageToScan, boolean ddlEnabled)
packageToScan - The package for example: "org.opensingular"ddlEnabled - True to create the entities in the package.
False don't create the entities.public void addPackageToScan(String packageToScan)
addPackageToScan(String, boolean) but the ddl is enabled by default in this methodpackageToScan - Copyright © 2019. All rights reserved.