@Override
public PgTypeDataHolder marshalToDb(final OrderMonetaryAmount t) {
TreeMap<Integer, Object> resultPositionMap = new TreeMap<Integer, Object>();
resultPositionMap.put(1, t.getAmount());
resultPositionMap.put(2, t.getCurrency());
return new PgTypeDataHolder("monetary_amount", Collections.unmodifiableCollection(resultPositionMap.values()));
}