Best code examples for Hibernate ORM PersistentMap class (org.hibernate.collection.internal.PersistentMap)

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

Hibernate ORM PersistentMap examples from Open Source projects
This code example shows how to use the following methods:
			IllegalAccessException, InvocationTargetException, 
			SecurityException, NoSuchMethodException { 
		 
		PersistentCollectionSnapshot snapshot = new JMFPersistentCollectionSnapshot(null); 
		snapshot.readInitializationData(in); 
		return (snapshot.isInitialized() ? new PersistentMap(null, new HashMap<Object, Object>()) : new PersistentMap(null)); 
	} 
} 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
		return anticipatedSize <= 0  
		       ? new HashMap() 
		       : new HashMap( anticipatedSize + (int)( anticipatedSize * .75f ), .75f ); 
	} 
 
	public Object replaceElements( 
		final Object original, 
		final Object target, 
		final Object owner,  
		final java.util.Map copyCache,  
		final SessionImplementor session) 
		throws HibernateException { 
 
		CollectionPersister cp = session.getFactory().getCollectionPersister( getRole() ); 
		 
		java.util.Map result = (java.util.Map) target; 
		result.clear(); 
		 
		Iterator iter = ( (java.util.Map) original ).entrySet().iterator(); 
		while ( iter.hasNext() ) { 
Full Snippet Info
4
CodeRank