Home > Back-end >  Consult the JDBC can take such as oracle SQL statements automatically switch to MYSQL SQL statements
Consult the JDBC can take such as oracle SQL statements automatically switch to MYSQL SQL statements

Time:11-06

Consult the JDBC can take such as oracle SQL statements automatically switch to MYSQL SQL statements?
Have the function of it?
Thank you

CodePudding user response:

Can't, each database provided by JDBC package can only resolve your own database specification statement, implementation is different, the JDBC interface specification, does not provide a conversion, the definition of

CodePudding user response:

No, Java is not responsible for doing such a thing, to do,

CodePudding user response:

No, have to perform different depending on the type of different database SQL statement

CodePudding user response:

refer to the original poster oracleperl response:
consult JDBC can take such as oracle SQL statements automatically switch to MYSQL SQL statements?
Have the function of it?
Thank you


JDBC is a bridge between the Java and database, JDBC only through specific interface in Java programs need to perform database command is passed to the database, and then through specific interface to the database after the command results in passed to a Java program, as for the instruction passed to the database if you have any questions, can't distinguish the JDBC itself,

CodePudding user response:

As a sidewalk, mysql is people can, Oracle is a car, so no, sidewalks, how can the car become people ~
  • Related