摘要
Java已是构成整个Oracle环境的一部分.Java访问Oracle9i有两种基本方法:JDBC和SQLJ.Or-acle为开发Java程序提供了4种JDBC驱动程序,其中两种针对客户端程序如Applets,Servlets,另外两种针对服务器端或服务器内部数据库中的Java存储过程等使用.SQLJ则是把SQL嵌入Java代码中的高级语言.给出了一个使用OracleJDBCThin驱动程序的实例.
Java has been an integral part of the overall Oracle environment. There are two basic ways to access Oracle9i database from Java: JDBC and SQLJ. Oracle provides four driver types of JDBC to use with developing Java programs. Two are for client\|side use with programs such as applications, applets, and servlets, while the other two are for server\|side (or internal) use with Java stored procedures in the database. SQLJ is high\|level language designed for embedding SQL statements into Java code. An example code was given to illustrate the usage of the JDBC Thin driver.
出处
《中国计量学院学报》
2004年第1期49-53,共5页
Journal of China Jiliang University
基金
浙江省教育厅科技项目(NO.20020680)