김선우
4e067b2997
Throw exceptions on unsupported methods
2025-02-09 17:24:52 +09:00
김선우
1f3ddaeec6
Implement prepareStatement
2025-02-09 17:24:35 +09:00
김선우
79e2fba424
Implement minor methods/features in JDBC4Connection.java
2025-02-09 17:17:47 +09:00
Pekka Enberg
e406a030e6
Merge 'Rework io_uring feature' from Jorge López Tello
...
This makes io_uring the default in CLI, but makes it non-default in
core. Before, if one built CLI without io_uring, core still built with
it as it was a default feature. To accommodate for the change, all
bindings have been updated to select the feature, except for WASM which
has a separate fs implementation.
This also adds some #[cfg] and #[allow] to silence unused-* warnings,
which I discovered when testing with different features disabled.
Closes #942
2025-02-09 08:46:29 +02:00
김선우
8ec7b0b2be
Add TODO in getTables
2025-02-09 14:10:55 +09:00
김선우
91e5ed8bb9
Implement driver name and version related methods
2025-02-09 13:54:34 +09:00
김선우
6011526755
Simply copy function logic from sqlite-jdbc
2025-02-09 11:45:34 +09:00
김선우
ea02664f68
Implement getURL() for JDBC4DatabaseMetaData
2025-02-09 10:49:06 +09:00
김선우
f6bd58e7a4
Add JDBC4DatabaseMetaData
2025-02-09 10:45:31 +09:00
김선우
3920539c7e
Merge branch 'main' into java-bindings-statement-refactor
2025-02-09 10:26:29 +09:00
Jorge López
be5ea350bb
bindings: select io_uring feature from limbo_core explicitly as it will be made non-default
2025-02-09 01:10:35 +01:00
Gustavo Sverzut Barbieri
cd2d817c10
github.com/penberg/limbo was moved to github.com/tursodatabase/limbo
...
Adjust all the references since they were broken
2025-02-08 10:21:49 -03:00
PThorpe92
75898027a0
Remove unnecessary reference counting from completion io callbacks
2025-02-08 08:20:19 -05:00
Pekka Enberg
9657920dd7
Merge 'Add java section in README.md' from Kim Seon Woo
...
Added a section for java in README.md
Closes #923
2025-02-08 09:15:04 +02:00
김선우
cc72439032
Add java section in README.md
2025-02-08 12:09:17 +09:00
Kim Seon Woo
9f7d23df6e
Remove @Disabled from working test
2025-02-07 20:41:49 +09:00
김선우
7409779be7
Refactor to use composition instead of inheritance
...
- Update JDBC4Connection to implement Connection directly
- JDBC4Connection holds LimboConnection as a member field
2025-02-07 19:49:16 +09:00
Pekka Enberg
400dd6dd42
Merge 'bindings/java: Implement custom logger ' from Kim Seon Woo
...
## Purpose of the PR
- As bindings/java is just a library, we shouldn't have to add specific
library dependency(such as slf4j) to itself
- In order to load bindings/java to 3rd party software(such as
Datagrip), we shouldn't provide a library with slf4j included
## Changes
- Remove slf4j, logback dependency and files
- Add custom logger implementation
## ETC
We can now connect to Datagrip(but there are some errors though)

## Reference
[Issue](https://github.com/tursodatabase/limbo/issues/615 )
Closes #915
2025-02-07 12:37:56 +02:00
김선우
cd8f580f54
Nit
2025-02-07 13:50:00 +09:00
김선우
edc964a2cb
Implement logger
2025-02-07 13:49:07 +09:00
김선우
f88daf2803
Fix lint
2025-02-07 12:44:24 +09:00
김선우
eeb457f7a1
Implement basic functionality of JDBC4PreparedStatement
2025-02-07 12:33:13 +09:00
김선우
f5c4f4e8a1
Implement JDBC4Connection#prepareStatement
2025-02-07 11:42:36 +09:00
김선우
cc09cb7d51
Add bindInt
2025-02-07 11:35:54 +09:00
김선우
21d6f33c6b
Implement bindXXX functions on rust and java side
2025-02-07 11:25:23 +09:00
김선우
d574e2c277
Add comments on errors.rs
2025-02-07 11:24:43 +09:00
김선우
88c2a15b6f
Add requireNotNull method in CommonUtils
2025-02-07 09:51:37 +09:00
김선우
f6919f028e
Add columnNames to LimboResultSet
2025-02-07 09:25:22 +09:00
김선우
55eb55a634
Rename package to tursodatabase
2025-02-06 20:54:13 +09:00
Pekka Enberg
c210821100
core: Move result row to ProgramState
...
Move result row to `ProgramState` to mimic what SQLite does where `Vdbe`
struct has a `pResultRow` member. This makes it easier to deal with result
lifetime, but more importantly, eventually lazily parse values at the edges of
the API.
2025-02-06 11:52:26 +02:00
Jussi Saurio
795576b2ec
dont eagerly allocate result column name strings
2025-02-05 17:53:23 +02:00
Pekka Enberg
7573fc62e6
core: Unify Row and Record structs
...
They're exactly the same thing.
2025-02-05 09:04:52 +02:00
Pekka Enberg
73a345aa4d
Limbo 0.0.14
2025-02-04 15:13:18 +02:00
Levy A.
9df0b01689
refactor: lower ownership requirement
2025-02-03 16:52:42 -03:00
Pekka Enberg
482dd78f27
Merge 'bindings/go: Add error propagation from core' from Preston Thorpe
...
This PR adds error propagation from limbo, allowing the correct error
messages to be displayed, and adds a couple tests 👍
Closes #855
2025-02-03 09:23:34 +02:00
Pekka Enberg
fc5f2c7897
Merge 'bindings/java: Change logger dependency ' from Kim Seon Woo
...
# The purpose of this PR
- Current implementation forces users to use logback as their logging
framework
# Changes
- Only add abstraction layer for loggin(which is slf4j in this case)
- In tests, use logback to log out messages(this doesn't affect the
users)
# References
https://github.com/tursodatabase/limbo/issues/615
Closes #863
2025-02-03 09:21:26 +02:00
PThorpe92
1493d499e5
bindings/go: Add error propagation from bindings lib
2025-02-02 07:40:28 -05:00
김선우
997f12426f
Add example project
2025-02-02 20:10:29 +09:00
김선우
5343f0a813
Update README.md on how to use limbo jdbc
2025-02-02 17:02:38 +09:00
김선우
985c5139be
Let's not force users to use specific logging framework
2025-02-02 13:00:03 +09:00
김선우
5d5261637b
Fix debugger to print out INFO messages by default
2025-02-02 12:54:06 +09:00
김선우
3332381f6a
Remove unused
2025-02-02 12:38:55 +09:00
김선우
80adeb520a
Update LimboDB.java to load libraries from /lib
2025-02-02 12:35:34 +09:00
김선우
6168ad2f6e
Add maven-publish plugins to publish jar using gradle
2025-02-02 12:24:28 +09:00
김선우
94dff512c9
Add makefile commands to build for mac and windows
2025-02-02 12:24:04 +09:00
PThorpe92
7ee52fca4d
bindings/go: update readme with example, change module name
2025-01-31 19:22:21 -05:00
PThorpe92
8d93130809
bindings/go: enable multiple connections, register all symbols at library load
2025-01-31 13:28:05 -05:00
PThorpe92
950f29daab
bindings/go: Adjust tests for multiple concurrent connections
2025-01-31 13:28:05 -05:00
PThorpe92
d03ed353dc
Free memory of strings + blobs created on the Rust side
2025-01-29 12:03:52 -05:00
PThorpe92
d9966d2dc8
Support blob types in query arguments for Go bindings
2025-01-29 12:03:47 -05:00