Flexible storage of XML collections within an object-relational database
First Claim
1. A method used for managing XML data in a database system, comprising the steps of:
- a database server receiving a XML schema;
wherein said XML schema includes a plurality of declarations, each declaration of said plurality of declarations defining a collection element; and
for each declaration of said plurality of declarations;
making, based one or more factors, a certain determination of a form of VARRAY storage to use for a database representation of the respective collection element, and said database server generating mapping data that maps said respective collection element to the form of VARRAY storage determined by said certain determination.
1 Assignment
0 Petitions
Accused Products
Abstract
A database server determines, on an element-level of granularity, what form of VARRAY storage to map collections of elements defined by a XML schema. A collection element may be mapped to an in-line VARRAY or an out-of-line VARRAY. The determination may based on a variety of factors, including the database type mapped to the collection element, database limitations that limit the form storage for certain database types, and annotations (“mapping annotations”) embedded within that XML schema that specifying a database type for database representation of a collection element or a form of VARRAY storage.
42 Citations
20 Claims
-
1. A method used for managing XML data in a database system, comprising the steps of:
-
a database server receiving a XML schema;
wherein said XML schema includes a plurality of declarations, each declaration of said plurality of declarations defining a collection element; and
for each declaration of said plurality of declarations;
making, based one or more factors, a certain determination of a form of VARRAY storage to use for a database representation of the respective collection element, and said database server generating mapping data that maps said respective collection element to the form of VARRAY storage determined by said certain determination. - View Dependent Claims (2, 3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 16, 17)
-
-
8. A computer-implemented method for mapping a database representation in a database to XML elements defined by a XML schema, comprising the steps of:
-
a database server evaluating said XML schema, wherein said XML schema includes a plurality of declarations, each declaration of said plurality of declarations defining a collection element; and
wherein said evaluation includes, for each declaration of said plurality of declarations;
making a determination specific to said each declaration of whether to use an inline VARRAY or an out-of-line VARRAY as a database representation of the respective collection element, and said database server generating mapping data that;
maps said respective collection element to a VARRAY column of a table in said database, and indicates whether the VARRAY column is stored inline or out-of-line. - View Dependent Claims (9, 10, 18, 19, 20)
-
Specification