Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » CDO custom id as CDOid
CDO custom id as CDOid [message #1269063] Tue, 11 March 2014 10:29 Go to next message
Areq Novak is currently offline Areq NovakFriend
Messages: 12
Registered: March 2014
Junior Member
Hi,

exist any possibility to configure in CDO custom id in place CDOid ?

Re: CDO custom id as CDOid [message #1269200 is a reply to message #1269063] Tue, 11 March 2014 14:08 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 11.03.2014 11:29, schrieb Areq Novak:
> Hi,
>
> exist any possibility to configure in CDO custom id in place CDOid ?
With CLIENT-assigned IDs (see my reply to your other post) you can plug your own CDOIDGenerator into the CDOSession:

org.eclipse.emf.cdo.session.CDOSessionConfiguration.setIDGenerator(CDOIDGenerator)

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:Second Id in database
Next Topic:Instantiating Ecore Model with arbitrary XML
Goto Forum:
  


Current Time: Thu Apr 25 11:41:09 GMT 2024

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

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

Back to the top