HHH-14563 Remove a few obsolete references to DOM4J entity-mode

This mode was removed literally a decade ago.
This commit is contained in:
Yoann Rodière 2021-04-16 15:29:55 +02:00
parent b076216e84
commit 87a3e0a5d8
5 changed files with 5 additions and 8 deletions

View File

@ -31,7 +31,7 @@ public @interface Tuplizer {
Class impl();
/**
* either pojo, dynamic-map or dom4j.
* either pojo or dynamic-map.
* @deprecated should use #entityModeType instead
*/
@Deprecated

View File

@ -35,7 +35,8 @@ public interface AttributeSource extends ToolingHintContextContainer {
public boolean isSingular();
/**
* Ugh. This is the deprecated DOM4J entity-mode feature
* This is only useful to log warnings when these deprecated attributes are populated.
* It was only useful for DOM4J entity-mode, which was removed a long time ago.
*
* @return The xml node name
*/

View File

@ -53,7 +53,8 @@ public interface DeprecationLogger extends BasicLogger {
public void logDeprecationOfMultipleEntityModeSupport();
/**
* Log message indicating the use of DOM4J EntityMode.
* Log message indicating the use of features that were only useful for DOM4J EntityMode,
* which was removed a long time ago.
*/
@LogMessage( level = WARN )
@Message(

View File

@ -27,10 +27,6 @@ import org.hibernate.property.access.spi.Getter;
* <li>extract and inject values through getters/setter, or by direct field access, etc
* </ul>
* </p>
* That same piece of data might also be represented as a DOM structure, using
* the tuplizer associated with the DOM4J entity-mode, which would generate instances
* of {@link org.dom4j.Element} as the data structure and know how to access the
* values as either nested {@link org.dom4j.Element}s or as {@link org.dom4j.Attribute}s.
*
* @see org.hibernate.tuple.entity.EntityTuplizer
* @see org.hibernate.tuple.component.ComponentTuplizer

View File

@ -576,7 +576,6 @@ public abstract class CollectionType extends AbstractType implements Association
Object owner,
Map copyCache,
SharedSessionContractImplementor session) {
// TODO: does not work for EntityMode.DOM4J yet!
java.util.Collection result = ( java.util.Collection ) target;
result.clear();