pb用jdbc连接oracle
我在pb9中用jdbc连接oracle,报错JavaException:java.lang.NoClassDefFoundError:com/sybase/powerbu...
我在pb9中用jdbc连接oracle,报错Java Exception : java.lang.NoClassDefFoundError: com/sybase/powerbuilder/jdbc/PbjdbcSessionEx
是怎么回事啊?classes12.jar已经放到程序的根目录下了。连接代码:
sqlca.dbms ="JDBC"
sqlca.logid = 'test'
sqlca.logpass = 'test'
str_host = '127.0.0.1'
str_service_name= 'orcl'
sqlca.dbparm = "Driver='oracle.jdbc.driver.OracleDriver',URL='jdbc:oracle:thin:@"+str_host+":1521:"+str_service_name+"'"
sqlca.autocommit= false
CONNECT Using SQLCA;
有时出现错误提示:Non SQL Error : Could not load class oracle.jdbc.driver.OracleDriver 展开
是怎么回事啊?classes12.jar已经放到程序的根目录下了。连接代码:
sqlca.dbms ="JDBC"
sqlca.logid = 'test'
sqlca.logpass = 'test'
str_host = '127.0.0.1'
str_service_name= 'orcl'
sqlca.dbparm = "Driver='oracle.jdbc.driver.OracleDriver',URL='jdbc:oracle:thin:@"+str_host+":1521:"+str_service_name+"'"
sqlca.autocommit= false
CONNECT Using SQLCA;
有时出现错误提示:Non SQL Error : Could not load class oracle.jdbc.driver.OracleDriver 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询