import net.jaekl.cfb.db.Table;
import net.jaekl.cfb.db.TableMock;
import net.jaekl.cfb.db.TypeMismatchException;
+import net.jaekl.cfb.util.Util;
public class DbDriverMock extends DbDriver {
if (condition.getColumn().equals(col)) {
switch(condition.getOperation()) {
case EQUAL:
- return (condition.getValue().equals(row.getValue(idx)));
+ return Util.objsAreEqual(condition.getValue(), row.getValue(idx));
case GREATER_THAN:
return (aLessThanB(condition.getValue(), row.getValue(idx)));
case LESS_THAN: