连接各种数据库的URL和DRIVER
2012-05-13 12:22:16 来源:WEB开发网核心提示: --><!-- Sybase<entry key="jdbc.url">jdbc:sybase:Tds:localhost:5007/[database]</entry><entry key="jdbc.driver">com.s
-->
<!-- Sybase
<entry key="jdbc.url">jdbc:sybase:Tds:localhost:5007/[database]</entry>
<entry key="jdbc.driver">com.sybase.jdbc.SybDriver</entry>
-->
<!-- DB2
<entry key="jdbc.url">jdbc:db2://localhost:5000/[database]</entry>
<entry key="jdbc.driver">com.ibm.db2.jdbc.app.DB2Driver</entry>
-->
<!-- HsqlDB
<entry key="jdbc.url">jdbc:hsqldb:mem:generatorDB</entry>
<entry key="jdbc.driver">org.hsqldb.jdbcDriver</entry>
-->
<!-- Derby
<entry key="jdbc.url">jdbc:derby://localhost/databaseName</entry>
<entry key="jdbc.driver">org.apache.derby.jdbc.ClientDriver</entry>
-->
<!-- H2
<entry key="jdbc.url">jdbc:h2:tcp://localhost/~/test</entry>
<entry key="jdbc.driver">org.h2.Driver</entry>
-->
更多精彩
赞助商链接