OpenCms database layer with JPA

Initial Development of JPA driver done by Georgi Naplatanov. All test cases should be passed with this driver.

 Available files:

Sprint Work:

 

Refactored Patch

The initial patch was eclipse workpspace specific and required to have a certain project name. It was created with svn, so files had to be moved. Finally some compile errors had to be removed. OpenCms 7.0.5 was checked out from cvs. The following patch is the result of the integration of the first patch. Please start with this one. 

JPA Driver Patch Refactored.

The required libraries are not in the patch. Use the following zip file. Deflate it and copy it over <eclipse-project>/lib/: jar libraries.

Results 

  • Some work had to be done before the patch could be applied, compiled and installed.
  • Installation was successful. The installations wizard showed changes in the UI which are subject to discussion (e.g. all JPA - supported DMBS are listed next to a checkbox for choice of JPA).
  • After the installation the proper drivers are not contained in the OpenCms configuration (opencms.properties): OpenCms will start with a standard driver set instead of using JPA.
  • The database structure created during setup does not require scripts. At a first glance it looks so as if there is no difference to the previous non-JPA database structure.
  • The Junit test cases would not run due to missing folders and the fact that the current test architecture requires to run scripts for creating and dropping the database. Further work on the tests has to be done.

 

Latest News

  • OpenCms 15 available

    Apr 25, 2023 - OpenCms 15 provides role-based control to restrict who is allowed to update the sitemap configuration, including an editor for modifying selected sitemap attributes by any content manager. The new launchpad app "Person data search" reveals personal user data stored in the VFS. The Mercury template adds more than 1800 optional icons from the Bootstrap collection and numerous further enhancements.

  • OpenCms 15 Release Notes

    Apr 25, 2023 - The OpenCms 15 release notes contain detailed information about the new features and fixes in this version.

  • Alkacon OCEE 15

    Apr 25, 2023 - Alkacon OCEE 15 is the latest OCEE release for OpenCms 15. This version features a new scheduled job for LDAP synchronization and fixes a number of issues that have been detected in Alkacon OCEE 14.

  • OpenCms 14 available

    Oct 11, 2022 - This version features XML schema versioning with automatic content rewrite. Also new is support for two factor authentication (2FA) in the user login. A source code editor widget is available for multi-line text input fields. The Mercury template has been updated to use Bootstrap 5.2.