Best code examples for Hibernate ORM CollectionType class (org.hibernate.type.CollectionType)

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

Hibernate ORM CollectionType examples from Open Source projects
This code example shows how to use the following methods: getRole, hasHolder, wrap
85:	if (collection==null) { 
-
88:	} 
-
92:	final PersistenceContext persistenceContext = session.getPersistenceContext(); 
-
100:	ah = collectionType.wrap(session, collection); 
-
108:	PersistentCollection persistentCollection = collectionType.wrap(session, collection); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getRole, hasHolder
52:	if ( type.hasHolder() ) { 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getRole
This code example shows how to use the following methods: getRole
85:	CollectionPersister collectionPersister = getSession().getFactory() 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: hasHolder
63:	if ( type.hasHolder() ) { 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getRole
170:	); 
-
180:	); 
-
187:	ce.setCurrentKey( type.getKeyOfOwner(entity, session) ); //TODO: better to pass the id in as an argument? 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getRole
57:	} 
-
85:	 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getRole
336:	collectionName = q.createNameForCollection( collectionRole ); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: isArrayType
This code example shows how to use the following methods: getRole
58:	 
-
85:	removeCollection(persister, collectionKey, session); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getRole
61:	EventSource session = getSession(); 
-
85:	 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getElementType