Code examples for PersistenceContext

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.
89:	final PersistenceContext persistenceContext = source.getPersistenceContext(); 
-
91:	 
-
118:	 
-
124:	 
Full Snippet Info
6
CodeRank
98:	PersistentCollection ah = persistenceContext.getCollectionHolder(collection); 
-
101:	persistenceContext.addNewCollection( persister, ah ); 
102:	persistenceContext.addCollectionHolder(ah); 
-
109:	persistenceContext.addNewCollection( persister, persistentCollection ); 
Full Snippet Info
5
CodeRank
73:	final PersistenceContext persistenceContext = session.getPersistenceContext(); 
-
94:	// identifier-rollback; in which case, try to look up its identifier from 
-
104:	} 
-
111:	loadedPersister.getRole() 
Full Snippet Info
5
CodeRank
86:	} 
-
93:	doEvict( object, e.getEntityKey(), e.getPersister(), source ); 
-
103:	throws HibernateException { 
-
106:	 
Full Snippet Info
5
CodeRank
219:	// TODO : can this ever happen??? 
220:	//		EntityKey key = new EntityKey( id, persister, source.getEntityMode() ); 
-
304:	return !isClosed(); 
Full Snippet Info
4
CodeRank
1315:	private Object getIndexInParent( 
Full Snippet Info
1
CodeRank