JDBC Derby driver not found

前端 未结 8 752
甜味超标
甜味超标 2020-12-06 17:02

I\'ve followed the JDBC tutorial at: http://docs.oracle.com/javase/tutorial/jdbc/basics/gettingstarted.html, and managed to build and create my own JDBC database without too

8条回答
  •  盖世英雄少女心
    2020-12-06 17:54

    Java JDK comes with both

    org.apache.derby.jdbc.EmbeddedDriver
    org.apache.derby.jdbc.ClientDriver
    

    Within eclipse add the following jars to the used JRE(JDK) or explicitly to your project.

    [JDK]db/lib/derby.jar (EmbeddedDriver)
    [JDK]db/lib/derbyclient.jar (ClientDriver)
    

    For runtine you needed to made the appropriates jar available for your java application.

提交回复
热议问题