I have the following object managed in Hibernate.
Code:
public Foo implements java.io.Serializable {
private Long id;
private Bar bar;
private Set<Baz> bazes = new HashSet<Baz>();
...
}
If I get an instance of Foo and place in a clustered HttpSession:
Foo foo = (Foo)session.get( Foo.class, id );
httpSession.setAttribute( "fooName", foo );
- what additional hibernate based information gets serialized?
- does Foo's entire object graph get serialized as well? is just the proxy of bar and bazes?
Thanks in advance
- Doug