Difference between revisions of "SQL Server - OpenKM 5.0"
From OpenKM Documentation
Line 26: | Line 26: | ||
okm_app | okm_app | ||
− | Start SQL Server Management Studio and create the two databases. Select your appropiate database collate. | + | [http://www.microsoft.com/downloads/details.aspx?FamilyID=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796&DisplayLang=en Start SQL Server Management Studio Express] and create the two databases. Select your appropiate database collate. |
[[file:Mssql1.jpg|center]] | [[file:Mssql1.jpg|center]] |
Revision as of 14:53, 23 October 2010
This configuration has been tested with Microsoft SQL Server 2005 and Microsoft SQL Server 2005 express edition. |
Download MS SQLServer JDBC driver from MS SQLServer Home Page and move it to $JBOSS_HOME/server/default/lib.
Other JDBC driver for MS SQLServer we've tested is jdts. |
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.
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 Express and create the two databases. Select your appropiate database collate.