Best code examples for Hibernate ORM EventSource class (org.hibernate.event.spi.EventSource)

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

Hibernate ORM EventSource examples from Open Source projects
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getPersistenceContext, forceFlush

7
CodeRank
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getPersistenceContext, forceFlush

7
CodeRank
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getPersistenceContext, forceFlush

7
CodeRank
This code example shows how to use the following methods: getFactory, getPersistenceContext
    Object processCollection(Object collection, CollectionType collectionType) 
	throws HibernateException { 
 
		if ( collection!=null && (collection instanceof PersistentCollection) ) { 
 
			final SessionImplementor session = getSession(); 
			PersistentCollection coll = (PersistentCollection) collection; 
			if ( coll.setCurrentSession(session) ) { 
				reattachCollection( coll, collectionType ); 
			} 
			return null; 
 
		} 
		else { 
			return processArrayOrNewCollection(collection, collectionType); 
		} 
 
	} 
 
	final Object processArrayOrNewCollection(Object collection, CollectionType collectionType) 

6
CodeRank
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getPersistenceContext, forceFlush
	} 
 
	@Override 
	protected CascadingAction getCascadeAction() { 
		return EJB3CascadingAction.PERSIST_SKIPLAZY; 
	} 
} 

7
CodeRank