GeneralPersistence

From SeSAm-Wiki

Jump to: navigation, search

SeSAm is using Castor to bind its objects to XML. More to come...

-- Drafts --

ID and IDREF

you'll see that the CastorUnmarshalHandler adds the actual object reference for IDREF. When you marshal, the ID is obtained you only get the IDREF in the XML, but during Unmarshalling Castor finds the object references and puts that in the actual IDRef field. So basically this is the way it already works.

MappingXMLIds

To create unique Ids for Java-Objects SeSAm uses the de.uniwue.ki.mas.xml.writer.UniqueIdMapper from the SeSAmXML-package.

Personal tools