DocumentTable dt = col.getDocument(tx, key);
if ( dt != null )
doc = DTSMHelper.tableToDocument(dt);
}
catch ( DTSMException e ) {
throw new DBException(FaultCodes.COL_CANNOT_RETRIEVE, "Error retrieving object '" + key + "'", e);
}
if ( doc != null ) {
Variant v = new Variant(doc);
return v.getJAXBElement();