Tim Schaefer Messages: 49 Registered: June 2011 Location: Marburg, Germany
I learned from https://bugs.eclipse.org/bugs/show_bug.cgi?id=326186 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=329786
that CDO supports connection aware URIs.
Looking at the test case of the 2nd bugzilla, it seems to me that such a connection aware URI must be constructed manually, e.g.
URI.createURI(CDONet4jUtil.PROTOCOL_TCP + "://localhost:port/repo1/path");
This means that I must know the hostname, port and which protocol to use.
Is there a way to obtain this information by looking at the session of a particular CDOObject?
In my application I have a CDOObject that exists within a user-created session, i.e. from the CDO Sessions view, and I want the app to obtain/create a connection aware URI for this object.
Is this possible?