JDBC Problem 0.6

Frédéric GUEDJ fguedj at 9online.fr
Thu Sep 26 09:23:11 EDT 2002


Hi all
sorry to write from Outlook express and from Win XP ;-)

I have a problem with the JDBC 0.6 driver while trying to access SQL 7.
The connection seems to work but at the first query, it shows a "Statement
is closed" error.
(see the stack trace below)
Note that, using the same code, i never had any problems with the MySQL JDBC
driver, the Oracle one (classes12.zip) or the JDBC-ODBC bridge.

Has anyone an explanation for this ?

Thanx

Fred (Paris)
-----
java.sql.SQLException: Statement is closed
 at com.internetcds.jdbc.tds.Statement.rollback(Statement.java:209)
 at com.internetcds.jdbc.tds.Statement.close(Statement.java:235)
 at
oscar.domaine.gestionMarketicOne.metier.FsiFabriqueMFVPrs.getAllPersonnePhys
iqueWithFiltre(FsiFabriqueMFVPrs.java:169)
 at
oscar.simulateur.service.gestionPersonne.FsiServiceGestionPersonne.recherche
PersonnePhysiqueBaseGRC(FsiServiceGestionPersonne.java:164)
 at
oscar.simulateur.presentation.modulePersonne.FsiCoordinateurPageRecherchePer
sonne.<init>(FsiCoordinateurPageRecherchePersonne.java:73)
 at
oscar.simulateur.presentation.FsiCoordinateurModuleSimulateur._$490821(FsiCo
ordinateurModuleSimulateur.java:816)
 at
oscar.simulateur.presentation.FsiCoordinateurModuleSimulateur.rediriger(FsiC
oordinateurModuleSimulateur.java:213)
 at
oscar.commun.solution.jsp.FsiCoordinateurModule.doPost(FsiCoordinateurModule
.java:33)
 at! javax.ser vlet.http.HttpServlet.service(HttpServlet.java:760)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
6)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
 at java.lang.Thread.run(Thread.java:479)





More information about the FreeTDS mailing list