Bug 34315 - sql:query needs user and password attributes
Summary: sql:query needs user and password attributes
Status: RESOLVED WONTFIX
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: unspecified
Hardware: All other
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-05 20:56 UTC by Mike Hanafey
Modified: 2006-12-13 12:57 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hanafey 2005-04-05 20:56:43 UTC
In some cases a connection retrieved from a DataSource needs to use the
DataSource.getConnection(userName, password) method. For example, the DBCP
PerUserPoolDataSource is a pool tied to specific users.

This is easily implemented by adding "user" and "password" as optional
attributes to sql:query (and other data access tags).

Is it feasible / reasonable for the Standard Taglib to support a user based
connection pool?
Comment 1 Henri Yandell 2006-12-13 12:57:57 UTC
I've reported this to the 1.2 RI:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=1742

We won't be fixing it unless the spec changes.