Best code examples for Hibernate ORM IdentitySet class (org.hibernate.internal.util.collections.IdentitySet)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM IdentitySet class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Hibernate ORM IdentitySet examples from Open Source projects
This code example shows how to use the following methods:
	 * @param event The delete event to be handled. 
	 * 
	 * @throws HibernateException 
	 */ 
	public void onDelete(DeleteEvent event) throws HibernateException { 
		onDelete( event, new IdentitySet() ); 
	} 
 
	/** 
	 * Handle the given delete event.  This is the cascaded form. 
	 * 
	 * @param event The delete event. 
	 * @param transientEntities The cache of entities already deleted 
	 * 
	 * @throws HibernateException 
	 */ 
	public void onDelete(DeleteEvent event, Set transientEntities) throws HibernateException { 
 
		final EventSource source = event.getSession(); 
 
Full Snippet Info
4
CodeRank