vert-x3 / vertx-mysql-postgresql-client

This client is deprecated - use instead
https://github.com/eclipse-vertx/vertx-sql-client
Apache License 2.0
117 stars 59 forks source link

How to switch driver between scala and kotlin version? #150

Closed iseki0 closed 5 years ago

iseki0 commented 5 years ago

Sorry, I 'm the beginner. I want to use the new version driver because I need maxWaitQueueSize parameter.
The dependency in my gradle file:

compile 'io.vertx:vertx-mysql-postgresql-client:3.6.3'

I know this question may be stupid. But I can't search for answer.
Thank you.

oshai commented 5 years ago

Basically you need to replace artifact id to: vertx-mysql-postgresql-client-jasync and then change package names as explained here: https://github.com/jasync-sql/jasync-sql/wiki/Mauricio-Driver-Migration

okou19900722 commented 5 years ago

Now, you may see three library named like vertx-mysql-postgresql-client:

vertx-mysql-postgresql-client-scala is basing on vertx-mysql-postgresql-client. It's easy to use by scala programer. but the driver of vertx-mysql-postgresql-client was not maintenanced.

the driver of vertx-mysql-postgresql-client-jasync is a new, community-active library.

but this repository was removed in vert.x 4.0. if you are using Postgres have you tried using the Reactive PG Client. A Mysql supported branch is working in process.And a other library named vertx-sql-client is planing

iseki0 commented 5 years ago

@okou19900722 @oshai Thank you. I will have a look.