A method and apparatus are provided for handling within a database system data items that are associated with data types whose native structure is not known to the database system. The data items are stored within the database system in their native structure, even though it is not understood by the database system. To store the data items, the database system calls a pickling routine that is provided by the user, or by the runtime subsystem of the programming environment that is native to the data item. To retrieve the routine from storage, the database system calls an unpickling routine, also provided by the user or the appropriate runtime subsystem. Because the database maintains the data items in their native format, no conversions are required as the data items are passed between the database system and external routines that manipulate the data items. Techniques are also provided for declaring attributes of the data item that can be accessed within the database system. The user provides routines for the database system to call in order to access the declared attributes, which may be different than the actual attributes that the data item has in its native environment.

Un metodo e un apparecchio sono forniti per il maneggiamento all'interno degli elementi della base di dati del dato del sistema che sono associati con i tipi di dati di cui la struttura natale non è conosciuta al sistema della base di dati. Gli elementi dei dati sono immagazzinati all'interno del sistema della base di dati in loro struttura natale, anche se non è capita dal sistema della base di dati. Per immagazzinare gli elementi dei dati, il sistema della base di dati denomina una procedura di marinatura che è fornita dall'utente, o dal sottosistema runtime dell'ambiente di programmazione che è natale all'elemento dei dati. Per richiamare la procedura da immagazzinaggio, il sistema della base di dati denomina una procedura unpickling, anche fornita dall'utente o dal sottosistema runtime adatto. Poiché la base di dati effettua gli elementi dei dati nella loro disposizione natale, nessuna conversione è richiesta mentre gli elementi dei dati sono passati fra il sistema della base di dati e le procedure esterne che maneggiano gli elementi dei dati. Le tecniche inoltre sono fornite per dichiarare gli attributi dell'elemento dei dati che può essere raggiunto all'interno del sistema della base di dati. L'utente fornisce le procedure per il sistema della base di dati alla chiamata per accedere agli attributi dichiarati, che possono essere differenti che gli attributi reali che l'elemento dei dati ha nel relativo ambiente natale.

 
Web www.patentalert.com

< (none)

< System and method for synchronizing data communication between asynchronous buses

> IC card for accumulating degree of interest and system for accumulating degree of interest using such card

> (none)

~ 00014