Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ The JVM remains in memory unless you explicitly destroy it. This can be done wi
JDBC.destroy() # or JavaCall.destroy()
```

Some drivers require special parameters for the initialization of the JVM,
which can be passed to `init()` as a vector of `String`s, e.g.
```julia
JDBC.init(["--add-opens=java.base/java.nio=ALL-UNNAMED"])
```

### Low-Level Java Interface

As described above, this package provides functionality very similar to using a JDBC driver in Java. This allows you to write code very similar to how it would
Expand Down
4 changes: 2 additions & 2 deletions src/JDBC.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ const COLUMN_NO_NULLS = 0
const COLUMN_NULLABLE = 1
const COLUMN_NULLABLE_UNKNOWN = 2

init() = JavaCall.init()
destroy() = JavaCall.destroy()
const init = JavaCall.init
const destroy = JavaCall.destroy

"""
```
Expand Down