GroupedToolSession.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. … 59 more files in changeset.
LDEV-3776: Remove $Id CVS keyword.

  1. … 1074 more files in changeset.
LDEV-3776: Remove $Id CVS keyword.

  1. … 782 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

  1. … 2120 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

  1. … 1860 more files in changeset.
LDEV-3292: Avoid initialising the extra-lazy Group.users collection as it can be large.

  1. … 7 more files in changeset.
Updated address of FSF in copyright statement

  1. … 1392 more files in changeset.
Implemented getAllPotentialLearners.

  1. … 4 more files in changeset.
Copyright statement change - only support GPL v2, not future versions. Missed the "version 2.0" the previous check in

  1. … 261 more files in changeset.
Copyright statement change - only support GPL v2, not future versions. Got the lines in the wrong order in the last check in.

  1. … 261 more files in changeset.
Copyright statement change - only support GPL v2, not future versions.

  1. … 261 more files in changeset.
Change staff group name import from flash client. Add ToolSession Name.

  1. … 3 more files in changeset.
LDEV-61 Fixing tool sessions - all users were getting separate tool sessions. Changed the unique key column to be "uq_blah_blah" rather than "uqblahblah" as the latter has the potential for overlaps. e.g. uq_123 could be uq_<12><3> or uq_<1><23>; also changed group -> sessionGroup so that HQL wouldn't complain about group being a reserved word.

fix up the broken tool session code. As the new lesson attribute can not be null, it should go into the constructor

  1. … 5 more files in changeset.
test group based tool session

  1. … 7 more files in changeset.
Replaced ToolSession with Grouped and NonGrouped

    • -0
    • +28
    ./GroupedToolSession.java
  1. … 2 more files in changeset.