Method and system using date/time mutation to return data to Java applications
First Claim
Patent Images
1. A method for creating a data object in response to data requested on a first instance and reusing said created data object in a subsequent request, comprising:
- establishing a mutation directive with an associated value;
inheriting said mutation directive into one or more mutation levels in a predetermined sequence, receiving a result set in response to an information query, wherein said step of inheriting occurs sequentially in a predetermined manner by inheriting said value of said mutation directive first into a data source, second into a connection, third into a statement, and fourth into a result set;
determining a data object for a column of said result set for one or more of a specific date, time, or timestamp in relation to said mutation directive value, returning said determined data object; and
closing each of said one or more mutation levels.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a method, computer program product and article for creating and reusing a value object for data that is requested a first time and again in subsequent data requests in related result sets. Mutation directives and an associated methodology are presented in one of four different levels which permit the present invention to operate within the JDBC standard.
-
Citations
20 Claims
-
1. A method for creating a data object in response to data requested on a first instance and reusing said created data object in a subsequent request, comprising:
-
establishing a mutation directive with an associated value; inheriting said mutation directive into one or more mutation levels in a predetermined sequence, receiving a result set in response to an information query, wherein said step of inheriting occurs sequentially in a predetermined manner by inheriting said value of said mutation directive first into a data source, second into a connection, third into a statement, and fourth into a result set; determining a data object for a column of said result set for one or more of a specific date, time, or timestamp in relation to said mutation directive value, returning said determined data object; and closing each of said one or more mutation levels. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer program product stored on a computer usable medium comprising:
-
computer readable program code for causing a computer to control an execution of an application, the computer program product including program instructions for creating and reusing a value object for select data using a mutation directive comprising; establishing a mutation directive with an associated value; inheriting said mutation directive into one or more mutation levels in a predetermined sequence, wherein said step of inheriting occurs sequentially in a predetermined manner by inheriting said value of said mutation directive first into a data source, second into a connection, third into a statement, and fourth into a result set, receiving a result set in response to an information query; determining a data object for a column of said result set for one or more of a specific date, time, or timestamp in relation to said mutation directive value; returning said determined data object; and
closing each of said one or more mutation levels.
-
-
16. An article comprising:
- a machine-readable storage medium having a plurality of machine accessible instructions, which if executed by a machine, cause the machine to perform operations comprising;
establishing a mutation directive with an associated value, inheriting said mutation directive into one or more mutation levels in a predetermined sequence, wherein said step of inheriting occurs sequentially in a predetermined manner by inheriting said value of said mutation directive first into a data source, second into a connection, third into a statement, and fourth into a result set, receiving a result set in response to an information query, determining a data object for a column of said result set for one or more of a specific date, time, or timestamp in relation to said mutation directive value, returning said determined data object and closing each of said one or more mutation levels, wherein said data object is one of a date/time/timestamp data object. - View Dependent Claims (17, 18, 19)
- a machine-readable storage medium having a plurality of machine accessible instructions, which if executed by a machine, cause the machine to perform operations comprising;
-
20. A method for creating and reusing a value object for select data using a mutation directive comprising:
-
setting a mutation directive; obtaining a connection from a data source inheriting the mutation directive into the connection; creating a statement from the connection; inheriting the mutation directive from the connection into the statement; receiving a result set from the statement as a result of a query; inheriting the mutation directive from the statement into the result set; identifying active status of said mutation statement in said result set in relation to said mutation directive; positioning result set in a predetermined row in relation to said identifying active status step; requesting a data object from a column of one or more of a specific date, time, or timestamp in the predetermined row of the result set in relation to said positioning step; retrieving said data object in relation to said identifying step where if said identifying step is “
ON”
retrieving said data object from an array cached at predetermined column position, and mutating said data object in relation to value received from data source, or if said identifying step is “
OFF”
or if there is no data object stored in said array, creating a new data object in relation to value received from data source;returning said data object ; closing said result set; closing said statement; and closing said connection.
-
Specification