Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scrollable ResultSet (multipage) - Oracle 7 JDBC 2.0 driver

 
Jorge Ortiz
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic