You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried creating a connectionpool using rxjava2-jdbc using a java.sql.Connection Object .
NonBlockingConnectionPool pool =
Pools.nonBlocking()
.maxPoolSize(Runtime.getRuntime().availableProcessors() * 5)
.connectionProvider(ConnectionProvider.from(connection))
.build();
But it strangely throws this NoSuchMethodError exception :
Scenario :-
I already have a java.sql.Connection Object , How to I use that to create a org.davidmoten.rx.jdbc.Database Object so that I can execute my SQL queries from ?
The text was updated successfully, but these errors were encountered:
Ah, there was a breaking change in guava-mini, check you have latest version of rxjava-jdbc and other libs. If there is a mismatch I'll fix with another release.
yeah , will upgrade , but What I really would need now is this :-
I already have a java.sql.Connection Object , How to I use that to create a org.davidmoten.rx.jdbc.Database Object so that I can execute my SQL queries from ?
Can you please help me with some sample code doing specifically the above ?
I tried creating a connectionpool using rxjava2-jdbc using a java.sql.Connection Object .
NonBlockingConnectionPool pool =
Pools.nonBlocking()
.maxPoolSize(Runtime.getRuntime().availableProcessors() * 5)
.connectionProvider(ConnectionProvider.from(connection))
.build();
But it strangely throws this NoSuchMethodError exception :
Caused by: java.lang.NoSuchMethodError: com.github.davidmoten.guavamini.Preconditions.checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object
Scenario :-
I already have a java.sql.Connection Object , How to I use that to create a org.davidmoten.rx.jdbc.Database Object so that I can execute my SQL queries from ?
The text was updated successfully, but these errors were encountered: