Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-4714 Fix LD access adding and processing

  1. … 2 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. … 156 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. … 156 more files in changeset.
LDEV-4712, LDEV-4644 Fix a query used for fetching outcomes

LDEV-4696 Proper use of @MapsId with @EmbeddableId

DEMO-2 Add new wrapper methods that allow specifying userId

IToolContentHandler methods assume userId is always available from the

current HttpSession. However sometimes, as in the case of lams_demo,

userId can't be acquired from HttpSession (as it might be invalidated

already), so we need to have an ability to specify userId as a

parameter.

  1. … 4 more files in changeset.
LDEV-4697 Audit entries filtering by user and remarks

  1. … 3 more files in changeset.
LDEV-4649 Get rid of obsolete field

  1. … 1 more file in changeset.
LDEV-4696 Remove hbm.xml file remains

    • -6
    • +0
    ./lamsfoundation/lams/commonContext.xml
  1. … 2 more files in changeset.
LDEV-4649 Make import work with files with header or with pure data

LDEV-4649 Fix outcome and scale import

Fixed paths for import and outcome/scale removal.

Description is now an optional field when importing.

  1. … 4 more files in changeset.
LDEV-4696 Add generics to common methods

LDEV-4696 Fixing bugs with new single activity lesson, notifications

    • -0
    • +3
    ./lamsfoundation/lams/commonContext.xml
LDEV-4696 Comments, Ratings, Peer Review use Annotations, removed proxy

    • -0
    • +20
    ./lamsfoundation/lams/comments/CommentSession.java
    • -0
    • +1
    ./lamsfoundation/lams/commonContext.xml
    • -10
    • +22
    ./lamsfoundation/lams/rating/model/Rating.java
  1. … 20 more files in changeset.
LDEV-4696 Rewrite part of Common entities to Hibernate annotations

    • -0
    • +3
    ./lamsfoundation/lams/commonContext.xml
    • -43
    • +28
    ./lamsfoundation/lams/events/Event.java
    • -25
    • +21
    ./lamsfoundation/lams/events/Subscription.java
    • -0
    • +34
    ./lamsfoundation/lams/outcome/Outcome.java
    • -1
    • +23
    ./lamsfoundation/lams/outcome/OutcomeMapping.java
    • -0
    • +27
    ./lamsfoundation/lams/outcome/OutcomeResult.java
    • -0
    • +36
    ./lamsfoundation/lams/outcome/OutcomeScale.java
  1. … 13 more files in changeset.
LDEV-4696 Rewrite part of Common entities to Hibernate annotations

    • -82
    • +38
    ./lamsfoundation/lams/tool/SystemTool.java
    • -49
    • +20
    ./lamsfoundation/lams/tool/ToolContent.java
  1. … 40 more files in changeset.
LDEV-4696 Remove obsolete DTO

    • -479
    • +0
    ./lamsfoundation/lams/tool/BasicToolVO.java
    • -81
    • +0
    ./lamsfoundation/lams/tool/IToolVO.java
  1. … 9 more files in changeset.
LDEV-4696 Rewrite part of Common entities to Hibernate annotations

    • -0
    • +4
    ./lamsfoundation/lams/commonContext.xml
    • -52
    • +10
    ./lamsfoundation/lams/lesson/CompletedActivityProgress.java
    • -50
    • +10
    ./lamsfoundation/lams/lesson/CompletedActivityProgressArchive.java
    • -96
    • +59
    ./lamsfoundation/lams/lesson/LearnerProgress.java
    • -22
    • +42
    ./lamsfoundation/lams/lesson/LearnerProgressArchive.java
    • -24
    • +21
    ./lamsfoundation/lams/planner/PedagogicalPlannerActivityMetadata.java
    • -19
    • +19
    ./lamsfoundation/lams/themes/Theme.java
    • -132
    • +49
    ./lamsfoundation/lams/tool/Tool.java
  1. … 14 more files in changeset.
LDEV-4696 Rewrite part of Common entities to Hibernate annotations

    • -0
    • +4
    ./lamsfoundation/lams/commonContext.xml
  1. … 45 more files in changeset.
LDEV4696 Removing legacy parameters and deprecated methods

    • -1
    • +1
    ./lamsfoundation/lams/commonContext.xml
  1. … 29 more files in changeset.
LDEV-4696 Content Repository converted to annotations

    • -0
    • +1
    ./lamsfoundation/lams/commonContext.xml
  1. … 13 more files in changeset.
LDEV-4696 TZ, Notebook entry, Log Event, Signup, Policies converted

    • -1
    • +4
    ./lamsfoundation/lams/commonContext.xml
    • -8
    • +34
    ./lamsfoundation/lams/policies/Policy.java
  1. … 7 more files in changeset.
LDEV-4696 Rewrite Condition inheritance to Hibernate annotations

    • -1
    • +6
    ./lamsfoundation/lams/commonContext.xml
  1. … 2 more files in changeset.
LDEV-4696 Correct scan path for tool Hibernate objects

    • -1
    • +1
    ./lamsfoundation/lams/commonContext.xml
LDEV-4696 Set proper JNDI name for transaction manager

Also get rid of deprecated manager_lookup_class property.

    • -2
    • +2
    ./lamsfoundation/lams/applicationContext.xml
LDEV-4696 Rewrite Criteria queries to use new API

    • -20
    • +12
    ./lamsfoundation/lams/dao/IBaseDAO.java
LDEV-4696 Change transaction configuration for Hibernate 5.3

hibernate.transaction.factory_class is deprecated. We need to use

hibernate.transaction.coordinator_class

    • -1
    • +1
    ./lamsfoundation/lams/applicationContext.xml
LDEV-4696 Runs Hibernate 5.3 with errors, Noticeboard hbm xml gone.

    • -1
    • +2
    ./lamsfoundation/lams/commonContext.xml
    • -0
    • +2
    ./lamsfoundation/lams/util/FileUtil.java
  1. … 3448 more files in changeset.
LDEV-4440 Fix author and monitor links requested from integrations