Pekka Enberg
12783ef01e
Merge 'bindings/java: Add support for publishing to Maven Central' from Kim Seon Woo
...
Build & publish @tursodatabase/database / db-bindings-x86_64-pc-windows-msvc - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / db-bindings-x86_64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-aarch64-apple-darwin - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-aarch64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-wasm32-wasip1-threads - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-x86_64-pc-windows-msvc - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-x86_64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / Test DB bindings on Linux-x64-gnu - node@20 (push) Blocked by required conditions
Build & publish @tursodatabase/database / Test DB bindings on browser@20 (push) Blocked by required conditions
Build & publish @tursodatabase/database / Publish (push) Blocked by required conditions
Python / configure-strategy (push) Waiting to run
Python / test (push) Blocked by required conditions
Python / lint (push) Waiting to run
Python / linux (x86_64) (push) Waiting to run
Python / macos-arm64 (aarch64) (push) Waiting to run
Python / sdist (push) Waiting to run
Python / Release (push) Blocked by required conditions
Rust / cargo-fmt-check (push) Waiting to run
Rust / build-native (blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Rust / build-native (macos-latest) (push) Waiting to run
Rust / build-native (windows-latest) (push) Waiting to run
Rust / clippy (push) Waiting to run
Rust / simulator (push) Waiting to run
Rust / test-limbo (push) Waiting to run
Rust / test-sqlite (push) Waiting to run
Rust Benchmarks+Nyrkiö / bench (push) Waiting to run
Rust Benchmarks+Nyrkiö / clickbench (push) Waiting to run
Rust Benchmarks+Nyrkiö / tpc-h-criterion (push) Waiting to run
Rust Benchmarks+Nyrkiö / tpc-h (push) Waiting to run
Rust Benchmarks+Nyrkiö / vfs-bench-compile (push) Waiting to run
## Purpose
- Deploy `tech.turso:turso:<version>` to maven central so that users can
easily use java bindings
- For example :
https://repo1.maven.org/maven2/io/github/seonwkim/turso/0.0.1/
## Requirements
- [x] Add the following github secrets.
- [x] MAVEN_CENTRAL_USERNAME
- [x] MAVEN_CENTRAL_PASSWORD
- [x] GPG_PRIVATE_KEY
- [x] GPG_PASSPHRASE
- [ ] Namespace `tech.turso` must be registered at maven central
- [ ] GPG key registration to key servers
- Notes
- Retrieve MAVEN_CENTRAL_USERNAME and MAVEN_CENTRAL_PASSWORD from
[maven central](https://central.sonatype.com/usertoken )
- GPG keys should be registered. You should distribute your keys to
designated(maven central supported) servers
- Refer to [GPG key related docs](https://central.sonatype.org/publ
ish/requirements/gpg/#distributing-your-public-key)
- Btw, I used `keyserver.ubuntu.com` key server while testing
### [Maven Central Username &
Password](https://central.sonatype.com/usertoken )
<img width="2878" height="1338" alt="image"
src="https://github.com/user-
attachments/assets/03e6f967-a7f6-46b8-aef5-d15772bd9eea" />
### [Maven Central
Namespace](https://central.sonatype.com/publishing/namespaces )
<img width="1424" height="456" alt="image" src="https://github.com/user-
attachments/assets/8c0f4f17-bf5a-4c6a-bc47-748d86cd1f1a" />
## Future Works
- Currently, we depend on gradle.properties to determine the version of
our dependency and it's cumbersome to always change the version
manually. Let's find a better solution.
Closes #3624
2025-10-10 13:12:01 +03:00
kimminseok
76320e82db
lint issues with spotless
2025-10-09 11:19:29 +09:00
kimminseok
f9e95697c8
handle empty string in findColumn() method
2025-10-09 10:46:27 +09:00
kimminseok
76b57e5d0c
correctly detect empty ResultSet in next()
2025-10-09 10:29:46 +09:00
Kim Seon Woo
722c906ca6
Change variable names
2025-10-08 15:43:27 +09:00
kimminseok
104c2ffc5e
Fix isBeforeFirst to return false for empty ResultSet
2025-10-08 00:40:15 +09:00
kimminseok
043a9fc7b8
Change to verify full exception messages in findColumn tests
2025-10-08 00:25:28 +09:00
Kim Seon Woo
d90d0f3f9f
Separate publish.gradle.kts from build.gradle.kts
2025-10-07 23:52:12 +09:00
Kim Seon Woo
e9ccdf15d8
Apply lint
2025-10-07 23:52:03 +09:00
kimminseok
64fd282eb0
Fix NullAway warnings in JDBC4ResultSet
2025-10-07 23:50:48 +09:00
Kim Seon Woo
8af9a53818
Update build.gradle.kts for publishing
2025-10-07 23:37:53 +09:00
Kim Seon Woo
fe7027e8ee
Fix Makefile libs command
2025-10-07 23:33:13 +09:00
Kim Seon Woo
76af79c4fa
Add javadoc on classes and public methods for publishing to maven central
2025-10-07 23:33:02 +09:00
kimminseok
253d54c15a
Fix spotless lint errors
2025-10-07 23:18:35 +09:00
kimminseok
85f2755837
feat(java): implement getTimestamp() in JDBC4ResultSet
2025-10-07 14:30:03 +09:00
kimminseok
ffd43b4b77
feat(java): implement getTime() in JDBC4ResultSet
2025-10-07 14:25:46 +09:00
kimminseok
6adc272d75
feat(java): implement getDate() in JDBC4ResultSet
2025-10-07 14:22:13 +09:00
kimminseok
fb370c63a6
feat(java): implement getRow() in JDBC4ResultSet
2025-10-07 14:18:34 +09:00
kimminseok
fd61ddbd21
feat(java): implement isBeforeFirst(), isAfterLast() in JDBC4ResultSet
2025-10-07 14:15:10 +09:00
kimminseok
80d11b75b1
feat(java): implement getBigDecimal() in JDBC4ResultSet
2025-10-07 14:10:58 +09:00
kimminseok
2aa76709c2
feat(java): implement getCharacterStream() in JDBC4ResultSet
2025-10-07 14:06:59 +09:00
kimminseok
fcb0323218
feat(java): implement findColumn() in JDBC4ResultSet
2025-10-07 14:02:10 +09:00
pedrocarlo
3c91ae206b
move as many dependencies as possible to workspace to avoid multiple versions of the same dependency
2025-09-15 17:19:36 -03:00
zongkx
92e211f278
Merge remote-tracking branch 'origin/main'
2025-09-11 12:26:52 +00:00
zongkx
d7096bdd28
fix executeUpdate updated count
2025-09-11 12:25:14 +00:00
zongkx
22cbd3a02c
Merge branch 'tursodatabase:main' into main
2025-09-11 20:18:11 +08:00
zongkx
5d6e97b46b
add executeUpdate updated count
2025-09-11 12:17:05 +00:00
PThorpe92
ba1ed72ed8
Add tracing_release feature for benchmarks to compile tracing macros to noops
2025-09-10 09:56:12 -04:00
김선우
424275b60b
Apply lint
2025-08-31 16:15:37 +09:00
김선우
b50011d96b
Implement setTimestamp
2025-08-28 14:49:16 +09:00
김선우
6c93d78394
Add TODOs
2025-08-28 14:38:13 +09:00
김선우
a9ae588159
Implement setTime
2025-08-28 14:35:01 +09:00
김선우
a61ad217f1
Implement setDate
2025-08-28 14:20:40 +09:00
김선우
7057c97cfe
Remove .rustc_info.json
2025-08-24 10:25:14 +09:00
김선우
fa8896d9ee
Nit
2025-08-24 10:20:39 +09:00
김선우
9f6eb8bc92
Update verification of batch compatible statements using regex
2025-08-24 10:13:04 +09:00
김선우
bf1473dc08
Override JDBC4PreparedStatement to throw exception when calling addBatch method
2025-08-24 09:35:29 +09:00
김선우
346525e5f0
Update test
2025-08-24 09:25:59 +09:00
김선우
df41994ecc
Implement execute batch
2025-08-24 09:15:07 +09:00
Nikita Sivukhin
d1eab18670
enable indices in java sdk
2025-08-13 16:46:25 +04:00
Pekka Enberg
669f02f17c
bindings/java: Throw UnsupportedOperationException for unimplemented methods
2025-07-29 17:47:35 +03:00
Pekka Enberg
744f636c33
Merge 'bindings/java: Make TursoDB and TursoDB factory thread-safe' from Mikaël Francoeur
...
This PR makes `TursoDB` and `TursoDBFactory` thread-safe. I also used
the opportunity to do some minor improvements.
Reviewed-by: Kim Seon Woo (@seonWKim)
Closes #2070
2025-07-20 09:48:53 +03:00
Diego Reis
68ad2cf37f
bind/java: Fix Linux x86 build release
2025-07-17 15:18:58 -03:00
Mikaël Francoeur
b18fd83e6f
call TursoDB::load from constructor
2025-07-17 10:20:21 -04:00
Mikaël Francoeur
8fe4f2163c
call TursoDB::open from constructor
2025-07-17 10:12:04 -04:00
Mikaël Francoeur
434d1c60be
only initialize DriverPropertyInfo once
2025-07-13 12:27:54 -04:00
Mikaël Francoeur
c92e9cf866
prevent double initialization in TursoDB
2025-07-13 11:47:38 -04:00
Mikaël Francoeur
e8228794c7
close statements in text and example
2025-07-13 11:47:38 -04:00
Mikaël Francoeur
d91266fdba
make TursoDBFactory thread-safe
2025-07-13 11:47:38 -04:00
Mikaël Francoeur
ed736df60c
add dotfiles
2025-07-13 11:43:26 -04:00