Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Commit 7ac9050

Browse files
author
Elliot
committed
Don't distribute oracle drivers
1 parent 47c5488 commit 7ac9050

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ wrapper-old/
1010
wrapper/graal\.tar\.gz
1111

1212
wrapper/graalvm-ce-19\.1\.0/
13+
oracle/*.so
14+
oracle/*.dylib

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,23 @@ More may be supported, but these are the ones we package, test, and distribute.
2323
- Microsoft SQL Server (mssql)
2424
- com.microsoft.sqlserver:mssql-jdbc:7.3.0.jre8-preview
2525
- Oracle DB (oracle)
26-
- com.oracle:ojdbc6:12.1.0.1
26+
- com.oracle:ojdbc6:12.1.0.1 (*NOT* distributed, as license appears to prohibit it)
2727
- PostgreSQL (postgresql)
2828
- org.postgresql:postgresql:42.2.5.jre6
2929

30+
### Building
31+
32+
For oracle, or if you want to build the native libraries yourself...
33+
34+
On osx run `./build-all.sh` to build for both mac and linux.
35+
36+
On linux, run individual scripts e.g. `./wrapper/scripts/wrap-oracle.sh`
37+
3038
### Usage
3139

3240
Import oracle, mssql, or postgresql driver.
3341

42+
3443
```golang
3544
import _ "github.com/identitii/gdbc/oracle"
3645
```

0 commit comments

Comments
 (0)