c*x
2 楼
what's your question? if you want to load a special JDBC driver and
connect to a database, you can try like below(you need modify the driver
name and location of DB accordingly)
Class.forName("my.sql.Driver").newInstance();
Connection connect =
DriverManager.getConnection("jdbc:mysql://hostname/dbname","yourlogin","yourpa
ssword");
【在 u*s 的大作中提到】
: How to load DriverManager to JDBC?
: Thanks.
connect to a database, you can try like below(you need modify the driver
name and location of DB accordingly)
Class.forName("my.sql.Driver").newInstance();
Connection connect =
DriverManager.getConnection("jdbc:mysql://hostname/dbname","yourlogin","yourpa
ssword");
【在 u*s 的大作中提到】
: How to load DriverManager to JDBC?
: Thanks.
相关阅读
Any suggestions on online SQL courses?database theory question菜鸟请教一个用frontpage访问数据库的问题Waterfall, SDLC, AgileSQL Server query 一问Oracle CPU Time limit problem如何让SQL 2005 CLR Trigger返回结果给Stored Procedure用?Can not endure sql developer请教大牛如何得到这样的数据?包子题 (1st answer 100新币)tools for importing data into oracleInteresting thought问个牛人才能解答的问题,关于mysql的内存这种insert怎么做要做个数据库,大家出出主意吧找工作求助大家都很忙吗?what's ur Disaster Recovery PlanSQL 2000 doesn't support RowNumber()oracle -> ms sql