You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Se...@gfk.de on 2005/04/12 17:05:17 UTC

Retrieving driver-specific implementation of ResultSet




Hi,

as Marco helped me to solve my previous problem, i'm now facing the next
one.

It seems the org.apache.tomcat.dbcp.dbcp.DelegatingResultSet does not
provide any facility to
retrieve the wrapped ResultSet.

What i need is access to the driver specific implementation of the
ResultSet for the used connection pool.

DelegatingResultSet.getInnermostDelegate() only returns the innermost
DelegatingResultSet instance.

Is there any hack out there which provides something like
DelegatingResultSet.getWrappedResultSet() ?

Or does anyone have another/better idea to get access to the low-level
implementation ?

Thanx, so far
Sebastian

_________________________

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.
_________________________


_________________________

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


Re: Retrieving driver-specific implementation of ResultSet

Posted by Larry Meadors <la...@gmail.com>.
Why do you need that?

On Apr 12, 2005 9:05 AM, Sebastian.Wiemer@gfk.de <Se...@gfk.de> 
wrote:
> 
> 
> 
> Hi,
> 
> as Marco helped me to solve my previous problem, i'm now facing the next
> one.
> 
> It seems the org.apache.tomcat.dbcp.dbcp.DelegatingResultSet does not
> provide any facility to
> retrieve the wrapped ResultSet.
> 
> What i need is access to the driver specific implementation of the
> ResultSet for the used connection pool.
> 
> DelegatingResultSet.getInnermostDelegate() only returns the innermost
> DelegatingResultSet instance.
> 
> Is there any hack out there which provides something like
> DelegatingResultSet.getWrappedResultSet() ?
> 
> Or does anyone have another/better idea to get access to the low-level
> implementation ?
> 
> Thanx, so far
> Sebastian
> 
> _________________________
> 
> 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.
> _________________________
> 
> _________________________
> 
> 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
> 
>