Skip to content

Commit ad2d15a

Browse files
Merge pull request #179 from christianpoitras/master
Drops support for BoneCP. Fixes #139.
2 parents b34e37d + c9f50d2 commit ad2d15a

File tree

9 files changed

+13
-862
lines changed

9 files changed

+13
-862
lines changed

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<gcu.product>Guice</gcu.product>
9292
<guice.version>4.2.2</guice.version>
9393
<ejb-api.version>3.2.6</ejb-api.version>
94-
<osgi.import>com.alibaba.druid.pool.*;resolution:=optional,com.jolbox.bonecp.*;resolution:=optional,com.mchange.v2.c3p0.*;resolution:=optional,org.apache.commons.dbcp2.*;resolution:=optional,javax.transaction.*;resolution:=optional</osgi.import>
94+
<osgi.import>com.alibaba.druid.pool.*;resolution:=optional,com.zaxxer.hikari.*;resolution:=optional,com.mchange.v2.c3p0.*;resolution:=optional,org.apache.commons.dbcp2.*;resolution:=optional,javax.transaction.*;resolution:=optional</osgi.import>
9595
<spotbugs.omitVisitors>UnreadFields</spotbugs.omitVisitors>
9696
<module.name>org.mybatis.guice</module.name>
9797

@@ -170,9 +170,9 @@
170170
</dependency>
171171

172172
<dependency>
173-
<groupId>com.jolbox</groupId>
174-
<artifactId>bonecp</artifactId>
175-
<version>0.8.0.RELEASE</version>
173+
<groupId>com.zaxxer</groupId>
174+
<artifactId>HikariCP</artifactId>
175+
<version>3.4.2</version>
176176
<optional>true</optional>
177177
</dependency>
178178

src/changes/changes.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
Fixes OSGI imports.
7777
<fixes issue="126"/>
7878
</action>
79+
<action dev="christian.poitras" type="remove">
80+
Removed support for BoneCP.
81+
</action>
7982
</release>
8083
<release version="3.10" date="2017-09-09" description="maintenance release">
8184
<action dev="christian.poitras" type="add">

src/main/java/org/mybatis/guice/datasource/bonecp/BoneCPProvider.java

Lines changed: 0 additions & 221 deletions
This file was deleted.

src/main/java/org/mybatis/guice/datasource/bonecp/package-info.java

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/site/site.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2019 the original author or authors.
4+
Copyright 2009-2020 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@
2929
<item name="MyBatis built-in" href="datasources/builtin.html"/>
3030
<item name="Apache Commons DBCP" href="datasources/dbcp.html"/>
3131
<item name="C3P0" href="datasources/c3p0.html"/>
32-
<item name="BoneCP" href="datasources/bonecp.html"/>
32+
<item name="HikariCP" href="datasources/hikaricp.html"/>
3333
<item name="Druid" href="datasources/druid.html"/>
3434
</item>
3535
<item name="Injections" href="injections.html"/>

src/site/xdoc/core.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2016 the original author or authors.
4+
Copyright 2009-2020 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -173,7 +173,7 @@ MyMapper mapper = injector.getInstance(MyMapper.class);]]></source>
173173
The mybatis-guice framework comes with some providers that
174174
support the MyBatis-native Data Sources and other well known
175175
Data Sources, <i>C3P0</i>,
176-
<i>Apache Commons DBCP</i> and <i>BoneCP</i> but users are free to
176+
<i>Apache Commons DBCP</i> and <i>HikariCP</i> but users are free to
177177
implement their own <i>javax.sql.DataSource</i>
178178
Provider and reference it in the <i>org.mybatis.guice.MyBatisModule</i>.
179179
</p>

src/site/xdoc/datasources.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2018 the original author or authors.
4+
Copyright 2009-2020 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -49,7 +49,7 @@
4949
</li>
5050
<li><a href="datasources/c3p0.html">C3P0</a>;
5151
</li>
52-
<li><a href="datasources/bonecp.html">BoneCP</a>.
52+
<li><a href="datasources/hikaricp">HikariCP</a>.
5353
</li>
5454
<li><a href="datasources/druid.html">Druid</a>.
5555
</li>

0 commit comments

Comments
 (0)