Best code examples for Hibernate ORM CollectionPersister class (org.hibernate.persister.collection.CollectionPersister)

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

Hibernate ORM CollectionPersister examples from Open Source projects
This code example shows how to use the following methods: getFactory, getKeyType, getOwnerEntityPersister, getRole
50:	this( 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getElementNodeName, getElementType, getFactory, getIndexNodeName, getIndexType
128:	public boolean isWrapper(Object collection) { 
-
197:	public Iterator getDeletes(CollectionPersister persister, boolean indexIsFormula) 
198:	throws HibernateException { 
199:	 
-
202:	HashMap deletes = (HashMap) snapshot.clone(); 
-
205:	for ( Object o : deletes.entrySet() ) { 
206:	Map.Entry me = (Map.Entry) o; 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getElementColumnAliases, getIdentifierColumnAlias, getIndexColumnAliases, getKeyColumnAliases
52:	persister.getKeyColumnAliases( suffix ) 
-
57:	persister.getIndexColumnAliases( suffix ) 
-
61:	persister.getElementColumnAliases( suffix ) 
-
65:	persister.getIdentifierColumnAlias( suffix ) 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getCollectionType, getElementType, hasIndex, isOneToMany, getElementColumnNames
354:	String[] indexCols = collPersister.getIndexColumnNames(); 
355:	if ( indexCols.length != 1 ) throw new QueryException( "composite-index appears in []: " + path ); 
-
364:	 
-
369:	elem.elementType = collPersister.getElementType(); 
370:	elem.isOneToMany = collPersister.isOneToMany(); 
371:	elem.alias = collectionName; 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getElementNodeName, getElementType, getFactory, readElement
160:	for ( int i=0; i<cached.length; i++ ) { 
161:	Object object = elementType.assemble( cached[i], getSession(), owner ); 
162:	Element subelement = element.addElement( persister.getElementNodeName() ); 
163:	elementType.setToXMLNode( subelement, object, persister.getFactory() ); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getCollectionType, getOwnerEntityPersister, getRole
66:	reattachCollection( persistentCollection, type ); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getCollectionType, getOwnerEntityPersister
120:	role.getCollectionType().getLHSPropertyName() 
-
123:	} 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getCollectionType, getOwnerEntityPersister, getRole
66:	//a "detached" collection! 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getOwnerEntityPersister, getRole, hasOrphanDelete
86:	} 
-
88:	// do a check 
-
103:	throw new AssertionFailure( "Unable to determine collection owner identifier for orphan-delete processing" ); 
-
106:	EntityKey key = session.generateEntityKey( ownerId, loadedPersister.getOwnerEntityPersister() ); 
-
114:	EntityEntry e = persistenceContext.getEntry(owner); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getOwnerEntityPersister
This code example shows how to use the following methods: getOwnerEntityPersister
This code example shows how to use the following methods: getRole
This code example shows how to use the following methods: getOwnerEntityPersister
This code example shows how to use the following methods: getCacheAccessStrategy, getKeyType, getRole
189:	public void doAfterTransactionCompletion(boolean success, SessionImplementor session) { 
-
194:	); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getOwnerEntityPersister
This code example shows how to use the following methods: getOwnerEntityPersister
This code example shows how to use the following methods: getRole
66:	return isCollectionSnapshotValid(snapshot) && 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getOwnerEntityPersister
This code example shows how to use the following methods: getNodeName
This code example shows how to use the following methods: getNodeName
82:	for ( int i=0; i<length*2; ) { 
-
87:	result[i++] = indexType.disassemble( index, getSession(), null ); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getOwnerEntityPersister
91:	String entityName = 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getCollectionType
97:	return collectionPersister.getCollectionType().getClass().isAssignableFrom( BagType.class ); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: readElement, readIdentifier
348:	 
349:	public Object get(int index) { 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getElementType, getRole
This code example shows how to use the following methods: getElementClass
83:	return Array.getLength( snapshot ) == 0; 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getRole
242:	if ( checkForEnd && i == end ) { 
-
245:	} 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getBatchSize, getFactory, getKeyType, getOwnerEntityPersister, getRole
50:	import org.hibernate.engine.spi.CollectionKey; 
-
214:	*/ 
-
218:	} 
-
289:	} 
Full Snippet Info
4
CodeRank
See Code Examples for Hibernate ORM CollectionPersister Methods: