Skip to content
Snippets Groups Projects
Commit 015c2214 authored by felmer's avatar felmer
Browse files

SSDM-4233: Bug in IMaterialListingQuery.getEntityPropertyGenericValues fixed...

SSDM-4233: Bug in IMaterialListingQuery.getEntityPropertyGenericValues fixed (too restrictive SQL query)

SVN: 37875
parent 3881bc32
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ public interface IMaterialListingQuery extends BaseQuery, IPropertyListingQuery ...@@ -100,7 +100,7 @@ public interface IMaterialListingQuery extends BaseQuery, IPropertyListingQuery
+ " FROM material_properties pr" + " FROM material_properties pr"
+ " JOIN material_type_property_types etpt ON pr.mtpt_id=etpt.id" + " JOIN material_type_property_types etpt ON pr.mtpt_id=etpt.id"
+ " LEFT OUTER JOIN scripts sc ON etpt.script_id = sc.id" + " LEFT OUTER JOIN scripts sc ON etpt.script_id = sc.id"
+ " WHERE pr.value is not null AND pr.mate_id = any(?{1})", parameterBindings = + " WHERE pr.mate_id = any(?{1})", parameterBindings =
{ LongSetMapper.class }, fetchSize = FETCH_SIZE) { LongSetMapper.class }, fetchSize = FETCH_SIZE)
public DataIterator<GenericEntityPropertyRecord> getEntityPropertyGenericValues( public DataIterator<GenericEntityPropertyRecord> getEntityPropertyGenericValues(
LongSet entityIds); LongSet entityIds);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment