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
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getPersistenceContext, forceFlush
This code example shows how to use the following methods: getFactory, getPersistenceContext
66:	final SessionImplementor session = getSession(); 
-
85:	if (collection==null) { 
-
87:	return null; 
-
94:	if ( collectionType.hasHolder() ) { 
-
96:	if (collection==CollectionType.UNFETCHED_COLLECTION) return null; 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getPersistenceContext, forceFlush
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getPersistenceContext, forceFlush
This code example shows how to use the following methods: getFactory, getPersistenceContext
94:	CollectionPersister collectionPersister = getSession().getFactory() 
-
96:	getSession().getPersistenceContext() 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getFactory, getPersistenceContext
58:	 
-
63:	if ( collection!=null && (collection instanceof PersistentCollection) ) { 
-
85:	removeCollection(persister, collectionKey, session); 
-
87:	 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getFactory, getPersistenceContext
61:	EventSource session = getSession(); 
-
68:	PersistentCollection wrapper = ( PersistentCollection ) collection; 
-
70:	if ( wrapper.wasInitialized() ) { 
-
85:	 
-
87:	 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: generateEntityKey, getEntityPersister, getFactory, getInterceptor, getPersistenceContext
88:	 
-
99:	 
-
108:	 
-
116:	 
-
170:	* <p/> 
171:	* This is perfectly valid in Hibernate usage; JPA, however, forbids this. 
-
241:	currentState = persister.getPropertyValues( entity ); 
-
247:	final Object[] deletedState = createDeletedState( persister, currentState, session ); 
-
263:	 
-
273:	deletedState, 
-
285:	// override the stale snapshot 
-
299:	 
-
333:	EventSource session, 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getFactory, getPersistenceContext
57:	} 
-
61:	if ( isOwnerUnchanged( persistentCollection, persister, extractCollectionKeyFromOwner( persister ) ) ) { 
-
85:	 
-
87:	 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getDontFlushFromFind, getFlushMode, getPersistenceContext
This code example shows how to use the following methods: getPersistenceContext
64:	pc = getSession().getPersistenceContext().removeCollectionHolder(value); 
-
74:	if ( collection.unsetSession( getSession() ) ) evictCollection(collection); 
-
78:	CollectionEntry ce = (CollectionEntry) getSession().getPersistenceContext().getCollectionEntries().remove(collection); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: generateEntityKey, getFactory, getPersistenceContext
70:	LazyInitializer li = ( (HibernateProxy) object ).getHibernateLazyInitializer(); 
-
79:	 
80:	if ( !li.isUninitialized() ) { 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getPersistenceContext
53:	coll = getSession().getPersistenceContext().getCollectionHolder(collection); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getActionQueue
78:	source.getActionQueue().registerProcess( incrementVersion ); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getActionQueue
80:	source.getActionQueue().registerProcess(verifyVersion); 
Full Snippet Info
5
CodeRank