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

org.hibernate.event.PreCollectionUpdateEvent Maven / Gradle / Ivy

The newest version!
//$Id: $
package org.hibernate.event;

import org.hibernate.collection.PersistentCollection;
import org.hibernate.persister.collection.CollectionPersister;

/**
 * An event that occurs before a collection is updated
 *
 * @author Gail Badner
 */
public class PreCollectionUpdateEvent extends AbstractCollectionEvent {

	public PreCollectionUpdateEvent(CollectionPersister collectionPersister,
									PersistentCollection collection,
									EventSource source) {
		super( collectionPersister, collection, source,
				getLoadedOwnerOrNull( collection, source ),
				getLoadedOwnerIdOrNull( collection, source ) );
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy