김선우
7d81c32261
Add spotless support for bindings/java formatting
2025-01-25 15:25:13 +09:00
김선우
f10b41c5b5
Pass io to statement from db
2025-01-24 15:43:44 +09:00
김선우
53586b9d00
Break the loop when step() returns Err
2025-01-24 15:06:10 +09:00
김선우
0481e69217
Handle Err case from connection.io
2025-01-24 14:07:52 +09:00
김선우
36dff168b3
Execute io.run_once when receiving StepResult::IO
2025-01-24 13:52:54 +09:00
김선우
d05ffce613
Apply fmt
2025-01-24 13:52:54 +09:00
김선우
82e9fe0219
Handle invalid step results
2025-01-24 13:52:54 +09:00
김선우
f7a8d1b428
Change Java_org_github_tursodatabase_core_LimboStatement_step to run in loop to handle StepResult::IO
2025-01-24 13:52:54 +09:00
김선우
ddfbf11659
Fix test
2025-01-19 22:14:17 +09:00
김선우
e8a62b67d2
Disable failing test
2025-01-19 21:56:50 +09:00
김선우
8f9e70417d
Implement executeQuery and executeUpdate
2025-01-19 21:56:50 +09:00
김선우
fb2b5eb11f
Add debugging logs
2025-01-19 21:56:50 +09:00
김선우
f8cc08e5ad
Remove unused method
2025-01-19 21:56:50 +09:00
김선우
24ead40f88
Change LimboStatement.java to throw exception when the result is null which is the error case
2025-01-19 21:56:50 +09:00
김선우
9c3c6271a3
Remove System.out.println
2025-01-19 21:56:50 +09:00
김선우
10a7b1b035
Disable for now
2025-01-19 21:56:50 +09:00
김선우
5fbce67774
Temporarily remove restrictions of running test for 1 second
2025-01-19 21:56:50 +09:00
김선우
f80823a297
Add LimboStepResult.java constructor
2025-01-19 21:56:50 +09:00
김선우
b80438226b
Commit for testing
2025-01-19 21:56:49 +09:00
김선우
9de80e19aa
Fix limbo_statement.rs to handle other StepResults
2025-01-19 21:56:49 +09:00
김선우
647f7124bf
Update test code's while loop to run for max 1 second
2025-01-19 21:56:49 +09:00
김선우
0f46aaa0ec
Update JDBC4Statement.java execute method to return result correctly
2025-01-19 21:56:40 +09:00
김선우
afbf041e2f
Enhance docs
2025-01-19 21:56:40 +09:00
김선우
6967b62bc0
Add invokeFrom field to NativeInvocation.java
2025-01-19 21:56:40 +09:00
김선우
33effdbfd4
Implement JDBC4ResultSEt.java's next() method
2025-01-19 21:56:40 +09:00
김선우
73f8eab651
Remove the tight coupling(using inheritance) between LimboXXX and JDBCXXX and favor composition instead
2025-01-19 21:56:40 +09:00
김선우
ab23e20732
Revert java image. Disable some failing test for now.
2025-01-18 09:52:42 +09:00
김선우
aa88dd5d1a
Print out yest results while build
2025-01-18 09:42:48 +09:00
김선우
eaa8743c36
Nit
2025-01-18 09:16:09 +09:00
김선우
39245f35cc
Add TODOs
2025-01-18 09:09:36 +09:00
김선우
5b9a158db1
Remove unused methods
2025-01-18 09:09:36 +09:00
김선우
a3a31e787c
Initial pass on step function
2025-01-18 09:09:36 +09:00
김선우
5fc5f650cd
Extract set_err_msg_and_throw_exception to utils.rs
2025-01-18 09:09:36 +09:00
김선우
7028d963ba
Remove unused methods for now
2025-01-18 09:09:36 +09:00
김선우
f6ec2252cf
Group "pointer to struct" and "struct to pointer" functions
2025-01-18 09:09:36 +09:00
김선우
9765eaba52
Implement prepare
2025-01-18 09:09:36 +09:00
김선우
b77bf879f7
Implement prepare on java side
2025-01-18 09:09:36 +09:00
김선우
3e2e998060
Rename fileName to filePath for clarity
2025-01-18 09:09:36 +09:00
김선우
0819963b2f
Implement rust side connect and prepare function
2025-01-18 09:09:36 +09:00
김선우
7e78ec448b
Clean up error code related classes
2025-01-18 09:09:36 +09:00
김선우
fcadc2f825
Add connect function for creating connections from limbo db
2025-01-18 09:09:36 +09:00
김선우
3409a82513
Add LimboDBFactory to support multiple LimboDB in single process
2025-01-18 09:09:36 +09:00
김선우
0a071d26f7
Add logback dependency for logging
2025-01-18 09:09:36 +09:00
김선우
a6f389125c
Implement minimal JDBC4Statement#exec(String sql)
2025-01-18 09:09:36 +09:00
김선우
8a1ffbbb65
Add JDBC4ResultSet
2025-01-18 09:09:36 +09:00
김선우
d151824f66
Update JDBC4Statement to include resultSetType, resultSetConcurrency, resultSetHoldability
2025-01-15 09:46:42 +09:00
김선우
7104a290e4
Basic support for close method
2025-01-15 09:20:44 +09:00
김선우
e5bf3c2644
Add Codes.java
2025-01-15 09:11:51 +09:00
김선우
eed610d457
Add JDBC4Statement.java
2025-01-15 09:08:45 +09:00
Pekka Enberg
bfbaa80bdc
Merge 'Change bindings/java to support java 8' from Kim Seon Woo
...
## Purpose of this PR
Change java bindings support from jdk version 17 to 8.
## Changes
- Mostly related to dependency version updates
- Replace java 8 non supported methods
## Reference
https://github.com/tursodatabase/limbo/issues/615
Closes #678
2025-01-14 14:17:39 +02:00