public class HibernateResources extends Object
| Constructor and Description |
|---|
HibernateResources() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourceFile(String file)
Add the given resource file to the list of resource files.
|
void |
addResourcesToConfiguration(org.hibernate.cfg.Configuration configuration)
Add the set of resource files to the given Hibernate configuration.
|
List<String> |
getResourceFiles() |
void |
setResourceFiles(List<String> resourceFiles)
Set the resource file list.
|
public void setResourceFiles(List<String> resourceFiles)
resourceFiles - the new resource file listpublic void addResourceFile(String file)
file - the resource file to addpublic void addResourcesToConfiguration(org.hibernate.cfg.Configuration configuration)
configuration - add the resource files to this configurationCopyright © 2006–2018 Esito AS. All rights reserved.