jdbc.properties

SqlServer

driverClassname=com.microsoft.sqlserver.jdbc.SQLServerDriver
url=jdbc:sqlserver://localhost:1433;DatabaseName=dbStudent
username=sa
password=wang513901

MySQL

driverClassname = com.mysql.jdbc.Driver
url = jdbc:mysql:///test
username = root
password = root

Oracle

 

driverClassname=oracle.jdbc.driver.OracleDriver
url=jdbc:oracle:thin:@localhost:1521:orcl
username=root
password=root

 

posted @ 2017-03-13 19:42  会飞的鱼摆摆  阅读(180)  评论(0编辑  收藏  举报