日期:2014-05-16  浏览次数:20484 次

database for jdbc相关参数
sybase 驱动:com.sybase.jdbc2.jdbc.SybXADataSource
getconnection格式:con = DriverManager.getConnection("jdbc:sybase:Tds:127.0.0.1:1220/demo","sa","");

sqlserver 驱动:com.microsoft.jdbc.sqlserver.SQLServerDriver
getconnection格式:conn=DriverManager.getConnection("jdbc:sqlserver://192.168.1.200:1433;databaseName=callFood","sa","1433");