You'd need to ascend the hierarchy with DataObject.getContainer() until you reach the root (null return), and assemble the path string.
Regards, Kelvin. On 17/04/07, Ole Ersoy <[EMAIL PROTECTED]> wrote:
Hi, I've been looking at the SDO Specification and Javadocs trying to figure out how to get a dataobject's path (Relative to it's root). Something like: String path = DataGraph.getPath(dataObject); Which would return something like: "//company/employees[2]/" Thoughts? Thanks, - Ole --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]