mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-24 19:44:21 +01:00
## Purpose of this PR Associate jdbc's `ResultSet` with the returned values from limbo's step function. ## Changes ### Rust - `Java_org_github_tursodatabase_core_LimboStatement_step` now returns an object of java's `LimboStepResult.java` ### Java - Added `LimboStepResult.java` in order to distinguish the type of `StepResult`(which limbo returns) and to encapsulate the interpretation of limbo's `StepResult` - Change `JDBC4ResultSet` inheriting `LimboResultSet` to composition. IMO when using inheritance, it's too burdensome to fit unmatching parts together. - Enhance `JDBC4Statement.java`'s `execute` method - By looking at the `ResultSet` created after executing the qury, it's now able to determine the (boolean) result. ## Reference - https://github.com/tursodatabase/limbo/issues/615 Closes #743