Lester,
One small problem comes up, related to this one.
As you can imagine, I call the function, desribed in the previous psot from a testfile.
All works fine now, except
If I remove the System.out.println(ret.get(0).toString());
Than the old error comes back
(org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed)
Even when I put a
Hibernate.initialize((Archetyped) ret.get(0));
instead, it makes no difference.
Do you have any idea?
For testing purposes, I can proceed with working, but I do not like code which I don't understand
|