Project

General

Profile

Revision d8607241

IDd86072413d61d9d60a66713c0855fc6353620057
Parent 7e7e032e
Child f5685f13

Added by Andreas Müller over 4 years ago

fix #6111 hopefully fix MySQLSyntaxErrorException during call to CdmEntityDaoBase.list()

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/common/CdmEntityDaoBase.java
435 435
    @Override
436 436
    public List<T> list(Collection<UUID> uuids, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) throws DataAccessException {
437 437

  
438
        if (uuids == null || uuids.isEmpty()){
439
            return new ArrayList<>();
440
        }
441

  
438 442
        Criteria criteria = prepareList(uuids, pageSize, pageNumber, orderHints, "uuid");
439 443

  
440 444
        @SuppressWarnings("unchecked")

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)