Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Resource.load is emptying all resources
Resource.load is emptying all resources [message #619234] Wed, 11 June 2008 08:43
Felix is currently offline FelixFriend
Messages: 11
Registered: July 2009
Junior Member
hi again,
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
+ "=ECUall"

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
felix
Previous Topic:[EMF Search] Problem in wizard
Next Topic:Converting from ecore_diagram to ecorediag
Goto Forum:
  


Current Time: Sun Mar 29 15:39:28 GMT 2020

Powered by FUDForum. Page generated in 0.07324 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top