Revision 47485 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/main/java/org/gvsig/fmap/dal/store/jdbc2/spi/operations/ResultSetForSetProviderOperation.java
ResultSetForSetProviderOperation.java | ||
---|---|---|
325 | 325 |
|
326 | 326 |
for (FeatureAttributeDescriptor attr : attributeDescriptorsIterable(setType, query) ) { |
327 | 327 |
if (attr.isComputed()) { |
328 |
FeatureAttributeEmulator attrEmulator = attr.getFeatureAttributeEmulator(); |
|
329 |
if( !(attrEmulator instanceof FeatureAttributeEmulatorExpression) ) { |
|
330 |
continue; |
|
331 |
} |
|
332 |
FeatureAttributeEmulatorExpression x = (FeatureAttributeEmulatorExpression) attrEmulator; |
|
333 |
Expression exp = x.getExpression(); |
|
334 |
if (exp == null || exp.isEmpty() ) { |
|
335 |
continue; |
|
336 |
} |
|
337 |
if (!helper.supportExpression(null, exp.getPhrase())) { |
|
338 |
continue; |
|
339 |
} |
|
340 |
|
|
328 | 341 |
ExpressionBuilder.Value value = createValueFromAttribute(sqlbuilder, attr, select.from().table()); |
329 | 342 |
if( value != VALUE_NULL ) { |
330 | 343 |
select.column() |
Also available in: Unified diff