All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.engine.spi.ExtendedSelfDirtinessTracker Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.engine.spi;

import org.hibernate.bytecode.enhance.internal.tracker.DirtyTracker;
import org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor;
import org.hibernate.engine.spi.SelfDirtinessTracker;

/**
 * A self dirtiness tracker that declares additional methods that are intended for internal communication. This
 * interface can be implemented optionally instead of the plain {@link SelfDirtinessTracker}.
 */
public interface ExtendedSelfDirtinessTracker extends SelfDirtinessTracker {

	String REMOVE_DIRTY_FIELDS_NAME = "$$_hibernate_removeDirtyFields";

	void $$_hibernate_getCollectionFieldDirtyNames(DirtyTracker dirtyTracker);

	boolean $$_hibernate_areCollectionFieldsDirty();

	void $$_hibernate_clearDirtyCollectionNames();

	void $$_hibernate_removeDirtyFields(LazyAttributeLoadingInterceptor lazyInterceptor);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy