Best code examples for Hibernate ORM PersistenceContext class (org.hibernate.engine.spi.PersistenceContext)

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

Hibernate ORM PersistenceContext examples from Open Source projects
This code example shows how to use the following methods: addEntity, checkUniqueness, getEntry, unproxyAndReassociate
89:	final PersistenceContext persistenceContext = source.getPersistenceContext(); 
-
91:	 
-
118:	 
-
124:	 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: addCollectionHolder, addNewCollection, getCollectionHolder
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
This code example shows how to use the following methods: getCollectionEntry, getEntity, getEntry
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
This code example shows how to use the following methods: getSession, removeEntry
86:	} 
-
93:	doEvict( object, e.getEntityKey(), e.getPersister(), source ); 
-
103:	throws HibernateException { 
-
106:	 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: clear, getEntity, isLoadFinished
219:	// TODO : can this ever happen??? 
220:	//		EntityKey key = new EntityKey( id, persister, source.getEntityMode() ); 
-
304:	return !isClosed(); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getEntity, proxyFor
This code example shows how to use the following methods: proxyFor
1315:	private Object getIndexInParent( 
Full Snippet Info
1
CodeRank
See Code Examples for Hibernate ORM PersistenceContext Methods: