13.07.2015 Views

Caché Upgrade Checklists - InterSystems Documentation

Caché Upgrade Checklists - InterSystems Documentation

Caché Upgrade Checklists - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Caché</strong> 2008.2 <strong>Upgrade</strong> ChecklistAll platforms have now been changed to return a error to the original job command if the child fails toswitch to the specified o/s directory.7.2.5 Class Changes7.2.5.1 Class Compiler Correction — SignaturesIn <strong>Caché</strong> 2007.1 and 2008.1, there is a deficiency in the class compiler mechanism for inheritance. This affected all inheritedcomponents except methods; methods are processed correctly. Specifically, the compiler failed to properly reconcile theattributes of the inherited component with the values possibly overriding them in the subclass.This deficiency has been corrected in this version and those occasions where a subclass improperly overrides attributes ofan inherited component will now be reported as signature errors in the component.7.2.5.2 Class Compiler Correction — PropertiesPrior to this version of <strong>Caché</strong>, it was possible to attempt a property “Get” on a class without supplying an instance context.However, <strong>Caché</strong> does not permit properties to be associated with classes similar to Java class constants; properties areassociated only with class instances. The generated code for this case in prior versions was unpredictable as to what itwould return.This version of the class compiler reports an error that the result of the attempted operation is undefined.7.2.5.3 Class Compiler — JournalingWhen the journal switch was changed from being set individually for globals to being a database property, one effect wasthat class compiles were then journaled. However, if a class compile fails, the database it applies to will be in an inconsistentstate until it is successfully recompiled. This means that there is no need to journal the class compile itself.In this version, journaling of class compiles is off by default. It can be enabled using the qualifier '/journal=1'.Note:Systems using journaling to maintain a shadow system, relying on a compile on the main system being pickedup on the shadow, should change the default qualifiers so that updates made as part of the compile will be reflectedon the shadow system.7.2.5.4 Class Compiler — Query CompilationIn prior versions of <strong>Caché</strong>, all queries defined in a class were callable as stored procedures, even though only the onesmarked as SQLPROC appeared in catalog queries. In this version, a query that is not explicitly defined as SQLPROC isno longer callable as a stored procedure. Any applications taking advantage of the older behavior will need to be updated.7.2.5.5 Class Compiler — Keeping Query Intermediate CodeBeginning with this version, <strong>Caché</strong> no longer generates MAC code for the generated table routines; it now generates .INTroutines and these are retained only if the "k" flag or /keepsource qualifier is specified. This behavior now matches that ofthe generated class routines.7.2.5.6 NLS Changed To Use Object InterfaceThe ^%nls routines have been rewritten for this release using <strong>Caché</strong> object technology. Applications that used ^%nlsdirectly in prior releases must be modified to use one of the methods found in the classes %SYS.NLS or %Collate.178 <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!