- Configuration configure()
Use the mappings and properties specified in an application resource named hibernate.cfg.xml.
- Configuration configure(org.w3c.dom.Document document)
Use the mappings and properties specified in the given XML document.
- Configuration configure(File configFile)
Use the mappings and properties specified in the given application file.
- Configuration configure(String resource)
Use the mappings and properties specified in the given application resource.
- Configuration configure(URL url)
Use the mappings and properties specified in the given document.
Partager