-
-
Notifications
You must be signed in to change notification settings - Fork 138
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: jasync-sql/jasync-sql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.2.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: jasync-sql/jasync-sql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 18 files changed
- 5 contributors
Commits on Sep 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 109fb79 - Browse repository at this point
Copy the full SHA 109fb79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d899dd - Browse repository at this point
Copy the full SHA 3d899ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06bedd1 - Browse repository at this point
Copy the full SHA 06bedd1View commit details
Commits on Nov 8, 2023
-
Add query to InsufficientParametersException (#418)
* added query to InsufficientParametersException * added assertions for message to existing tests --------- Co-authored-by: kenneth-tiller <kenneth.tiller@finn.no>
Configuration menu - View commit details
-
Copy full SHA for 83029e5 - Browse repository at this point
Copy the full SHA 83029e5View commit details
Commits on Dec 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a92229e - Browse repository at this point
Copy the full SHA a92229eView commit details
Commits on Feb 9, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 600b782 - Browse repository at this point
Copy the full SHA 600b782View commit details -
Configuration menu - View commit details
-
Copy full SHA for d72b3b4 - Browse repository at this point
Copy the full SHA d72b3b4View commit details
Commits on May 27, 2025
-
Add Boolean Conversion Support to JasyncRow (#431)
Description This PR adds support for boolean type conversion in the JasyncRow class. Previously, the class supported conversions for various data types but did not explicitly handle boolean values. With these changes, the class can now properly convert various input data types (Numbers, Strings, Booleans) to Boolean values. This enhancement is particularly important for MySQL databases, which represent boolean values as TINYINT(1) where 0 means false and any non-zero value (typically 1) means true. Our implementation correctly handles this MySQL-specific behavior by treating any non-zero numeric value as true. Changes Made Extended the get method in JasyncRow to handle boolean conversions with the following mapping: Numbers: 0 → false, non-zero → true (aligned with MySQL's TINYINT(1) representation of booleans) Strings: Using Kotlin's built-in Boolean parsing Boolean values: Preserved as-is Added proper handling for primitive boolean type Added comprehensive test cases in JasyncRowTest to validate all conversion scenarios Testing Created a dedicated test class JasyncRowTest with a test method testBooleanConversion that verifies: Boolean to Boolean conversion Number to Boolean conversion (0 → false, non-zero → true) String to Boolean conversion ("true" → true, "false" → false) Accessing Boolean values by index Tests pass successfully, confirming the implementation works as expected Related Issue #430 Additional Notes This change enables more flexible type handling in the database access layer, making it easier to work with boolean values returned from MySQL queries. Since MySQL stores boolean values as TINYINT(1), this implementation ensures a seamless conversion between the database representation and the application-level Boolean type, improving type safety and code readability.
Configuration menu - View commit details
-
Copy full SHA for 4fe7c77 - Browse repository at this point
Copy the full SHA 4fe7c77View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.2.3...master