Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
OLMIS-6450 Performance improvements and adjusting tests thresholds for FTAPs
OLMIS-6450 Performance improvements and adjusting tests thresholds for FTAPs
OLMIS-6450 Partition HQL queries to avoid StackOverflow

Hibernate is running into issues when a huge number of composite identities

is passed in the where clause. This wasn't a problem with native query, but

native query is slower and introduces n+1 loading problem. We partition

the identities to 3000 per chunk and merge the results.

    • -22
    • +30
    ./custom/impl/FacilityTypeApprovedProductRepositoryImpl.java
  1. … 1 more file in changeset.
OLMIS-6450 Include ProgramOrderable and Programs in select query for orderables

    • -1
    • +1
    ./custom/impl/OrderableRepositoryImpl.java
OLMIS-6450 Avoid n+1 queries in orderables fetch

Including all necessary data in the native query

so that Hibernate doesn't fetch it 1 by 1.

    • -6
    • +22
    ./custom/impl/OrderableRepositoryImpl.java
OLMIS-6450 Attempt to improve performance of FTAP fetch

Attempting to avoid n+1 queries by joining necessary tables

in one query for Hibernate.

    • -2
    • +6
    ./custom/impl/FacilityTypeApprovedProductRepositoryImpl.java
  1. … 1 more file in changeset.
OLMIS-6476 Fixed getting paginated orderables and added sorting by product name
OLMIS-6476 Fixed getting paginated orderables and added sorting by product name
OLMIS-6476 Fixed getting paginated orderables and added sorting by product name

    • -28
    • +41
    ./custom/impl/OrderableRepositoryImpl.java
  1. … 3 more files in changeset.
OLMIS-6476 Fixed query for finding orderable with latest modified date with pagination

done

done

should we update entries in database after setting last updated field?

should we update entries in database after setting last updated field?

OLMIS-6476 Added support for If-Modified-Since header to get and search Orderables
OLMIS-6476 Added support for If-Modified-Since header to get and search Orderables
OLMIS-6476 Added support for If-Modified-Since header to get and search Orderables

    • -0
    • +4
    ./custom/OrderableRepositoryCustom.java
    • -2
    • +43
    ./custom/impl/OrderableRepositoryImpl.java
  1. … 7 more files in changeset.
OLMIS-6463; Added searching ftaps by orderableId
OLMIS-6463; Added searching ftaps by orderableId
OLMIS-6463; Added searching ftaps by orderableId

    • -1
    • +3
    ./custom/FacilityTypeApprovedProductRepositoryCustom.java
    • -1
    • +6
    ./custom/impl/FacilityTypeApprovedProductRepositoryImpl.java
  1. … 10 more files in changeset.
OLMIS-6402: Renamed versionId to versionNumber in referencedata
OLMIS-6402: Renamed versionId to versionNumber in referencedata
OLMIS-6402: Renamed versionId field to versionNumber

    • -4
    • +4
    ./FacilityTypeApprovedProductRepository.java
    • -7
    • +7
    ./custom/impl/FacilityTypeApprovedProductRepositoryImpl.java
    • -6
    • +6
    ./custom/impl/OrderableRepositoryImpl.java
  1. … 39 more files in changeset.