首页>
外国专利>
PACKAGE CONVERSIONS FOR PROCEDURAL LANGUAGE EXTENSIONS
PACKAGE CONVERSIONS FOR PROCEDURAL LANGUAGE EXTENSIONS
展开▼
机译:程序语言扩展的包转换
展开▼
页面导航
摘要
著录项
相似文献
摘要
An existing package definition that statically accesses data sources may be used to generate a new definition of the package that dynamically selects between available data sources at runtime. Read-only operations in the new package can be replaced with parameterized views that select between data sources using a session variable. Data manipulation code in the existing package definition can be moved from the package to a new object type. The new definition of the package may keep the same public interface, but the function/procedure definitions can call corresponding functions/procedures in the new object type. Data manipulation code in these functions in the object can be moved to new member functions that separate data manipulation code from data processing code. Child object types can be defined for each data source that override these member functions to access different data sources.
展开▼