Page History
...
- Hibernate configuration files are used in an XML format.
- JS7 - JOC Cockpit Installation On Premises
- During installation the relevant hibernate configuration file is created and can be manually updated later on.
- After installation of the JOC Cockpit the
hibernate.cfg.xml
Hibernate configuration file is available in- Unix
/var/sos-berlin.com/js7/joc/jetty_base/resources/joc
- Windows
C:\ProgramData\sos-berlin.com\js7\joc\jetty_base\resources\joc
- A different location for the configuration directory can be specified during installation of the JOC Cockpit.
- Unix
- JS7 - JOC Cockpit Installation for Docker Containers
- The JOC Cockpit ships preinstalled from a Docker® image.
- It is therefore recommended that users:
- download/copy one of the Hibernate configuration files listed below to:
/var/sos-berlin.com/js7/joc/jetty_base/resources/joc
- adjust changes to reflect their database connection. For use with H2® you can use the below sample without changes.
- download/copy one of the Hibernate configuration files listed below to:
- By default the Hikari Connection Pool is used.
- Consider that XML requires special characters to be quotedused with escape characters, for example a password in the Hibernate configuration file that includes the character
&
is quotes written as&
. This applies to any characters values of XML elements and attributes in Hibernate configuration files.- Wrong:
<property name="hibernate.connection.password">sec&ret</property>
- Right:
<property name="hibernate.connection.password">sec&ret</property>
- Wrong:
...
Overview
Content Tools