tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Pöhler <li...@poehlerpoehler.de>
Subject AW: DBCP/JDBC Problems with DelegatingResultSet
Date Tue, 12 Apr 2005 14:09:37 GMT
Hello Sebastian Wiemer,

The jar file containing the class is common/lib/naming-factory-dbcp.jar

Hth

Marco Pöhler

---
http://www.tuxoo.de
http://www.kontaktlinsen-preisvergleich.de

-----Ursprüngliche Nachricht-----
Von: Sebastian.Wiemer@gfk.de [mailto:Sebastian.Wiemer@gfk.de] 
Gesendet: Dienstag, 12. April 2005 15:56
An: tomcat-user@jakarta.apache.org
Betreff: DBCP/JDBC Problems with DelegatingResultSet






Hello,

I need some help accessing low level routines using JDNI based
connection pooling provided by tomcat.

Environment:      J2SE 1.4.2
Tomcat:     5.5
JDBC-Driver:      Sybase JConnect 5.5 (TDS)

The Tomcat is configured to provide a small connection pool.

Within my servlet i need access to the low-level implementation of the
ResultSet from Sybase. The problem is, that the following code:

Connection conn = dataSource.getConnection();
Statement stmt = conn.getConnection();
ResultSet result = stmt.executeQuery( "..." );

System.out.println( result.getClass().getName() );

prints org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.

I couldn't find a api documentation for this class nor could i find the
jar file providing this class at all in the tomcat installation
directory.

Can anyone give a hint in which JAR archive this class can be found ?



Mit freundlichen Grüßen / Kind regards
Sebastian Wiemer

------------------------------------
Sebastian Wiemer
GfK Group
Data Services GmbH
Nordwestring 101
D-90319 Nürnberg
Fon: +49 (0) 911 395 3876
Fax: +49 (0) 911 333 796
sebastian.wiemer@gfk.de
www.gfk.de / www.gfk.com
------------------------------------



_________________________

Diese E-Mail (ggf. nebst Anhang) enthält vertrauliche und/oder rechtlich
geschützte Informationen. Wenn Sie nicht der richtige Adressat sind,
oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte
sofort den Absender und vernichten Sie diese Mail. Das unerlaubte
Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail (and any attachment/s) contains confidential and/or
privileged information. If you are not the intended recipient (or have
received this e-mail in error) please notify the sender immediately and
destroy this e-mail. Any unauthorised copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
_________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message