FavoriteOrganisation.java

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5440 Rewrite config files and library references

  1. … 955 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. … 170 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. … 170 more files in changeset.
LDEV-4696 Rewrite part of Common entities to Hibernate annotations

  1. … 54 more files in changeset.
LDEV-3962 * support for favorite orgs and last visited one * if last visited is stored, offcanvas bar is shown as hidden * offcanvas bar is shrank to 220px * CSS rules for main.jsp are all moved to main.css * Javascript methods for main.jsp are moved to main.js. Profile related ones to profile.js. Only methods used by other pages are kept in groupDisplay.js. * removed UserOrganisationCollapsed.java and code associated with it

    • -0
    • +96
    ./FavoriteOrganisation.java
  1. … 36 more files in changeset.