开发者

running my JDBC application in other systems

I created a JDBC application using mysql5.5.14 . I want to run it on other systems without mysql5.5.14.(but having ja开发者_StackOverflowva) Is thee any way i can install(and configure) mysql5.5.14 on other systems via my application.


I'm not entirely sure what you're trying to do, but if you mean "configure" as in "create the same database tables and views", you can use something like Liquibase.

If you want to keep using JDBC but with another database system at the backend, you can just pass the JDBC driver's class name to the program through a configuration file and load the driver using

Class.forName(jdbcDriver)

when you start up your application.

HTH

Raku

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜