tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DBCP/JDBC Problems with DelegatingResultSet
Date Tue, 12 Apr 2005 13:56:18 GMT


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 /


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:
For additional commands, e-mail:

View raw message