김선우
985c5139be
Let's not force users to use specific logging framework
2025-02-02 13:00:03 +09:00
김선우
9fd2c67b4d
Add tests for out of bound access to arrays
2025-01-29 12:04:07 +09:00
김선우
7fe5ba84c7
Fix test that uses wrong data types
2025-01-29 11:59:42 +09:00
김선우
3649e8f67c
Add test to verify behavior on null columns
2025-01-29 11:56:49 +09:00
김선우
041c8fbddc
Fix executeQuery to not run statement.execute()
2025-01-29 11:53:44 +09:00
김선우
2e62abe6df
Implement basic getXX methods for JDBC4ResultSet
2025-01-29 11:41:56 +09:00
Pekka Enberg
3baca19f75
Merge 'bindings/java: Implement close() for LimboStatement and LimboResultSet ' from Kim Seon Woo
...
## Purpose of this PR
- Implement `close()` method for `LimboStatement`(+`JDBC4Statement`) and
`LimboResultSet`(+ `JDBC4ResultSet`)
## Changes
- Add `consumeAll` method in `LimboResultSet`
- Implement `close()` methods
- Because `JDBC4Statement` has longer lifecycle in compared to
`LimboStatement`, we manage different `close` fields(`LimboStatement` is
created when first `execute` method is called on `JDBC4Statemenet`)
## Reference
- [Issue](https://github.com/tursodatabase/limbo/issues/615 )
Closes #799
2025-01-28 14:18:01 +02:00
김선우
b17511b559
Fix test to use lighter query
2025-01-28 09:25:57 +09:00
김선우
a82c459ed0
Implement close on LimboStatement and JDBC4Statement independently
2025-01-28 09:20:07 +09:00
김선우
c18418bed0
Nit
2025-01-27 20:35:11 +09:00
김선우
e48d7aa763
Add consumeAll method in LimboResultSet and let JDBC4Statement to use it
2025-01-27 20:31:37 +09:00
김선우
4dd2d1c64a
Implement close() on LimboStatement
2025-01-27 20:20:10 +09:00
김선우
6252947232
Fix the logic on determining whether connection is closed
2025-01-27 19:49:10 +09:00
김선우
1125e51a59
Add test for close()
2025-01-27 19:19:34 +09:00
김선우
2212cc2a09
Apply lints
2025-01-26 20:04:57 +09:00
김선우
82e9fe0219
Handle invalid step results
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
김선우
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
김선우
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
김선우
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
김선우
33effdbfd4
Implement JDBC4ResultSEt.java's next() method
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
김선우
39245f35cc
Add TODOs
2025-01-18 09:09:36 +09:00
김선우
a3a31e787c
Initial pass on step function
2025-01-18 09:09:36 +09:00
김선우
7028d963ba
Remove unused methods for now
2025-01-18 09:09:36 +09:00
김선우
9765eaba52
Implement prepare
2025-01-18 09:09:36 +09:00
김선우
3e2e998060
Rename fileName to filePath for clarity
2025-01-18 09:09:36 +09:00
김선우
7e78ec448b
Clean up error code related classes
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
김선우
d151824f66
Update JDBC4Statement to include resultSetType, resultSetConcurrency, resultSetHoldability
2025-01-15 09:46:42 +09:00
김선우
04cd655574
Change VALID_URL_PREFIX to use sqlite instead
2025-01-14 17:19:33 +09:00
김선우
59180599fd
Add java.sql.Driver to automatically detect JDBC
2025-01-10 20:41:49 +09:00
김선우
da787edd99
Implement JDBC so that DriverManager can detect limbo connection
2025-01-10 20:22:58 +09:00
김선우
e8e09cc745
Add JDBC.java
2025-01-10 20:03:32 +09:00
김선우
b796a972dc
Fix LimboDB.load to be static method
2025-01-10 19:50:50 +09:00
김선우
90258a44b4
Add throwJavaException
2025-01-10 17:47:27 +09:00
김선우
29e434754b
Enhance LimboDB.java open logic
2025-01-08 22:50:48 +09:00