[英]oracle.sql.CLOB vs java.sql.Clob
I'm currently using oracle.sql.CLOB
to bind to Oracle Clob. 我当前正在使用
oracle.sql.CLOB
绑定到Oracle Clob。
Are there any benefits of using 使用有什么好处吗
java.sql.Clob clob = con.createClob();
instead of creating a temporary Clob using 而不是使用创建临时Clob
oracle.oracle.sql.CLOB.createTemporary(oracleConn, false, oracle.sql.CLOB.DURATION_SESSION);
We are using Java 6. 我们正在使用Java 6。
oracle.sql.CLOB class deprecated for using java.sql.Clob
interface : 不建议使用
java.sql.Clob
接口使用oracle.sql.CLOB 类 :
Deprecated.
已过时。 Use java.sql.Clob interface for declaration instead of using concrete class oracle.sql.CLOB.
使用java.sql.Clob接口进行声明,而不要使用具体的类oracle.sql.CLOB。
Interface is available since Java 1.2 从Java 1.2开始提供接口
See also Oracle's Using Large Objects 另请参见Oracle 使用大对象
Clob myClob = this.con.createClob();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.