Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New driver based on the Prism API #13

Merged
merged 587 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
587 commits
Select commit Hold shift + click to select a range
a1c11d0
add timezone handling
TobiasHafner Aug 2, 2023
c035b2f
add test for missing namespace
TobiasHafner Aug 2, 2023
18b5f17
fix null serialization bug
TobiasHafner Aug 2, 2023
6c5a611
add test case
TobiasHafner Aug 2, 2023
72070d4
set column label and name to same value for meta result sets
TobiasHafner Aug 2, 2023
6076768
set remark to empty string when missing
TobiasHafner Aug 2, 2023
54519b0
overwrite illegal operations to throw exception
TobiasHafner Aug 2, 2023
41e530e
add property for strict aka legacy mode
TobiasHafner Aug 2, 2023
a0e2bc5
fix current row null bug
TobiasHafner Aug 3, 2023
9b5c3b5
meta bugfix
TobiasHafner Aug 3, 2023
1c7bade
result set bug fixing
TobiasHafner Aug 5, 2023
e39f63e
basic document implementation
TobiasHafner Aug 5, 2023
9100a88
refactor protocol messages
TobiasHafner Aug 7, 2023
4df7bef
remove multithreading test
TobiasHafner Aug 7, 2023
24b6237
refactor interface client to use new messages
TobiasHafner Aug 7, 2023
167a52e
unify statement execution options
TobiasHafner Aug 7, 2023
11694b5
fix missing fetchSize
TobiasHafner Aug 7, 2023
49d44ab
fix fetch size for fetching
TobiasHafner Aug 7, 2023
75dc137
fix namespace nullpointer bug
TobiasHafner Aug 7, 2023
9651989
fix namespace nullpointer bug
TobiasHafner Aug 7, 2023
0440711
fix time unit bug again
TobiasHafner Aug 12, 2023
fc2ab70
remove wrong conversion
TobiasHafner Aug 12, 2023
2067a39
minor bugfixing
TobiasHafner Aug 12, 2023
4502117
minor bugfix
TobiasHafner Aug 12, 2023
ccabbb4
minor bugfix
TobiasHafner Aug 13, 2023
89815ce
minor bugfix
TobiasHafner Aug 19, 2023
cfa75c3
metadata adjustments for compatability
TobiasHafner Aug 23, 2023
f776e09
rename connection and multimodel statement class
TobiasHafner Aug 23, 2023
e452c46
Revert "rename connection and multimodel statement class"
TobiasHafner Aug 30, 2023
3976b85
adjust driver flags
TobiasHafner Aug 30, 2023
bffdda2
add native types to driver
TobiasHafner Sep 1, 2023
b5d6865
add native types to driver
TobiasHafner Sep 1, 2023
e056089
Merge branch 'version2' of https://github.com/polypheny/Polypheny-JDB…
TobiasHafner Sep 1, 2023
808cbc8
add PolyDocument to result
TobiasHafner Sep 1, 2023
2445d39
code cleanup
TobiasHafner Sep 1, 2023
675c6a8
code cleanup
TobiasHafner Sep 14, 2023
bec9482
document result iteration fix
TobiasHafner Sep 18, 2023
1229189
add relational result to poly statement
TobiasHafner Sep 18, 2023
f4e102d
reformat
TobiasHafner Sep 18, 2023
fc6d5ad
cleanup
TobiasHafner Sep 20, 2023
52c068a
Sync
gartens Sep 22, 2023
ef4c0b9
Change the package path of the Protobuf classes
gartens Sep 28, 2023
2dc80ee
Fix a few easy warnings
gartens Sep 28, 2023
b8b31c2
Remove objc_class_prefix option from value.proto
gartens Dec 11, 2023
3ca9efd
Format the protobuf files
gartens Dec 11, 2023
05daaea
Rename response file to match the request file
gartens Dec 21, 2023
60b6367
Reformat files
gartens Dec 21, 2023
7d5aedf
Order imports
gartens Dec 22, 2023
b651029
WIP: Rework value serialization
gartens Dec 22, 2023
5830db8
Sync protofiles, does not build yet
gartens Feb 28, 2024
7a643a3
Adapt to changed protobuf structs
gartens Feb 28, 2024
fc7341d
Version 17
gartens Feb 28, 2024
62f88d8
Record host and port separately
gartens Feb 29, 2024
a8161bb
Start to remove gRPC
gartens Feb 29, 2024
ca0e2f9
Expand IPv6 connection string test
gartens Feb 29, 2024
1bac7ab
New URI based connection string parser
gartens Feb 29, 2024
c51c841
Update JUnit
gartens Mar 1, 2024
5dca5e9
Make commit and rollback work again and reduce repetition in RpcServi…
gartens Mar 1, 2024
8c1920c
Replace ArrayList with more generic List
gartens Mar 1, 2024
ba9e484
Use new JUnit Jupiter in all tests
gartens Mar 1, 2024
82abaf6
Sync protobuf files
gartens Mar 1, 2024
1ddd93b
More tests
gartens Mar 1, 2024
e032bc8
More tests
gartens Mar 4, 2024
98d25ab
More tests
gartens Mar 4, 2024
dfeb969
Fix typo
gartens Mar 4, 2024
20bc410
Add test for fetch, which is currently disabled due to another bug
gartens Mar 4, 2024
155dbf3
Some more tests
gartens Mar 4, 2024
6d44ccf
Use a dedicated test for multiple executions of the same prepared sta…
gartens Mar 4, 2024
f591090
No need for public
gartens Mar 4, 2024
0918383
Try to better handle connection state
gartens Mar 4, 2024
5485014
Add executeIndexeedStatementBatch and use it to speed up the fetch test
gartens Mar 4, 2024
0f16635
Remove gRPC
gartens Mar 7, 2024
7c4b15e
Go back to Java 11
gartens Mar 7, 2024
294512c
Abstract connection specific information into a Transport interface
gartens Mar 7, 2024
8bd24a7
Move Transports to their own directory
gartens Mar 8, 2024
8571c4e
Update protobuf files
gartens Mar 8, 2024
f29ed0e
Remove commented code
gartens Mar 8, 2024
c41ac62
Bump protobuf version
gartens Mar 8, 2024
b482b79
Sync Protobuf
gartens Mar 11, 2024
57cb59f
Remove redundant toString()
TobiasHafner Mar 11, 2024
254fab0
Fix deserialization of time without timezone
TobiasHafner Mar 11, 2024
54908bf
Ensure that in all cases waiting callers are notified of RPC errors
gartens Mar 12, 2024
34e7782
Switch to Java 8 and use SocketChannels instead of Sockets
gartens Mar 12, 2024
e098d54
Downgrade mockito
gartens Mar 12, 2024
41fccdd
Fix result set closing
TobiasHafner Mar 12, 2024
95ffff9
Merge remote-tracking branch 'origin/proto-without-grpc' into proto-w…
TobiasHafner Mar 12, 2024
5348f10
Remove readLock, there is only one Thread calling receiveMessage
gartens Mar 12, 2024
8489606
Fix date serialization
TobiasHafner Mar 12, 2024
70fb37e
Fix time serialization
TobiasHafner Mar 12, 2024
0113099
Fix timestamp serialization
TobiasHafner Mar 12, 2024
8aa8ed2
Fix type mismatch
TobiasHafner Mar 12, 2024
6a76fbe
Catch ClosedChannelExceptions as well
gartens Mar 12, 2024
91c573a
Add test that exposes an issue in Polypheny
gartens Mar 12, 2024
7e61cea
Reduce test case
gartens Mar 14, 2024
a287913
Add fetching of whole result set
TobiasHafner Mar 15, 2024
ea1e8a2
fix array handling
TobiasHafner Mar 15, 2024
839456a
Fix column privilege ordering
TobiasHafner Mar 16, 2024
295f6cf
Fix wrong meta column type
TobiasHafner Mar 16, 2024
ff10fa3
Update Protobuf files
gartens Mar 19, 2024
541f49d
Adapt to recent Protobuf message changes
gartens Mar 19, 2024
e08d79c
Update Protobuf files, adapt how PolyDate is serialized, remove unuse…
gartens Mar 19, 2024
5b59cbd
Set inapplicable columns to null
TobiasHafner Mar 20, 2024
9200a87
Change interval to only contain months or milliseconds
gartens Mar 20, 2024
ff6ab11
Rename mode into transport for consistency
gartens Mar 20, 2024
44683e6
Fix wrong parameter read
TobiasHafner Mar 20, 2024
2671a6b
Fix illegal indexes in signatures
TobiasHafner Mar 20, 2024
01192c3
Fix parameter offset in primary key meta
TobiasHafner Mar 20, 2024
89d43f0
Fix imported keys meta
TobiasHafner Mar 20, 2024
5a682a7
Merge remote-tracking branch 'origin/proto-without-grpc' into proto-w…
TobiasHafner Mar 20, 2024
fa5842a
Fix index info meta
TobiasHafner Mar 20, 2024
94d877a
Add Interval
TobiasHafner Mar 20, 2024
305fea6
Add serialization to poly values
TobiasHafner Mar 20, 2024
02344e3
Add map deserialization
TobiasHafner Mar 20, 2024
f74a3b9
Add serialization of wrapped poly values
TobiasHafner Mar 20, 2024
4e312a1
Remove unused interval types
TobiasHafner Mar 20, 2024
ab21ccc
Clean up serialization
TobiasHafner Mar 25, 2024
1e052a4
clean up result closing
TobiasHafner Mar 25, 2024
c62c182
Add interleaved statement test
TobiasHafner Mar 25, 2024
eeb895f
Rename proto to prism
TobiasHafner Mar 25, 2024
a30c760
Fix typo and remove dead code
TobiasHafner Mar 25, 2024
b2848db
Add prepared statement double execution test
TobiasHafner Mar 27, 2024
9ffd641
Fix transport delay
TobiasHafner Apr 3, 2024
274a0a7
Use setOption directly instead of going via socket()
gartens Apr 4, 2024
0aba806
Remove PolyMap
gartens Apr 4, 2024
5536fad
Disable tests which are causing hangs
gartens Apr 4, 2024
6336cc2
Remove static import
gartens Apr 4, 2024
180eef5
Use generic types
gartens Apr 4, 2024
aa431ba
Remove wildcard import
gartens Apr 4, 2024
4ac069d
Remove unused method
gartens Apr 4, 2024
b89991c
Remove unused classes
gartens Apr 4, 2024
8f894d2
Clean up ConnectionString
gartens Apr 4, 2024
2880782
Remove graph stubs
gartens Apr 4, 2024
f81a8e9
Fix typo and reduce duplication in QueryTest
gartens Apr 4, 2024
99aa13d
Spawn a Polypheny instance for tests
gartens Apr 4, 2024
4f15c1e
Handle readLine returning null
gartens Apr 4, 2024
13d0e0f
Remove gradle cache and show output
gartens Apr 4, 2024
c29698e
Disable failing tests with TODO
gartens Apr 4, 2024
60b3b4b
Use Java 17 to start Polypheny
gartens Apr 4, 2024
858ab29
Add file types, clean up jdbc types
TobiasHafner Apr 4, 2024
c922adc
Merge remote-tracking branch 'origin/proto-without-grpc' into proto-w…
TobiasHafner Apr 4, 2024
59b0662
Use UTF-8 and skip Java > 8 for Windows
gartens Apr 4, 2024
32da110
Unbreak build
gartens Apr 4, 2024
621d621
Fix exclude
gartens Apr 4, 2024
4f38e3e
Add unit tests and bugfix
TobiasHafner Apr 4, 2024
d3b688d
Stop reading responses after DisconnectResponse has been received
gartens Apr 5, 2024
31c67ca
Ignore certain exceptions after the disconnect request has been sent
gartens Apr 5, 2024
2112217
Ignore connection closed exceptions in disconnect call
gartens Apr 5, 2024
58ec3bd
Add timeout for build
gartens Apr 9, 2024
9119a09
Sync protofiles & update interval
gartens Apr 9, 2024
97e04cd
Sync protofiles & remove heartbeat
gartens Apr 10, 2024
dd1e0c6
Sync protofiles & replace DatabaseRequest
gartens Apr 11, 2024
63bc3d9
activate working tests
TobiasHafner Apr 11, 2024
31e0949
Merge remote-tracking branch 'origin/proto-without-grpc' into proto-w…
TobiasHafner Apr 11, 2024
4da0c9a
Add unit tests for debugging hanging prepared statements
TobiasHafner Apr 11, 2024
b11479c
Remove printouts from tests
TobiasHafner Apr 11, 2024
8f46c54
Add toolchain resolving for downloading JDK
vogti Apr 12, 2024
545a38d
Upgrade gradle wrapper to 8.7
vogti Apr 12, 2024
276c77e
Sync editorconfig
vogti Apr 12, 2024
356917b
Bump some dependencies
vogti Apr 12, 2024
6d04050
Release RC1
vogti Apr 12, 2024
6a0b929
Change versionQualifier to SNAPSHOT
vogti Apr 12, 2024
918ef55
Relocate dependencies to avoid conflicts
vogti Apr 15, 2024
4902674
Upgrade guava
vogti Apr 15, 2024
8cd4810
Release RC2
vogti Apr 15, 2024
e7b7afb
Change versionQualifier to SNAPSHOT
vogti Apr 15, 2024
830707c
fix wrong default port
TobiasHafner Apr 16, 2024
17abd33
Deactivate alternative password
TobiasHafner Apr 16, 2024
ab6704c
Add tests for default values
TobiasHafner Apr 16, 2024
a42d294
Remove empty test
TobiasHafner Apr 16, 2024
4b7e1cc
Activate working tests
TobiasHafner Apr 16, 2024
4b76afb
Wait for the response handler to finish
gartens Apr 16, 2024
ee7d530
Optimize imports and adjust code style
vogti Apr 17, 2024
fcf9ace
Let unimplemented methods throw
TobiasHafner Apr 17, 2024
6cd1b3f
Update year in copyright
vogti Apr 17, 2024
6374359
Minor code improvements
vogti Apr 17, 2024
5f9d8d8
Remove Guava dependencies
TobiasHafner Apr 17, 2024
5c3ce1c
Fix null pointer on getLength of serialized value
TobiasHafner Apr 17, 2024
160ec51
Add missing license headers
TobiasHafner Apr 17, 2024
880312c
Remove unused types
TobiasHafner Apr 17, 2024
dd476e0
Add transport version checks
gartens Apr 18, 2024
f3d001d
Improve error message on version mismatch
gartens Apr 18, 2024
2f34827
Fix typo
gartens Apr 18, 2024
1b10b99
Rename variable
gartens Apr 18, 2024
6949420
Test on different stores
gartens Apr 18, 2024
8b4c3ed
Relocate generated protobuf classes
gartens Apr 19, 2024
c34db60
Handle BigDecimal -> Double conversion
gartens Apr 19, 2024
093e61b
Remove OWNER column and upper case two responses
gartens Apr 19, 2024
641bf73
Fix typos
gartens Apr 19, 2024
c17b6a8
Search all namespace types
gartens Apr 19, 2024
65d6f12
Release version 2.0-RC3
vogti Apr 19, 2024
27695b7
Sync protofiles
gartens Apr 19, 2024
8e11087
Change versionQualifier to SNAPSHOT
vogti Apr 19, 2024
263545b
Small improvements
gartens Apr 23, 2024
a4a7600
Copy array
gartens Apr 23, 2024
2cfb59d
Fix parameter batches multiple executions
TobiasHafner Apr 24, 2024
9c62108
No Java 8 for ARM
gartens Apr 29, 2024
e40875d
Use correct architecture for macOS
gartens Apr 29, 2024
9da1929
Use unique primary keys
gartens Apr 29, 2024
c2d08b4
Fix asObject deserialization for binary, interval and document values
gartens Apr 30, 2024
a623830
Fix clearing and closing behaviour
TobiasHafner Apr 30, 2024
b4e875f
Merge remote-tracking branch 'origin/proto-without-grpc' into proto-w…
TobiasHafner Apr 30, 2024
3b61748
Use the new Github Action to run Polypheny
gartens Apr 30, 2024
5ea864e
Fix error in workflow file
gartens Apr 30, 2024
063c384
Set java version to start Polypheny with
gartens Apr 30, 2024
1942511
Use path with proper separator on Windows
gartens Apr 30, 2024
4d5ddd1
Use gradlew.bat
gartens Apr 30, 2024
9b209e6
Reduce timeouts
gartens Apr 30, 2024
b1d4b96
Use new version of action plugin
gartens Apr 30, 2024
bd95db4
Remove TestHelper code which was replaced with the Action Plugin
gartens May 2, 2024
c0728e6
Add BigDecimal -> Float conversion
gartens May 3, 2024
d937287
Add BigDecimal -> Int conversion
gartens May 3, 2024
a715cad
Disable toolchain in CI pipelines
vogti May 4, 2024
483251c
Minor reformatting
vogti May 4, 2024
45877a7
Update readme
vogti May 4, 2024
0165345
Set target compatibility if toolchain is disabled
vogti May 4, 2024
1bca200
Fix some typos
vogti May 4, 2024
b75dbaf
Avoid hardcoding driver version
vogti May 4, 2024
89c14d3
Minor code style improvements
vogti May 4, 2024
553e68e
Fix typo
TobiasHafner May 5, 2024
f0149e8
Get version from gradle
TobiasHafner May 5, 2024
8209532
Sync proto files
TobiasHafner May 5, 2024
ab90ed6
Update package name
TobiasHafner May 5, 2024
0c12ae8
Sync proto project structure
TobiasHafner May 5, 2024
0aa4601
Add compilation and version retrieval from prism package
TobiasHafner May 5, 2024
29de9b5
Fix file name
TobiasHafner May 5, 2024
623740a
Add extracted proto files to gitignore
vogti May 5, 2024
5aa7bca
Fix wrong imports
vogti May 5, 2024
6a226e2
Do not extract proto files but use files from dependency
vogti May 5, 2024
5e543a1
Cache values in version util
vogti May 5, 2024
854b49b
Bump dependencies
vogti May 5, 2024
1b3d820
Update readme und changelog
vogti May 5, 2024
72c08ea
Remove outdated entry in gitignore
vogti May 5, 2024
7028386
Minor improvements to formatting and optimize imports
vogti May 5, 2024
38bf63e
Adjust jdbc compatibility flag
TobiasHafner May 5, 2024
50c30ee
Remove code quality degrading todo
TobiasHafner May 5, 2024
fff4581
Adjust null sorting
TobiasHafner May 5, 2024
23f089a
Fix version str
vogti May 6, 2024
8f4167b
Adjust name of version properties file
vogti May 6, 2024
9e1a555
Fix static import
TobiasHafner May 6, 2024
065016b
Rename symbols containing proto to prism
TobiasHafner May 6, 2024
d3c9967
Unify value names
TobiasHafner May 6, 2024
be017c1
Make custom type names consistent
TobiasHafner May 6, 2024
0716aba
Remove unused code
TobiasHafner May 6, 2024
08f0104
Remove more static imports
TobiasHafner May 6, 2024
80b70cd
Improve todo message
TobiasHafner May 6, 2024
b3b4b01
Simplify assertions
gartens May 8, 2024
c27fb35
Remove unused exceptions from signature
gartens May 8, 2024
c81eb0c
Remove usage of emps from tests
gartens May 8, 2024
eec04b4
Improve CREATE TABLE format
gartens May 8, 2024
1bbe829
Bump prism api version
vogti May 10, 2024
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
844 changes: 844 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

148 changes: 117 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,120 @@ name: Polypheny JDBC Driver CI
on: [ push, pull_request ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# test against latest update of each major Java version, as well as specific updates of LTS versions:
java: [ 8, 11 ]
os: [ macos-latest, ubuntu-latest, windows-latest ]
name: Java ${{ matrix.java }} @ ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew build
- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties
build-polypheny:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Checkout Polypheny
uses: actions/checkout@v4
with:
repository: polypheny/Polypheny-DB
ref: proto-without-grpc

- name: Build Polypheny
run: |
./gradlew build -x test -x licensee

- name: Build Polypheny again (just to be sure all plugins are available)
run: |
./gradlew build -x test -x licensee

- name: Store Polypheny JAR
uses: actions/upload-artifact@v4
with:
name: polypheny-jar
path: dbms/build/libs/dbms-0.10.0-SNAPSHOT.jar

build:
needs: build-polypheny
strategy:
fail-fast: false
matrix:
java: [ 8, 11, 17, 21 ]
os: [ ubuntu-latest, macos-latest ]
exclude:
- os: macos-latest
java: 8
timeout-minutes: 5
runs-on: ${{ matrix.os }}
name: Java ${{ matrix.java }} @ ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
17
${{ matrix.java }}
- name: Load Polypheny JAR
uses: actions/download-artifact@v4
with:
name: polypheny-jar

- name: Build & test with Gradle
uses: polypheny/GitHub-Action-Run-Polypheny@dev
with:
cmd: ./gradlew build -PdisableToolchain=true
jar: dbms-0.10.0-SNAPSHOT.jar
java: ${{ env.JAVA_HOME_17_X64 || env.JAVA_HOME_17_ARM64 }}/bin/java

build-windows:
needs: build-polypheny
strategy:
fail-fast: false
timeout-minutes: 20
runs-on: windows-latest
name: Java 8 @ windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
17
8
- name: Load Polypheny JAR
uses: actions/download-artifact@v4
with:
name: polypheny-jar

- name: Build & test with Gradle
uses: polypheny/GitHub-Action-Run-Polypheny@v0.2.0
with:
cmd: gradlew.bat build -PdisableToolchain=true
jar: dbms-0.10.0-SNAPSHOT.jar
java: ${{ env.JAVA_HOME_17_X64 }}\bin\java

test-stores:
needs: build-polypheny
strategy:
fail-fast: false
matrix:
adapter: [ mongodb, hsqldb, monetdb, postgresql, file, cottontail, neo4j ]
timeout-minutes: 10
runs-on: ubuntu-latest
name: Test on ${{ matrix.adapter }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Load Polypheny JAR
uses: actions/download-artifact@v4
with:
name: polypheny-jar
- name: Build with Gradle
uses: polypheny/GitHub-Action-Run-Polypheny@v0.2.0
with:
cmd: ./gradlew build -PdisableToolchain=true
jar: dbms-0.10.0-SNAPSHOT.jar
default-store: ${{ matrix.adapter }}
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
- name: Publish package
run: ./gradlew publish
env:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,6 @@ nbdist/
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!/gradle/wrapper/gradle-wrapper.jar
!/libs/avatica-1.16.0-POLYPHENYDB-shaded.jar

# Ignore dynamically generated version file
src/main/resources/polypheny-jdbc-driver-version.properties
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 2.0

### May 10, 2024

CHANGES:

* New version of JDBC driver utilizing the Polypheny Prism query interface and protocol.

IMPROVEMENTS:

* N/A

BUG FIXES:

* N/A

## 1.5.3

### November 21, 2021
Expand Down
7 changes: 0 additions & 7 deletions NOTICE

This file was deleted.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@

# Polypheny JDBC Driver

This repository contains a standards-compliant JDBC driver for Polypheny-DB.
This repository contains s JDBC driver for Polypheny. It utilizes the *Prism query interface* deployed with every instance of Polypheny by default. The driver adheres to the JDBC 4.2 standard, ensuring compatibility with Java applications, including those written in Scala and Kotlin, as well as tools like DataGrip.

This driver is compatible with JVM version 8 or higher.

## Getting Started

- The driver is published to Maven Central. Make sure that you have added `mavenCentral()` to the repositories section in your gradle build file.
- Add `implementation group: 'org.polypheny', name: 'polypheny-jdbc-driver', version: '1.5.3'` .
- Load the driver `org.polypheny.jdbc.Driver`, for example via
- Add `implementation group: 'org.polypheny', name: 'polypheny-jdbc-driver', version: '2.0'` .
- Optionally: load the driver `org.polypheny.jdbc.PolyphenyDriver`, for example via
```
Class.forName( "org.polypheny.jdbc.Driver" );
Class.forName( "org.polypheny.jdbc.PolyphenyDriver" );
```
- Use the connection URL `jdbc:polypheny:http://localhost/` to connect to [Polypheny-DB](https://github.com/polypheny/Polypheny-DB).

Expand All @@ -30,8 +32,6 @@ We highly welcome your contributions to the _Polypheny JDBC Driver_. If you woul

Please note that we have a [code of conduct](https://github.com/polypheny/Admin/blob/master/CODE_OF_CONDUCT.md). Please follow it in all your interactions with the project.

## Credits
This JDBC Driver is based on [Apache Avatica](https://calcite.apache.org/avatica/), a framework for building database drivers.

## License
The Apache 2.0 License
Loading