Difference between revisions of "SQL Server - OpenKM 5.0"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '{{TOCright}} __TOC__ Download MS SQLServer JDBC driver from [http://http://www.microsoft.com/spain/sql/technologies/jdbc/default.mspx MS SQLServer Home Page] and move it to ''$J…')
(No difference)

Revision as of 15:42, 23 October 2010

Download MS SQLServer JDBC driver from MS SQLServer Home Page and move it to $JBOSS_HOME/server/default/lib.


In this OpenKM release you can create the databases automatically configuring the hibernate.dialect and hibernate.hbm2ddl properties in OpenKM.cfg.

hibernate.dialect=org.hibernate.dialect.SQLServerDialect
hibernate.hbm2ddl=create

Once the tables are created, change the hibernate.hbm2ddl property from create to none.


Nota advertencia.png This configuration property should be set before the database creation. Once the database has been initialized don't modify it because can damage your installation. If your OpenKM installation has been already configured with another database (default one is an embedded one called HSQL) you can't switch to another database simply changing this property.

More info about this at:

Database creation

Starting with OpenKM 5.0, only two databases are needed:

okm_repo
okm_app

Start SQL Server Management Studio and create the two databases

Mssql1.jpg
Mssql2.jpg