PL/SQL language parsing at a virtual machine
First Claim
1. A method for programming language parsing, comprising:
- identifying, at a virtual machine server, that a database is not configured to handle procedural language extension to structured query language (PL/SQL) calls based at least in part on a PL/SQL compatibility component identifying that the database is not compatible with PL/SQL;
in response to the identifying, intercepting a PL/SQL call at the virtual machine server based at least in part on an extension to a database connector of the database;
determining one or more procedural functions corresponding to the PL/SQL call and one or more SQL operations specified in the PL/SQL call, the one or more procedural functions corresponding to non-query functionality;
translating the one or more procedural functions corresponding to the PL/SQL call into non-PL/SQL code configured to perform the one or more procedural functions when executed by a processor; and
transmitting, instead of the PL/SQL call, the one or more SQL operations specified in the PL/SQL call to the database according to the non-PL/SQL code configured to perform the one or more procedural functions.
1 Assignment
0 Petitions
Accused Products
Abstract
In some database systems, a user device may query for data records using a procedural language extension to structured query language (PL/SQL) call. However, some databases may not be configured to process PL/SQL code. In these cases, a virtual machine may intercept the PL/SQL call, and may transform the call to a format usable by the database. For example, the virtual machine may deconstruct the PL/SQL call to determine the procedural and query functions that comprise the PL/SQL call. The virtual machine may then search a database for non-PL/SQL code snippets that correspond to these determined functions, and may generate non-PL/SQL code (e.g., Java code) that may perform the same functions as the PL/SQL call. The virtual machine, the database, or a combination of the two may execute the non-PL/SQL code to retrieve the data records from the database, and may return the records to the user device.
33 Citations
20 Claims
-
1. A method for programming language parsing, comprising:
-
identifying, at a virtual machine server, that a database is not configured to handle procedural language extension to structured query language (PL/SQL) calls based at least in part on a PL/SQL compatibility component identifying that the database is not compatible with PL/SQL; in response to the identifying, intercepting a PL/SQL call at the virtual machine server based at least in part on an extension to a database connector of the database; determining one or more procedural functions corresponding to the PL/SQL call and one or more SQL operations specified in the PL/SQL call, the one or more procedural functions corresponding to non-query functionality; translating the one or more procedural functions corresponding to the PL/SQL call into non-PL/SQL code configured to perform the one or more procedural functions when executed by a processor; and transmitting, instead of the PL/SQL call, the one or more SQL operations specified in the PL/SQL call to the database according to the non-PL/SQL code configured to perform the one or more procedural functions. - View Dependent Claims (2, 3, 4, 5, 6, 18)
-
-
7. An apparatus for programming language parsing, comprising:
-
a processor; memory in electronic communication with the processor; and instructions stored in the memory and operable, when executed by the processor, to cause the apparatus to; identify, at a virtual machine server, that a database is not configured to handle procedural language extension to structured query language (PL/SQL) calls based at least in part on a PL/SQL compatibility component identifying that the database is not compatible with PL/SQL; in response to the identifying, intercept a PL/SQL call at the virtual machine server based at least in part on an extension to a database connector of the database; determine one or more procedural functions corresponding to the PL/SQL call and one or more SQL operations specified in the PL/SQL call, the one or more procedural functions corresponding to non-query functionality; translate the one or more procedural functions corresponding to the PL/SQL call into non-PL/SQL code configured to perform the one or more procedural functions when executed by a processor; and transmit, instead of the PL/SQL call, the one or more SQL operations specified in the PL/SQL call to the database according to the non-PL/SQL code configured to perform the one or more procedural functions. - View Dependent Claims (8, 9, 10, 11, 12, 19)
-
-
13. A non-transitory computer-readable medium storing code for programming language parsing, the code comprising instructions executable by a processor to:
-
identify, at a virtual machine server, that a database is not configured to handle procedural language extension to structured query language (PL/SQL) calls based at least in part on a PL/SQL compatibility component identifying that the database is not compatible with PL/SQL; in response to the identifying, intercept a PL/SQL call at the virtual machine server based at least in part on an extension to a database connector of the database; determine one or more procedural functions corresponding to the PL/SQL call and one or more SQL operations specified in the PL/SQL call, the one or more procedural functions corresponding to non-query functionality; translate the one or more procedural functions corresponding to the PL/SQL call into non-PL/SQL code configured to perform the one or more procedural functions when executed by a processor; and transmit, instead of the PL/SQL call, the one or more SQL operations specified in the PL/SQL call to the database according to the non-PL/SQL code configured to perform the one or more procedural functions. - View Dependent Claims (14, 15, 16, 17, 20)
-
Specification