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