Code examples for EventSource

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
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
94:	CollectionPersister collectionPersister = getSession().getFactory() 
-
96:	getSession().getPersistenceContext() 
Full Snippet Info
6
CodeRank
58:	 
-
63:	if ( collection!=null && (collection instanceof PersistentCollection) ) { 
-
85:	removeCollection(persister, collectionKey, session); 
-
87:	 
Full Snippet Info
6
CodeRank
61:	EventSource session = getSession(); 
-
68:	PersistentCollection wrapper = ( PersistentCollection ) collection; 
-
70:	if ( wrapper.wasInitialized() ) { 
-
85:	 
-
87:	 
Full Snippet Info
6
CodeRank
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
57:	} 
-
61:	if ( isOwnerUnchanged( persistentCollection, persister, extractCollectionKeyFromOwner( persister ) ) ) { 
-
85:	 
-
87:	 
Full Snippet Info
6
CodeRank
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
70:	LazyInitializer li = ( (HibernateProxy) object ).getHibernateLazyInitializer(); 
-
79:	 
80:	if ( !li.isUninitialized() ) { 
Full Snippet Info
5
CodeRank
53:	coll = getSession().getPersistenceContext().getCollectionHolder(collection); 
Full Snippet Info
5
CodeRank
78:	source.getActionQueue().registerProcess( incrementVersion ); 
Full Snippet Info
5
CodeRank