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.


  • 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 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 10.5 Beta available

    Sep 26, 2016 - OpenCms 10.5 Beta provides a feature complete look at OpenCms 10.5. This will be the only pre-release version before OpenCms 10.5.0 is published, which is expected by the end of November. Only minor GUI updates, as well as improvements to the demo template, will be made for the final release.

  • OpenCms 10.5 Beta Release Notes

    Sep 26, 2016 - The OpenCms 10.5 Beta release notes contain detailed information about the new features and fixes in this beta version.

  • OpenCms 10.0.1 available

    Jun 14, 2016 - Being the greatest OpenCms update for years, version 10 brings a vastly improved user experience that combines the intuitive "Direct Edit" approach of OpenCms with a new, well integrated Lauchpad app center. OpenCms 10.0.1 is a maintenance update for 10.0.0 installations. It fixes several issues that persisted in previous releases. This version focuses on performance and stability.

  • OpenCms 10.0.1 Release Notes

    Jun 14, 2016 - The OpenCms 10.0.1 release notes contain detailed information about the updates and fixes in this version.