1. A computer implemented 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.