|Resource.load is emptying all resources [message #619234]
||Wed, 11 June 2008 08:43
Registered: July 2009
right now i have discovered a new problem. i try using an
sessioncontroller in a Teneo/Hibernate environment. and everytime i reload
a resource from the DB it clears all my copys of the old resource too.
as the URI i use: "hbxml://?" + HibernateResource.SESSION_CONTROLLER_PARAM
e.g. i have a resource res1 containing one EObject, this one i save to the
DB. after changing it a bit i want to keep whats in res1, but also want to
load the previously saved contents into a new resource res2. when i now do
a res2.load(...) it not only fails to correctly load the stuff from the DB
to the res2, but also emptys the res1.
i thought it might be because both have the same URI, but even if i change
the res1 URI to something completely different that happens.
i have no idea why that is happening, but hopefully someone else does?
thx for your patience
Powered by FUDForum
. Page generated in 0.07324 seconds