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.

Developers7.2.5.16 Navigating %Library.RelationshipObjectSeveral methods have been added to the %Library.RelationshipObject class to make it similar to a collection object. Thesemethods can be called on a relationship whose cardinality is either MANY or CHILDREN. The following methods arenow implemented:• GetObjectIdAt()• GetObjectIdNext()• GetObjectIdPrevious()Note:It is important to not that while %Library.RelationshipObject implements a collection-like interface, it is not acollection class and is not required to implement the entire collection interface. Relationships are different fromcollections even though they implement many similar behaviors.7.2.5.17 Inventory Scan Task Added To %SYS.TaskA new on–demand task has been added to the task manager. The “Inventory Scan” task (%SYS.Task.InventoryScan) runsthe Inventory.Scanner.RunScan() method and saves the resulting inventory scan.Inventory scans start from the instance install directory and perform a recursive examination of all directories, files, databasesand routines within databases, recording their name, size, date last modified and a hash identifier. This data is stored intothe %SYS database.The Inventory Scan task is set to run automatically after the install or upgrade finishes. Users may start it manually thereafter,if they make changes to the system.7.2.5.18 TSQL Implies PROCEDUREBLOCKStarting with this version, defining a method whose language is set as TSQL automatically assumes PROCEDUREBLOCKequal to 1 overriding any explicit setting for the class or method.7.2.5.19 CDL Qualifiers RemovedObject flags and qualifiers (“4” and “version4compatible”, respectively) referring to the ability to export data in CDLhave been removed.7.2.5.20 FetchODBC Method Removed From Default Query InterfacePrior to this release, the FetchODBC method was introduced to provide an interface to send query data to an xDBC client.Now, <strong>Caché</strong> has added a SendODBC method that much more efficiently sends the query data to the xDBC client andremoves the need for the FetchODBC method. Therefore, FetchODBC code that just calls the Fetch query method andreformats the data is no longer generated. If a user had written a FetchODBC method, the SendODBC method will stilluser the users code as it would do before.Note:The FetchODBC method is unlikely to have been used by user code as it was previously only used by <strong>Caché</strong> tosend data to xDBC. If an existring appl;ication relies on this FetchODBC method being generated, it will needto change to call the Fetch method instead.7.2.5.21 Wider Recognition of LogicalToStorage and StorageToLogical MethodsThe LogicalToStorage and StorageToLogical methods convert logical values to and from storage values respectively.Prior to this version, only methods inherited from the property type class (or property class) were recognized. This limitationwas due to the way SQL recognized property methods.<strong>Caché</strong> <strong>Upgrade</strong> <strong>Checklists</strong> 181

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

Saved successfully!

Ooh no, something went wrong!