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 17 available

    Apr 9, 2024 - OpenCms 17 gives content managers the new app "Date search" to find content that has been changed in a certain time range. The "Websites" app allows to easily export the content of a complete site for archiving. An option has been added to hide "sensitive" content in the Offline project. The default Mercury template has been further improved, e.g. with SEO optimized job postings, a "spacer" function and marker clusters for maps. OpenCms 17 has also been tested and certified using Java 17 LTS and 21 LTS.

  • OpenCms 17 Release Notes

    Apr 9, 2024 - The OpenCms 17 release notes contain detailed information about the new features and fixes in this version.

  • Alkacon OCEE 17

    Apr 9, 2024 - Alkacon OCEE 17 is the latest OCEE release for OpenCms 17. This version improves the cluster shutdown behaviour when using the CmsShell.

  • OpenCms Docker image

    Apr 9, 2024 - Test OpenCms using the official image from the Docker hub registry - the fastest way to evaluate and test OpenCms. The image is well suited for evaluation and test purposes of the latest OpenCms release. We provide a docker-compose file to get OpenCms and the database running with just one command.