Index: src/net/lemnik/eodsql/spi/util/NonUpdateCapableDataObjectBinding.java =================================================================== --- src/net/lemnik/eodsql/spi/util/NonUpdateCapableDataObjectBinding.java (revision 0) +++ src/net/lemnik/eodsql/spi/util/NonUpdateCapableDataObjectBinding.java (revision 0) @@ -0,0 +1,22 @@ +package net.lemnik.eodsql.spi.util; + +import java.sql.ResultSet; + +/** + * A base class for {@link DataObjectBinding} implementations that are not capable of updates. + * + * @author Bernd Rinn + */ +public abstract class NonUpdateCapableDataObjectBinding extends DataObjectBinding +{ + @Override + public boolean isUpdateCapable() + { + return false; + } + + @Override + public void marshall(T from, ResultSet results) throws UnsupportedOperationException { + throw new UnsupportedOperationException(); + } +}