package org.hibernate.collection.internal;

import java.util.ArrayList;

/**
 * This is how we tell GWT to serialize the hibernate class PersistentBag.
 * We don't need the real implementation in the UI, and since we only use
 * the List interface, the transformation to ArrayList is valid.
 */
public class PersistentBag extends ArrayList {

}

Allow GWT to work with Hibernate
webadmin: Allow GWT to work with Hibernate

Hibernate collections serialization is not supported by GWT.
This patch provides serialization techniques to some commonly
user Hibernate collections, so that objects can be serialized
to the browser.

Change-Id: I54f2b14a54d3e90c3e27746b024e2260131bc13d
Signed-off-by: c5542eaf646591383f6b59a9b598fa7b32c0cb99@redhat.com <c5542eaf646591383f6b59a9b598fa7b32c0cb99@redhat.com>
