登录
首页 » Project Manage » The difference between JDBC and JNDI: No JNDI approach problems: one, the databa...

The difference between JDBC and JNDI: No JNDI approach problems: one, the databa...

于 2022-04-30 发布 文件大小:2.20 kB
0 41
下载积分: 2 下载次数: 1

代码说明:

JDBC与JNDI的区别 :没有JNDI的做法存在的问题:1、数据库服务器名称MyDBServer 、用户名和口令都可能需要改变,由此引发JDBC URL需要修改;2、数据库可能改用别的产品,如改用DB2或者Oracle,引发JDBC驱动程序包和类名需要修改;3、随着实际使用终端的增加,原配置的连接池参数可能需要调整;4、-The difference between JDBC and JNDI: No JNDI approach problems: one, the database server name MyDBServer, user name and password may need to change, resulting in a need to amend the JDBC URL 2, the database may be to switch to other products, such as switch DB2 or Oracle, triggered JDBC driver package and class names need to be amended 3, with the actual use of terminals increases, the original configuration of the connection pool may need to adjust parameters 4,

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104225会员总数
  • 32今日下载