Project

General

Profile

« Previous | Next » 

Revision 0ff88328

Added by Andreas Kohlbecker over 3 years ago

fix #9210 adding indexed format specifiers and fixing hql issues

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/initializer/MediaAutoInitializer.java
33 33

  
34 34
    @Override
35 35
    public Optional<String> hibernateFetchJoin(Class<?> clazz, String beanAlias){
36
    	return Optional.of(String.format(" LEFT JOIN FETCH %s.representations LEFT JOIN FETCH %s.titles r LEFT JOIN FETCH r.mediaRepresentationParts ", beanAlias));
36
    	return Optional.of(String.format(" LEFT JOIN FETCH %1$s.representations r LEFT JOIN FETCH %1$s.title LEFT JOIN FETCH r.mediaRepresentationParts ", beanAlias));
37 37
    }
38 38
}

Also available in: Unified diff