Code examples for CollectionType

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.
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
52:	if ( type.hasHolder() ) { 
Full Snippet Info
5
CodeRank
85:	CollectionPersister collectionPersister = getSession().getFactory() 
Full Snippet Info
5
CodeRank
63:	if ( type.hasHolder() ) { 
Full Snippet Info
5
CodeRank
170:	); 
-
180:	); 
-
187:	ce.setCurrentKey( type.getKeyOfOwner(entity, session) ); //TODO: better to pass the id in as an argument? 
Full Snippet Info
4
CodeRank
57:	} 
-
85:	 
Full Snippet Info
4
CodeRank
336:	collectionName = q.createNameForCollection( collectionRole ); 
Full Snippet Info
4
CodeRank
58:	 
-
85:	removeCollection(persister, collectionKey, session); 
Full Snippet Info
4
CodeRank
61:	EventSource session = getSession(); 
-
85:	 
Full Snippet Info
4
CodeRank