Why are we using C3P0 as the default pool?

293 views
Skip to first unread message

zaman.i...@gmail.com

unread,
Aug 13, 2018, 7:05:03 AM8/13/18
to vert.x

Is there some specific reason, shouldn't we be using HikariCP or any other better alternative?

bill robertson

unread,
Aug 13, 2018, 8:53:26 AM8/13/18
to vert.x
Is there a way to change that?

zaman.i...@gmail.com

unread,
Aug 14, 2018, 3:05:32 AM8/14/18
to vert.x
You can by overriding the provider_class property available in the configuration. You can read about it here - https://vertx.io/docs/vertx-jdbc-client/java/

provider_class

The class name of the class actually used to manage the database connections. By default this isio.vertx.ext.jdbc.spi.impl.C3P0DataSourceProvider but if you want to use a different provider you can override this property and provide your implementation.

bill robertson

unread,
Aug 14, 2018, 11:13:38 AM8/14/18
to ve...@googlegroups.com
Thanks. 

Are there known issues with vert and HikariCP?

Sent from my iPhone
--
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/nx32j31GGNg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/a61db80a-01d8-4fa0-a833-b3072dcf9810%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Paulo Lopes

unread,
Sep 3, 2018, 2:25:20 PM9/3/18
to vert.x
There are no known issues with Hikari, or BoneCP or Agroal (the current alternatives) however the configuration is different and since we were using json it is not trivial to spot this.

An desired improvement is to have a data object that would unify / validate per pool.

Reply all
Reply to author
Forward
0 new messages