JDBC.jl icon indicating copy to clipboard operation
JDBC.jl copied to clipboard

Julia interface to Java database drivers

Results 25 JDBC.jl issues
Sort by recently updated
recently updated
newest added

Using a proprietary jdbc driver I experienced a `java.lang.NoClassDefFoundError`. It turned out that I could solve it by calling ```julia JDBC.JavaCall.init(["--add-opens=java.base/java.nio=ALL-UNNAMED"]) ``` instead of ```julia JDBC.init() ``` While the underlying...

This a PR to #62 for allowing the passing of parameters to `init()`. I chose to define constants rather than `using JavaCall: init` as I found that tab-completion did not...

[OraBench](https://github.com/KonnexionsGmbH/ora_bench) compares the performance of various Oracle database drivers and includes both [JDBC.jl](https://github.com/JuliaDatabases/JDBC.jl) and [Oracle.jl](https://github.com/felipenoris/Oracle.jl). There are 10 trials in each benchmark run. In each trial, 100000 rows are inserted...

Using the sqlite driver and the sample toursdb database, flights table (see package tests for details) ``` @time DataFrame(collect(JDBCRowIterator(rs))) 0.100710 seconds (451.67 k allocations: 20.420 MiB) @time JDBC.load(DataFrame, rs) 0.770983...

### Code: ``` @threads for partition_key = 1:benchmark_number_partitions println("multithreaded threadid=$(threadid())") run_select_helper( size(bulk_data_partitions[partition_key], 1), partition_key, sql_select, statements[partition_key], trial_number, ) end ``` Source: https://github.com/KonnexionsGmbH/ora_bench/blob/master/lang/julia/OraBenchJdbc.jl ### Protocol: always the same tread id !...

Hi, I have tried to enhance the package, adding the functions ``` javascript addBatch(stmt::Union(JPreparedStatement, JCallableStatement)) = jcall(stmt, "addBatch", jint, Void, ()) executeBatch(stmt::Union(JPreparedStatement, JCallableStatement)) = jcall(stmt, "executeBatch", jint, Void, ()) ```...

# Problem description Hello, to my greater despair I have to work with a Pervasive SQL database. It seems the username and password are not passed to the java class...

I'm trying to extract data from a Netezza database. I run the following: ```julia using JavaCall JavaCall.addClassPath("C:/JDBC/nzjdbc.jar") using JDBC JDBC.usedriver("C:/JDBC/nzjdbc.jar") JDBC.init() classforname("org.netezza.Driver") hostname = "hostname" port = "5480" database =...

As it wasn't documented, I'm not quite sure if this is already supported. It would be great to implement IAM authentication (in our example ADFS) to access AWS services like...

This fixes #53 by adding support for decimal types via Decimals.jl.