int slen = superBindings.length;
DbAttributeBinding[] bindings = new DbAttributeBinding[slen + 1];
DbAttribute deleteAttribute = query.getDbEntity().getAttribute(deletedFieldName);
String typeName = TypesMapping.getJavaBySqlType(deleteAttribute.getType());
ExtendedType extendedType = adapter.getExtendedTypes().getRegisteredType(typeName);
<BUG>bindings[0] = new DbAttributeBinding(deleteAttribute, extendedType);
bindings[0].include(1, true);
</BUG>
System.arraycopy(superBindings, 0, bindings, 1, slen);
return bindings;

int slen = superBindings.length;
DbAttributeBinding[] bindings = new DbAttributeBinding[slen + 1];
DbAttribute deleteAttribute = query.getDbEntity().getAttribute(deletedFieldName);
String typeName = TypesMapping.getJavaBySqlType(deleteAttribute.getType());
ExtendedType extendedType = adapter.getExtendedTypes().getRegisteredType(typeName);
bindings[0] = new DbAttributeBinding(deleteAttribute);
bindings[0].include(1, true, extendedType);
System.arraycopy(superBindings, 0, bindings, 1, slen);
return bindings;
