Hibernate version:3.1 rc3
in 3.0.5 the method was
Code:
protected void reattachCollection(PersistentCollection collection, CollectionSnapshot snapshot)
and I could easily call it from my custom visitor:
reattachCollection(coll, coll.getCollectionSnapshot());
NOW, with 3.1rc3, mehod signature has changed to
Code:
protected void reattachCollection(PersistentCollection collection, CollectionType type)
where on earth do I get the CollectionType that corresponds to my collection?
I was unable to find it even using the underlying CollectionPersister...