13.07.2015 Views

Caché Upgrade Checklists - InterSystems Documentation

Caché Upgrade Checklists - InterSystems Documentation

Caché Upgrade Checklists - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Developers11.2.8.3 SQL Passwords Are Case-SensitiveIn Version 5.1, for security reasons, SQL uses the same password mechanisms as <strong>Caché</strong>. One consequence of this is thatSQL passwords are now case-sensitive. Previously, they were not.11.2.8.4 Table Ownership Interaction With $USERNAMEThis means that tables created through the use of DDL will have as owner the value of $USERNAME at the time they werecreated. When creating a class or table by any other means, the class's OWNER keyword is not defined unless the developerexplicitly defines it. When a class is compiled that projects a table and the class's OWNER keyword is NULL, the table'sowner is set to _SYSTEM.This interpretation is the same as in previous versions. What has changed is that there is no default to an OWNER of_SYSTEM when creating tables through DDL in 5.1.11.2.8.5 Delimited Identifiers Are The Default<strong>Caché</strong> version 5.1 installs with the value for “Support Delimited Identifiers” as true. This means that a double-quoted string(“My String”) is considered a delimited identifier within an SQL statement. Prior versions of <strong>Caché</strong> had this parameter setto false: a double-quoted string was treated as a string constant or literal string. The value of this parameter can be changedvia the System Management Portal at [Home] > [Configuration] > [Advanced Settings].11.2.8.6 %msql EliminatedThis variable was used in <strong>Caché</strong> ObjectScript to specify a valid user name for SQL access from embedded SQL. A validuser name was one that was registered in the User Table.In <strong>Caché</strong> 5.1, the SQL username is now extracted from the $USERNAME special variable which is set when the user isauthenticated.11.2.8.7 Cached Query ChangesCached Query Interaction With Read-Only DatabasesIn <strong>Caché</strong> 5.1, SQL queries that require Cached Queries will not work against read-only databases unless the ^mcq globalis mapped to a database mounted as read-write. An example of this interaction is attempting to create a table in a read-onlydatabase using SQL DDL.Cached Query Changes Are Not JournaledIn version 5.1, when cached queries are modified, the changes are no longer journaled. This prevents changes to cachedqueries inside a transaction from being written to the journal. Thus, shadowing will not apply cached query changes acrosssystems.Purging Cached Queries Is Immediate<strong>Caché</strong> 5.1 no longer supports the concept of purging cached queries after N days, where N is a number of days defined inthe configuration setting. When an application calls Purge(), it will purge all cached queries.Cached Queries On Read-Only DatabasesThis version of <strong>Caché</strong> permits applications to Prepare and Execute Dynamic SQL cached queries that do SELECTs againstthe table of the database.Note:Any attempt by the application to purge such queries will result in a error. Purging cached queriesrequires write access to the database they are associated with.<strong>Caché</strong> <strong>Upgrade</strong> <strong>Checklists</strong> 259

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!