ToolSession.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-2926 * removed XDoclet tags from Java classes that generate them improperly and thus already possess static .hbm.xml files. * removed static .hbm.xml files in cases when they can be produced using Xdoclet information

  1. … 50 more files in changeset.
LDEV-2163 Creating a service for integrated servers where they can fetch tool outputs for a given lesson and user

this invovles:

- Outlining/Saving expecteed tool outputs in author, so that includes copying/export/insert/save

- Fetching the data in LessonManagerService so it can be serialised into xml

  1. … 20 more files in changeset.
Converted all "identity" hibernate id generation entries to "native" - hopefully this will be a little more portable.

  1. … 82 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.
Persist toolSessionName.

  1. … 3 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>

  1. … 1 more file in changeset.
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.
added lesson

tool session hibernate object and mapping file corrected. NonGroupedToolSession creation and deletion process tested.

  1. … 10 more files in changeset.
tool session hibernate object and mapping file corrected. NonGroupedToolSession creation and deletion process tested.

  1. … 10 more files in changeset.
modify tool session state according to the database default value change.

many to one relationship between tool session and activity created

  1. … 1 more file in changeset.
Added session states to ToolSession as ints

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

  1. … 2 more files in changeset.
*** empty log message ***

    • -0
    • +183
    ./ToolSession.java
  1. … 175 more files in changeset.