arx icon indicating copy to clipboard operation
arx copied to clipboard

Arbitrary JDBC connect string / jar file support

Open tom-dyar opened this issue 5 years ago • 3 comments

I would like to be able to connect to more databases, such as snowflake, but ARX GUI (and the library?) only supports certain databases.

It would be great to be able to specify an arbitrary JDBC connection string, and be able to point ARX to a jar file that supports that connection string.

tom-dyar avatar May 31 '19 14:05 tom-dyar

Thanks for your interest in ARX! This limitation does not exist in the ARX library, it only affects the GUI. It would be relatively easy to implement a method for dynamically loading the JDBC driver through the GUI. I won't have the time to do this, however, in the foreseeable future. Maybe you could try to enhance ARX in this regard?

prasser avatar May 31 '19 16:05 prasser

Thanks, Dr. Prasser,

So I guess this would entail:

  • adding a new drop-down option
  • Implement a dialog to configure for JDBC, that would include:
  • select .jar file, and then code would enumerate the driver classes in the jar
  • select driver class

Then this information needs to be used to instantiate the data source object, perhaps after a "classforname" call?

I also don't have time to implement this right now, but it is good to scope out the work in case someone else would like this feature.

tom-dyar avatar May 31 '19 17:05 tom-dyar

Thomas, thanks for your effort! The outline of the changes sounds reasonable. Maybe this gets picked up by someone willing and able to contribute.

prasser avatar May 31 '19 18:05 prasser