Frage

I want to use Commons-DBCP 2.0. On official site i found:

Users upgrading to 2.x should be aware that the Java package name has changed, as well as the Maven co-ordinates, since DBCP 2.x is not binary compatible with DBCP 1.x.

But what are the new coordinates? As expected here are only 1.x available.

War es hilfreich?

Lösung

Is it this one?

<dependency>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-dbcp2</artifactId>
   <version>2.0</version>
</dependency>

Most apache projects have aligned with the org.apache.commons groupid. And you seemed to want the DBCP 2.

And BTW, maven central has its own search facility:

http://search.maven.org/#search|ga|1|commons-dbcp

Andere Tipps

You can use the maven central repository : central maven search.

In your case commons-dbcp2.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top