Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCms 9.0.1 Setup proccess with SQL Server: COLLATION Issue #231

Closed
rgaviras opened this issue Mar 13, 2014 · 1 comment
Closed

OpenCms 9.0.1 Setup proccess with SQL Server: COLLATION Issue #231

rgaviras opened this issue Mar 13, 2014 · 1 comment

Comments

@rgaviras
Copy link
Contributor

When the setup create the database uses the sentence:

CREATE DATABASE ${database} COLLATE SQL_Latin1_General_CP1_CS_AS;

which is located in opencms.war --> \setup\database\mssql\create_db.sql

This command create de Database in CS mode: Case Sensitive.

Opencms 9.0.1 creates all tables with uppercase names and fields

But opencms.jar --> \org\opencms\db\generic\query.properties there are queries with names in lowercase. As Database is created in CS mode those queries will fail.

One solution is chage the COLLATE to SQL_Latin1_General_CP1_CI_AS or chage the queries to upper case on query.properties file

@gWestenberger
Copy link
Contributor

Fixed in 9.5.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants