Hibernate ORM PersistentList - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM PersistentList class.

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 PersistentList(null, new ArrayList<Object>()) : new PersistentList(null)); 
	} 
} 
5
CodeRank
Connect your IDE to all the code out there  Get Codota for Java
This code example shows how to use the following methods:
	public ListType(TypeFactory.TypeScope typeScope, String role, String propertyRef, boolean isEmbeddedInXML) { 
		super( typeScope, role, propertyRef, isEmbeddedInXML ); 
	} 
 
	public PersistentCollection instantiate(SessionImplementor session, CollectionPersister persister, Serializable key) { 
		return new PersistentList(session); 
	} 
 
	public Class getReturnedClass() { 
		return List.class; 
	} 
 
	public PersistentCollection wrap(SessionImplementor session, Object collection) { 
		return new PersistentList( session, (List) collection ); 
	} 
 
	public Object instantiate(int anticipatedSize) { 
		return anticipatedSize <= 0 ? new ArrayList() : new ArrayList( anticipatedSize + 1 ); 
	} 
	 
4
CodeRank
Connect your IDE to all the code out there  Get Codota for Java
This code example shows how to use the following methods:
 
	public PersistentDefaultableList(SessionImplementor session, List list) { 
		super( session, list ); 
	} 
 
	public PersistentDefaultableList() { 
	} 
 
	public String getDefaultValue() { 
		return ( ( DefaultableList ) this.list ).getDefaultValue(); 
	} 
} 
4
CodeRank
Connect your IDE to all the code out there  Get Codota for Java