Project

General

Profile

Actions

bug #6484

open

Include all paramaters of FindOccurrencesConfigurator in HQL query

Added by Patrick Plitzner over 6 years ago. Updated over 2 years ago.

Status:
New
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

20%

Estimated time:
Severity:
normal
Found in Version:

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.

Actions #1

Updated by Andreas Müller over 6 years ago

  • Target version changed from Release 4.7 to Release 4.8
Actions #2

Updated by Andreas Müller about 6 years ago

  • Target version changed from Release 4.8 to Release 4.9
Actions #3

Updated by Andreas Müller about 6 years ago

  • Target version changed from Release 4.9 to Release 4.10
Actions #4

Updated by Andreas Müller almost 6 years ago

  • Target version changed from Release 4.10 to Release 4.11
Actions #5

Updated by Andreas Müller almost 6 years ago

  • Target version changed from Release 4.11 to Release 4.12
Actions #6

Updated by Andreas Müller almost 6 years ago

  • Target version changed from Release 4.12 to Release 4.13
Actions #7

Updated by Andreas Müller over 5 years ago

  • Target version changed from Release 4.13 to Release 4.14
Actions #8

Updated by Andreas Müller over 5 years ago

  • Target version changed from Release 4.14 to Release 5.0
Actions #9

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
Actions #10

Updated by Andreas Müller over 4 years ago

  • Priority changed from Priority12 to Priority11
Actions #11

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.

Actions #12

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

Actions #13

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.

Actions #14

Updated by Andreas Müller over 3 years ago

  • Target version changed from Release 5.12 to Release 5.13
Actions #15

Updated by Andreas Kohlbecker over 3 years ago

  • Tags changed from pp_uebergabe to pp_uebergabe, performance
Actions #16

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
Actions #17

Updated by Andreas Müller over 3 years ago

  • Tags changed from pp_uebergabe to pp_uebergabe, performance
Actions #18

Updated by Andreas Müller over 3 years ago

  • Target version changed from Release 5.14 to Release 5.15
Actions #19

Updated by Andreas Müller about 3 years ago

  • Target version changed from Release 5.15 to Release 5.18
Actions #20

Updated by Andreas Müller almost 3 years ago

  • Target version changed from Release 5.18 to Release 5.19
Actions #21

Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 5.19 to Release 5.21
Actions #22

Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 5.21 to Release 5.22
Actions #23

Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 5.22 to Release 5.44
Actions

Also available in: Atom PDF