wood burning stoves 2.0*
The moose likes JDBC and the fly likes Scrollable ResultSet (multipage)  - Oracle 7 JDBC 2.0 driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Scrollable ResultSet (multipage)  - Oracle 7 JDBC 2.0 driver" Watch "Scrollable ResultSet (multipage)  - Oracle 7 JDBC 2.0 driver" New topic
Author

Scrollable ResultSet (multipage) - Oracle 7 JDBC 2.0 driver

Jorge Ortiz
Greenhorn

Joined: Nov 23, 2001
Posts: 2
Hi,
I'm trying to show table's content in scrollable way (i.e. multipage) but I have some limitations: My application will be connected with an Oracle 7.3.4 database, so I have classes111.zip but it doesn't implements JDBC 2.0. Anyone knows a free JDBC 2.0 driver for Oracle 7.x? or there are ways to scroll JDBC 1.0's ResultSet?.
I had tested Auguro driver from i-net Software but I receive an String Out of bounds exception.
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#_1_
the above link shows that you can use the latest classes12.zip oracle drivers for Oracle 8.1.7 because it is backwards compatible. classes12.zip implements jdbc 2.0.
You can download classes12.zip from
http://technet.oracle.com/software/tech/java/sqlj_jdbc/htdocs/winsoft.html
Jorge Ortiz
Greenhorn

Joined: Nov 23, 2001
Posts: 2
Thank you for your fast reply. I had downloaded that driver and after testing, I got the following SQL Exception: Exception Io: End of TNS data channel.
The stack trace of excption is:
java.sql.SQLException: Exception Io: End of TNS data channel
at oracle.jdbc.dbaccess.DBError.throwSqlException (DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:260)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at co.com.websys.util.UsoPaginador.doPost(UsoPaginador.java:42)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155
)
at com.sun.web.core.InvokerServlet.service(InvokerServlet.java:168)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155
)
at com.sun.web.core.Context.handleRequest(Context.java:414)
at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)
Do you have any idea about this exception?
Thank you in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Scrollable ResultSet (multipage) - Oracle 7 JDBC 2.0 driver