Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO 0.8.0] CDOSessionImpl registerEPackage
[CDO 0.8.0] CDOSessionImpl registerEPackage [message #117877] Fri, 11 April 2008 23:54 Go to next message
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
Hi Eike,

Do you think would be simpler for everybody if we didn`t need to call
registerEPackage when we want to use a package ?

CDOTransaction should be able to detect that easily....

When I attach an object to a resource we could verify if we know that
package. If not, we register it at that time.

What do you think ?
Re: [CDO 0.8.0] CDOSessionImpl registerEPackage [message #117917 is a reply to message #117877] Sat, 12 April 2008 06:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Hi Simon,

I like this idea. I can imagine of something like a special,
self-populating on demand, EPackageRegistry. Can you please open a Bugzilla?

Cheers
/Eike



Simon McDuff schrieb:
> Hi Eike,
>
> Do you think would be simpler for everybody if we didn`t need to call
> registerEPackage when we want to use a package ?
>
> CDOTransaction should be able to detect that easily....
>
> When I attach an object to a resource we could verify if we know that
> package. If not, we register it at that time.
>
> What do you think ?
>
>
>
>
>
>
Re: [CDO 0.8.0] CDOSessionImpl registerEPackage [message #120246 is a reply to message #117877] Sun, 27 April 2008 09:05 Go to previous message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Hi Simon,

Since the Bugzilla seems to be down at the moment, I post here:

---
Committed to CVS.

There is a new subclass CDOPackageRegistryImpl.SelfPopulating.
See also:
- CDOUtil.openSession()
- CDOSessionFactory.createSession()
- CDOSessionFactory.create()
- OpenSessionDialog
---

Cheers
/Eike


Simon McDuff schrieb:
> Hi Eike,
>
> Do you think would be simpler for everybody if we didn`t need to call
> registerEPackage when we want to use a package ?
>
> CDOTransaction should be able to detect that easily....
>
> When I attach an object to a resource we could verify if we know that
> package. If not, we register it at that time.
>
> What do you think ?
>
>
>
>
>
>
Re: [CDO 0.8.0] CDOSessionImpl registerEPackage [message #616223 is a reply to message #117877] Sat, 12 April 2008 06:34 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6487
Registered: July 2009
Senior Member
Hi Simon,

I like this idea. I can imagine of something like a special,
self-populating on demand, EPackageRegistry. Can you please open a Bugzilla?

Cheers
/Eike



Simon McDuff schrieb:
> Hi Eike,
>
> Do you think would be simpler for everybody if we didn`t need to call
> registerEPackage when we want to use a package ?
>
> CDOTransaction should be able to detect that easily....
>
> When I attach an object to a resource we could verify if we know that
> package. If not, we register it at that time.
>
> What do you think ?
>
>
>
>
>
>


Re: [CDO 0.8.0] CDOSessionImpl registerEPackage [message #617925 is a reply to message #117877] Sun, 27 April 2008 09:05 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6487
Registered: July 2009
Senior Member
Hi Simon,

Since the Bugzilla seems to be down at the moment, I post here:

---
Committed to CVS.

There is a new subclass CDOPackageRegistryImpl.SelfPopulating.
See also:
- CDOUtil.openSession()
- CDOSessionFactory.createSession()
- CDOSessionFactory.create()
- OpenSessionDialog
---

Cheers
/Eike


Simon McDuff schrieb:
> Hi Eike,
>
> Do you think would be simpler for everybody if we didn`t need to call
> registerEPackage when we want to use a package ?
>
> CDOTransaction should be able to detect that easily....
>
> When I attach an object to a resource we could verify if we know that
> package. If not, we register it at that time.
>
> What do you think ?
>
>
>
>
>
>


Previous Topic:[CDO] New example for a Spring configured server
Next Topic:[EMF Compare] Name similarity/Label provider
Goto Forum:
  


Current Time: Fri Apr 10 10:43:36 GMT 2020

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

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

Back to the top