机构地区: 广东科学技术职业学院软件学院
出 处: 《科学技术与工程》 2007年第20期5382-5385,共4页
摘 要: JDBC的连接过程是JDBC达到正常运行的最困难部分。尽管JDBC API相当简单,但是许多"陷阱"隐藏在表面下边。首先介绍JDBC数据库连接的类型,然后重点分析在使用Type4来进行SQL Server JDBC数据库连接时所出现的异常、可能的原因,并给出相应的详细解决方案。这对数据库的JDBC编程有一定的借鉴和指导作用。 It is the most difficult for the JDBC application to run without error. There are many traps hided behind the surface in despite of JDBC API is quite simple. The types of the JDBC is introduced firstly, then lay stress on the analyses of the thrown exception when make use of Type 4 to connect SQL Server database, their possible causation, and their corresponding detailed resolutions are given. There are some use for reference and guidance for JDBC programming.