×

System and method for providing user defined types in a database system

  • US 7,308,460 B2
  • Filed: 12/17/2004
  • Issued: 12/11/2007
  • Est. Priority Date: 02/10/2004
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-readable storage medium having stored thereon computer-executable instructions that, when executed on a computer system, causes the computer system to perform the step of:

  • receiving code that implements a class defining the structure of a user-defined type and methods that can be invoked on instances of the user-defined type;

    enforcing a contract against the class, the contract comprising;

    a first requirement that the class specify one of a plurality of different formats for persisting instances of the user-defined type in a database store;

    a second requirement that the class be capable of returning a null value for the user-defined type; and

    a third requirement that the class provide a method for converting the user-defined type to another type;

    creating instances of the user-defined type only when the class meets the requirements of the contract;

    performing said receiving, enforcing, and creating steps to create a user-defined type in the context of a first database;

    performing said receiving, enforcing, and creating steps to create a user-defined type in the context of a second database; and

    determining whether the user-defined type created in the context of the first database is equivalent to the user-defined type created in the context of the second database.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×