diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/IPropertyListingQuery.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/IPropertyListingQuery.java index d3259c7e90020cf7f6843d19d65132eca95b0204..50897cf05939b786ddb5535cfcdf48338f3906e6 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/IPropertyListingQuery.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/IPropertyListingQuery.java @@ -33,7 +33,7 @@ public interface IPropertyListingQuery * escaped. */ @Select(sql = "select pt.id as pt_id, pt.code as pt_code, dt.code as dt_code," - + " pt.label as pt_label, pt.is_managed_internally" + + " pt.label as pt_label, pt.is_internal_namespace" + " from property_types pt join data_types dt on pt.daty_id=dt.id", resultSetBinding = PropertyTypeDataObjectBinding.class) public PropertyType[] getPropertyTypes(); diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/PropertyTypeDataObjectBinding.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/PropertyTypeDataObjectBinding.java index e8be4577acdf6ea10bdbb1f634164ef57e6e45e9..9a551efae840ae64a6642636ee5e2c6e20df8d63 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/PropertyTypeDataObjectBinding.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/PropertyTypeDataObjectBinding.java @@ -16,14 +16,13 @@ import ch.systemsx.cisd.openbis.generic.shared.dto.CodeConverter; /** * A binding for the {@link IPropertyListingQuery#getPropertyTypes()} query. */ -public class PropertyTypeDataObjectBinding extends - NonUpdateCapableDataObjectBinding<PropertyType> +public class PropertyTypeDataObjectBinding extends NonUpdateCapableDataObjectBinding<PropertyType> { @Override public void unmarshall(ResultSet row, PropertyType into) throws SQLException, EoDException { into.setId(row.getLong("pt_id")); - into.setInternalNamespace(row.getBoolean("is_managed_internally")); + into.setInternalNamespace(row.getBoolean("is_internal_namespace")); into.setSimpleCode(StringEscapeUtils.escapeHtml(row.getString("pt_code"))); into.setCode(StringEscapeUtils.escapeHtml(CodeConverter.tryToBusinessLayer(into .getSimpleCode(), into.isInternalNamespace())));