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
First thank you for all the effort regarding this driver. It is so much better than the standard jdbc driver and the speed and stability is much better.
The only thing which is missing is a multi-release jar with all dependencies included so that desktop/mobile applications which must to use jlink for distribution can use the driver as well.
I had the following situation where a module-info inside of pgjdbc-ng would saved me alot of time:
The task was to migrate an application from Javafx8 to Javafx11 including to change the JDK to 11 as well. For that I have to use jlink because the tool jpackager can only work with a jlink image. In order to get a jlink image I have to create for every library which is not modularized a module-info.java.
For pgjdbc-ng driver which is using netty, this was very difficult because all netty libs are not modularized yet.
Here is the maven code and org.moditect (maven module to create module-info files) config to get a working pgjdbc-ng module. This was a very complicated task from my perspective and I hope you can either add this to the wiki or create a multi-release jar with all dependency's.
Here is the maven code to get the lib (sorry for bad format):
@kdubb I've some questions for you regarding implementing this. Normally, a module only exposes the packages which are part of its public API. I've inferred that you likely don't consider the entirety of the driver public API, as I've seen a few breaking changes in public interfaces, interfaces which surely seem specific to the implementation.
The api.data, api.jdbc, jdbc, and jdbc.xa packages seem to comprise the driver's public API. Is this correct, or do you intend to expose all the other packages in the API?
(One of the advantages of a module descriptor is that, once codified, the set of exposed packages will be clearly defined, and you won't have questions like this one.)
First thank you for all the effort regarding this driver. It is so much better than the standard jdbc driver and the speed and stability is much better.
The only thing which is missing is a multi-release jar with all dependencies included so that desktop/mobile applications which must to use jlink for distribution can use the driver as well.
I had the following situation where a module-info inside of pgjdbc-ng would saved me alot of time:
The task was to migrate an application from Javafx8 to Javafx11 including to change the JDK to 11 as well. For that I have to use jlink because the tool jpackager can only work with a jlink image. In order to get a jlink image I have to create for every library which is not modularized a module-info.java.
For pgjdbc-ng driver which is using netty, this was very difficult because all netty libs are not modularized yet.
Here is the maven code and org.moditect (maven module to create module-info files) config to get a working pgjdbc-ng module. This was a very complicated task from my perspective and I hope you can either add this to the wiki or create a multi-release jar with all dependency's.
Here is the maven code to get the lib (sorry for bad format):
The text was updated successfully, but these errors were encountered: