入门必踩坑

 

坑1:jdeveloper里没有mysql的driver,在maven库里引入了,connection里连接正常,但是deploy出错,can't load driver。即使在项目和tools里引入都没用

最后是根据Stack Overflow里的建议  把jar放入jdeveloper的一个lib里

https://stackoverflow.com/questions/11118183/cannot-load-driver-class-com-microsoft-sqlserver-jdbc-sqlserverdriver

 

Put the slqjdbc4.jar or sqljdbc.jar library file in lib folder under DefaultDomain in your IntegratedWLS installation path, if running in in IDE.
C:\Documents and Settings\user\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\lib - 

or

C:\Users\user\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\lib

 

坑2好不容易可以加载了,但是还是没有连通,报了一个ssl的问题,百度+谷歌需要在连接里加上useSSL=false

吐槽一句,其实改成enter custon JDBC URL,就很容易解决,但是一开始很SB的想找出jdeveloper的数据库连接配置,加上useSSL的设置,浪费了一些时间

 

jdbc:mysql://localhost:3306/cxs?useUnicode=true&characterEncoding=utf8&useSSL=false

oracle adf 入门

 

 oracle adf 入门

 

 

坑3:做webpotral开发的话,JTA的事务超时需要设大

oracle adf 入门

 

相关文章:

  • 2021-06-10
  • 2021-07-10
  • 2021-09-06
  • 2021-12-26
  • 2021-04-26
猜你喜欢
  • 2021-12-27
  • 2021-05-15
  • 2021-06-01
  • 2022-12-23
  • 2021-10-20
  • 2021-05-08
相关资源
相似解决方案