发明名称 Database access for native applications in a virtualized environment
摘要 A database may be accessed by creating a virtualized environment on a computer system and instantiating a driver for a database within the virtualized environment. A first execution thread within the virtualized environment is created and a first unique identifier is associated with the first execution thread within the driver for the database. A first connection to the database is then opened from within the first execution thread using the first unique identifier. A first native program containing embedded structured query language (SQL) statements is executed within the first execution thread and the first native program is provided with access to said database using the first connection to said database.
申请公布号 US8972438(B2) 申请公布日期 2015.03.03
申请号 US201012961221 申请日期 2010.12.06
申请人 International Business Machines Corporation 发明人 Kurian John;Sood Ajay;Venkitachalam Hariharan N.
分类号 G06F17/30;G06F9/455 主分类号 G06F17/30
代理机构 Brevetto Law Group 代理人 Brevetto Law Group
主权项 1. A method for accessing a database comprising: creating a virtualized environment on a computer system; instantiating a driver for a database within said virtualized environment; running a first execution thread and a second execution thread within said virtualized environment; associating a first unique identifier with the first execution thread and a second unique identifier with the second execution thread for said database; opening a first connection to said database from within the first execution thread using the first unique identifier, and a second connection to said database from within the second execution thread using the second unique identifier; executing a first native application containing embedded structured query language (SQL) statements within the first execution thread; executing a second native application containing embedded structured query language (SQL) statements within the second execution thread; providing the first native application with access to said database using the first connection to said database; and providing the second native application with access to said database using the second connection to said database; wherein a first access of said database from the first native application uses the first connection to said database; wherein a second access of said database from the second native application uses the second connection to said database; wherein the first connection to said database and the second connection to said database have different contexts; and wherein the first native application comprises computer code compiled from a first language and the second native application comprises computer code compiled from a second language that differs from the first language.
地址 Armonk NY US