@Override
protected DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException {
Column column = (Column) example;
if (column.getType() == null) { //not the actual full version found with the table
if (column.getRelation() == null) {
throw new InvalidExampleException("No relation set on "+column);
}
Relation relation = snapshot.get(column.getRelation());
if (relation != null) {
for (Column columnSnapshot : relation.getColumns()) {
if (columnSnapshot.getName().equalsIgnoreCase(column.getName())) {