if (Types.VARCHAR == type )
return new String(v.toString());
else if (Types.INTEGER == type || Types.BIGINT == type)
return new Long(v.toString());
else if (Types.BLOB == type && (v instanceof com.google.appengine.api.datastore.Blob))
return new jiqlBlob(((com.google.appengine.api.datastore.Blob)v).getBytes());
else if (Types.FLOAT == type)
return new Float(v.toString());
else if (Types.BOOLEAN == type)
return new Boolean(v.toString());
else if (Types.DATE == type){