IBaseDAO.java

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5330 Merge changes made for sysadmin

It included upgrading to Bootstrap 5 and using UI guidelines set for

Monitoring UI.

  1. … 191 more files in changeset.
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.
Merge remote-tracking branch 'origin/master' into v4.0

Conflicts:

lams_common/src/java/org/lamsfoundation/lams/dao/IBaseDAO.java

lams_common/src/java/org/lamsfoundation/lams/dao/hibernate/LAMSBaseDAO.java

  1. … 3 more files in changeset.
LDEV-5003 Load all necessary objects in one go instead of one by one

  1. … 6 more files in changeset.
LDEV-3316 Add generics to base DAO so no casting is needed for results

  1. … 1 more file in changeset.
LDEV-4696 Rewrite Criteria queries to use new API

  1. … 1 more file in changeset.
LDEV-4175: Evict objects which are put into a form, then attaced to a session and possible saved with other objects with same IDs.

  1. … 8 more files in changeset.
LDEV-3316: Remove leftovers (comments, exceptions) of Spring layer.

  1. … 19 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-3638: Remove lesson and all its resources on demand. Files in content repository stay. Clean up unnecessary code, format.

  1. … 48 more files in changeset.
LDEV-3613 Introducing new flush() method that will allow to flush the session. It's required in cases when we need to write changes to the database before current transaction is committed

  1. … 2 more files in changeset.
LDEV-2075 creting overall statistics page for admin

  1. … 6 more files in changeset.
added initialize method to force initializing a proxy of a persistent object or collection in hibernate

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

  1. … 1392 more files in changeset.
remove DAOs that don't do much, rewrite BaseDAO, update UserManagementService(not completed yet), very messy

  1. … 54 more files in changeset.
Fixed the keywork expansion

  1. … 3 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.
Changed learning design activities and transition collections to use all-delete-orphan cascade management. This will ensure that the secondary records are created and removed as required.

This required fixing code that trigger cascade problems and also highlighted some session problems with the learner cache created by Jacky.

  1. … 38 more files in changeset.
Moved the IBaseDAO and BaseDAO classes to their own packages and out of learning design. This interface and class may be used as the basis for any Hibernate DAO in the system - it isn't compulsory but it is a handy way of getting functionality. If we are going to be using it all over the place, having the classes in the learning design package is not a good idea.

  1. … 24 more files in changeset.