9. A machine-readable storage medium having instructions therein, which when executed by a processor, cause the processor to perform a method, the method comprising: receiving, at an object-relational mapping (ORM) unit communicatively coupled to a relational database, a first structured query language (SQL) query statement for accessing the relational database, the first SQL query statement being received from a client application programmed in an object-oriented programming language, wherein the first SQL query statement is represented by a data object associated with the object-oriented programming language which is incompatible with a format of the relational database, and wherein the first SQL query statement includes a wildcard parameter that is not recognizable by the relational database; generating, by a query analyzer of the ORM unit, a syntax tree representing semantic information of the first SQL query statement; predicting, by a data type predictor of the ORM unit, a data type of the wildcard parameter based on the semantic information obtained from the syntax tree in view of a structure representing the syntax tree; generating, by the object-relational mapping (ORM) unit, a second SQL query statement that is tailored to the format of the relational database, the second SQL query statement including a parameter representing the wildcard parameter of the first SQL query statement, wherein a data type of the parameter of the second SQL query statement is specified using the predicted data type; and transmitting the second SQL query statement from the ORM unit to the relational database to access the relational database.
9. A machine-readable storage medium having instructions therein, which when executed by a processor, cause the processor to perform a method, the method comprising: receiving, at an object-relational mapping (ORM) unit communicatively coupled to a relational database, a first structured query language (SQL) query statement for accessing the relational database, the first SQL query statement being received from a client application programmed in an object-oriented programming language, wherein the first SQL query statement is represented by a data object associated with the object-oriented programming language which is incompatible with a format of the relational database, and wherein the first SQL query statement includes a wildcard parameter that is not recognizable by the relational database; generating, by a query analyzer of the ORM unit, a syntax tree representing semantic information of the first SQL query statement; predicting, by a data type predictor of the ORM unit, a data type of the wildcard parameter based on the semantic information obtained from the syntax tree in view of a structure representing the syntax tree; generating, by the object-relational mapping (ORM) unit, a second SQL query statement that is tailored to the format of the relational database, the second SQL query statement including a parameter representing the wildcard parameter of the first SQL query statement, wherein a data type of the parameter of the second SQL query statement is specified using the predicted data type; and transmitting the second SQL query statement from the ORM unit to the relational database to access the relational database. 10. The machine-readable storage medium of claim 9 , wherein the method further comprises mapping the first SQL query statement with the predicted data type of the wildcard parameter to a corresponding data entry of the relational database based on metadata that defines a set of rules for mapping a query statement to one compatible with the format of the relational database.