我写的示例代码:
String connectionUrl = "jdbc:oracle:enterpriseone://server1:6016/PD910;enterpriseone.role=*ALL;databaseName=server1;user=jde;password=jde123";
String sql = "SELECT ABAN8 FROM *LIBL.F0101 F0101";
Class.forName("com.jdedwards.jdbc.driver.JDBCDriver");
conn = DriverManager.getConnection(connectionUrl);
它给出以下异常:DriverManager.getConnection(connectionUrl);
例外:
Mon Jun 30 07:52:17 CDT 2014: [INFO] [PERFORMANCE] com.jdedwards.jdbc.driver.JDBCDriver.connect(): 13313 ms
Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbc:oracle:enterpriseone://server1:6016/PD910;enterpriseone.role=*ALL;databaseName=server1;user=jde;password=jde123
at java.sql.DriverManager.getConnection(DriverManager.java:602)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at ConnectToJDEE1.main(ConnectToJDEE1.java:21)
使用e1dadriver.jar
是否需要额外的设置或罐子?
答案 0 :(得分:0)
根据我的理解,e1dadriver.jar有几个依赖项。 最新文档显示了以下额外的罐子:
此外,在某些情况下必须更换xalan和xerces。 所有这些文件都应该在DADriver_EAR.jar文件中提供。
有关更多信息,请查看以下文档: http://docs.oracle.com/cd/E17984_01/doc.898/e14692/interactive_reporting.htm#BABCAJJE