Skip to content

Commit 87a4b56

Browse files
committed
HHH-8893 deprecated Configuration#addDocument(Document), removed EntityResolver concepts
1 parent 01ece11 commit 87a4b56

File tree

13 files changed

+33
-618
lines changed

13 files changed

+33
-618
lines changed

hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,10 @@ public Configuration addURL(URL url) throws MappingException {
495495
* @return this (for method chaining purposes)
496496
* @throws MappingException Indicates problems reading the DOM or processing
497497
* the mapping document.
498+
*
499+
* @deprecated Use addURL, addResource, addFile, etc. instead
498500
*/
501+
@Deprecated
499502
public Configuration addDocument(org.w3c.dom.Document doc) throws MappingException {
500503
metadataSources.addDocument( doc );
501504
return this;

hibernate-core/src/main/java/org/hibernate/cfg/EJB3DTDEntityResolver.java

Lines changed: 0 additions & 132 deletions
This file was deleted.

hibernate-core/src/main/java/org/hibernate/internal/util/xml/DTDEntityResolver.java

Lines changed: 0 additions & 129 deletions
This file was deleted.

hibernate-core/src/main/java/org/hibernate/internal/util/xml/XMLHelper.java

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)