bug #6484
openInclude all paramaters of FindOccurrencesConfigurator in HQL query
20%
Description
Currently AssignmentStatus
and isRetrieveIndirectlyAssociatedSpecimens()
are not queried via HQL but in the service method via a for loop. This is very time consuming and also does not allow to use these parameters in the countOccurrences()
method.
Updated by Andreas Müller over 6 years ago
- Target version changed from Release 4.7 to Release 4.8
Updated by Andreas Müller about 6 years ago
- Target version changed from Release 4.8 to Release 4.9
Updated by Andreas Müller about 6 years ago
- Target version changed from Release 4.9 to Release 4.10
Updated by Andreas Müller almost 6 years ago
- Target version changed from Release 4.10 to Release 4.11
Updated by Andreas Müller almost 6 years ago
- Target version changed from Release 4.11 to Release 4.12
Updated by Andreas Müller almost 6 years ago
- Target version changed from Release 4.12 to Release 4.13
Updated by Andreas Müller over 5 years ago
- Target version changed from Release 4.13 to Release 4.14
Updated by Andreas Müller over 5 years ago
- Target version changed from Release 4.14 to Release 5.0
Updated by Patrick Plitzner over 5 years ago
- Priority changed from Highest to Priority12
- Target version changed from Release 5.0 to Reviewed Next Major Release
- % Done changed from 0 to 20
Updated by Andreas Müller over 4 years ago
- Priority changed from Priority12 to Priority11
Updated by Andreas Müller almost 4 years ago
- Tags set to pp_uebergabe
- Target version changed from Reviewed Next Major Release to 287
Can you give some more information about context (specimen tree, matrix, dataportal, ...?) and other information required to solve the ticket.
Updated by Patrick Plitzner almost 4 years ago
- Assignee changed from Patrick Plitzner to Andreas Müller
This configurator is used in a lot of places: specimen tree editor, specimen facet search (experimental), TaxonService, SpecimenImport, ...(results from string search of the workspace)
The service method to look for is OccurrenceServiceImpl.findByTitle()
The two mentioned options AssignmentStatus
and indirectlyAssociatedSpecimen
are currently evaluated in an extra loop in OccurrenceServiceImpl.filterOccurencesByAssignmentAndHierarchy(), which could maybe be integrated into the database query. This is especially bad for the countByTitle() method which currently loads the objects because of that instead of just retrieving the count from the DB.
AssignmentStatus: enum to define whether the specimen have an association to a taxon or not
indirectlyAssociatedSpecimen: if true
the complete derivative hierarchy including all parent and child derivatives is returned of the associated specimen
Updated by Andreas Müller almost 4 years ago
- Priority changed from Priority11 to Highest
- Target version changed from 287 to Release 5.12
Ok, this makes it much clearer. I will have a look if this can be implemented somehow.
Updated by Andreas Müller over 3 years ago
- Target version changed from Release 5.12 to Release 5.13
Updated by Andreas Kohlbecker over 3 years ago
- Tags changed from pp_uebergabe to pp_uebergabe, performance
Updated by Andreas Müller over 3 years ago
- Tags changed from pp_uebergabe, performance to pp_uebergabe
- Target version changed from Release 5.13 to Release 5.14
Updated by Andreas Müller over 3 years ago
- Tags changed from pp_uebergabe to pp_uebergabe, performance
Updated by Andreas Müller over 3 years ago
- Target version changed from Release 5.14 to Release 5.15
Updated by Andreas Müller about 3 years ago
- Target version changed from Release 5.15 to Release 5.18
Updated by Andreas Müller almost 3 years ago
- Target version changed from Release 5.18 to Release 5.19
Updated by Andreas Müller over 2 years ago
- Target version changed from Release 5.19 to Release 5.21
Updated by Andreas Müller over 2 years ago
- Target version changed from Release 5.21 to Release 5.22
Updated by Andreas Müller over 2 years ago
- Target version changed from Release 5.22 to Release 5.44