HHH-14096 Moving the XMLHelper from ORM core into testsuite helpers

This commit is contained in:
Sanne Grinovero 2020-07-03 12:49:52 +01:00
parent 77ee4529a6
commit 115b5b9976
1 changed files with 4 additions and 3 deletions

View File

@ -16,10 +16,11 @@ import org.xml.sax.EntityResolver;
/** /**
* Small helper class that lazily loads DOM and SAX reader and keep them for fast use afterwards. * Small helper class that lazily loads DOM and SAX reader and keep them for fast use afterwards.
* *
* @deprecated Currently only used for integration with HCANN. The rest of Hibernate uses StAX now * This was part of Hibernate ORM core, but moved into the testsuite helpers to not expose
* for XML processing. See {@link org.hibernate.boot.jaxb.internal.stax} * access to the dom4j types. It's also used by Hibernate Envers, so we will need two copies
* until Envers is able to remove its reliance on dom4j.
* The rest of Hibernate uses StAX now for XML processing. See {@link org.hibernate.boot.jaxb.internal.stax}
*/ */
@Deprecated
public final class XMLHelper { public final class XMLHelper {
private final DocumentFactory documentFactory; private final DocumentFactory documentFactory;