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.

<strong>Caché</strong> 2007.1 <strong>Upgrade</strong> Checklist9.2.3.4 Oracle Timestamps and JDBC GatewayWhen linking to any column defined in an Oracle database as an Oracle Date, the linking procedure incorrectly representsthis as a <strong>Caché</strong> Date. This interpretation makes it impossible manipulate data items declared as Date (Timestamps, actually)via JDBC.To obtain the correct behavior, once the table has been linked, it is necessary for the user to open the class definition inStudio, and change the datatype from %Date to %TimeStamp.This is a documented issue with the Oracle JDBC drivers.9.2.3.5 TuneTable and KeepUpToDate Flag<strong>Caché</strong> provides the ability to gather statistics about the contents of a table to assist in optimizing queries. The method thatcan be invoked by applications at runtime is: $SYSTEM.SQL.TuneTable.The fifth parameter of $SYSTEM.SQL.TuneTable is the KeepUpToDate flag. If this flag is set to 1, <strong>Caché</strong> does not markthe classes and tables as out of date when it modifies the values for ExtentSize and the Selectivity.In Version 2007.1, KeepUpToDate has been extended to influence cached queries. If KeepUpToDate is set to 1, <strong>Caché</strong>will not purge cached queries as part of the TuneTable.If the flag is 0, the default, then the class is marked as not up to date and all cached queries based on the table are purged.Running TuneTable on a live system with KeepUpToDate = 0 can cause application errors if the application is using anyqueries that are removed from the cache.9.2.3.6 Changes for Sybase / SQL Server CompatibilityThe following changes have been made to <strong>Caché</strong> for compatibility with Sybase and SQL Server:• the command, TRUNCATE TABLE, has been added• six new functions are now available for use in expressions: CHARINDEX, DATALENGTH, REPLACE, STUFF, andSYSDATE• two additions have been made to the list of reserved words: SYSDATE, and STATISTICS9.2.3.7 New DDL Datatype MappingsAs of this version, the following new datatype mappings have been added to the system set of datatype maps:External TypeBINARY VARYINGBINARYCHAR VARYINGCHARACTER VARYINGNATIONAL CHAR VARYINGNATIONAL CHARACTER VARYINGNATIONAL VARCHARVARBINARYVARCHARMaps In <strong>Caché</strong> To%Library.Binary(MAXLEN=1)%Library.Binary(MAXLEN=1)%Library.String(MAXLEN=1)%Library.String(MAXLEN=1)%Library.String(MAXLEN=1)%Library.String(MAXLEN=1)%Library.String(MAXLEN=1)%Library.Binary(MAXLEN=1)%Library.String(MAXLEN=1)216 <strong>Caché</strong> <strong>Upgrade</strong> <strong>Checklists</strong>

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

Saved successfully!

Ooh no, something went wrong!