Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5440 Update Hibernate queries with new syntax

Get rid of deprecated Long and Integer constructors.

  1. … 86 more files in changeset.
LDEV-5440 Revert some unnecessary package name changes

  1. … 464 more files in changeset.
LDEV-5440 Refactor packages of imported classes

  1. … 481 more files in changeset.
LDEV-5440 Rewrite config files and library references

  1. … 953 more files in changeset.
LDEB-5335 Add structured audit logs on various admin actions

  1. … 22 more files in changeset.
LDEV-4411 Native SQL queries are not cacheable by default

There seems to be a bug in Hibernate

https://hibernate.atlassian.net/browse/HHH-9111

There is a way to make native queries cacheable, but since there are so

few of them in LAMS, it is not worth the effort.

LDEV-5248, LDEV-4411 Mark some queries as cacheable

Query cache makes sense if tables which the query reference does not

change often. Each modification to table content invalidates the given

query's cache. Also each set of query parameters is a different cache

entry, so if there are various parameter values the cache overhead can

generate more load than benefit.

  1. … 96 more files in changeset.
LDEV-4696 Make all @ManyToOne and @OneToOne lazy

Hibernate 3 used lazy loading of single-object relationships by default.

JPA's default setting is eager. When loading entities all references are

loaded immediately using JOINs. A large entity, like Learning Design,

can have a query consisting of 25 JOINs. It makes it very slow.

There is no way to change JPA's default behaviour. In order to make JPA

annotations behave like old Hibernate, each of them got an explicit

attribute saying that loading is lazy.

  1. … 169 more files in changeset.
LDEV-4696 Make all @ManyToOne and @OneToOne lazy

Hibernate 3 used lazy loading of single-object relationships by default.

JPA's default setting is eager. When loading entities all references are

loaded immediately using JOINs. A large entity, like Learning Design,

can have a query consisting of 25 JOINs. It makes it very slow.

There is no way to change JPA's default behaviour. In order to make JPA

annotations behave like old Hibernate, each of them got an explicit

attribute saying that loading is lazy.

  1. … 169 more files in changeset.
LDEV-4696 TZ, Notebook entry, Log Event, Signup, Policies converted

  1. … 13 more files in changeset.
LDEV-4664 Delete obsolete reference

LDEV-4593 Further develop Policies & consents feature

    • -0
    • +37
    ./dto/UserPolicyConsentDTO.java
  1. … 9 more files in changeset.
LDEV-4593 Further develop Policies & consents feature

  1. … 22 more files in changeset.
LDEV-4593 Introduce Policies & consent feature

    • -0
    • +60
    ./PolicyConsent.java
    • -0
    • +42
    ./dao/IPolicyDAO.java
    • -0
    • +40
    ./dao/hibernate/PolicyDAO.java
    • -0
    • +43
    ./service/IPolicyService.java
    • -0
    • +84
    ./service/PolicyService.java
  1. … 16 more files in changeset.