Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

More than one jdbc file with a DBCP connection type fails #55

Open
howardtlcc opened this issue Mar 1, 2016 · 1 comment
Open

More than one jdbc file with a DBCP connection type fails #55

howardtlcc opened this issue Mar 1, 2016 · 1 comment

Comments

@howardtlcc
Copy link

Using the JDBC support in the Extension Library. I have two jdbc files in the jdbc directory in web-inf. Depending on the user's location, I get a connection from either one jdbc file or the other. Using a type="simple", I am able to call JDBCUtil.getConnection("file1") or JDBCUtil.getConnection("file2") and it works fine and gets the right database server. If I change to type="dbcp" it always returns the database connection for the connection in whatever jdbc file was used first.

@briangleeson
Copy link

I've verified that this issue occurs Howard, thanks for raising it. But I haven't had any luck getting to the root of the problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants