Skip to content
Permalink

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
Choose a base ref
...
head repository: jasync-sql/jasync-sql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 8 commits
  • 18 files changed
  • 5 contributors

Commits on Sep 4, 2023

  1. r2dbc: parse duration when string option

    Fix issue #412
    oshai committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    109fb79 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d899dd View commit details
    Browse the repository at this point in the history
  3. bump version to 2.2.5

    oshai committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    06bedd1 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. 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>
    kennethtiller and kenneth-tiller authored Nov 8, 2023
    Configuration menu
    Copy the full SHA
    83029e5 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2024

  1. Update README.md

    oshai authored Dec 24, 2024
    Configuration menu
    Copy the full SHA
    a92229e View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2025

  1. update spring version to 3

    GanziDaeyong authored and oshai committed Feb 9, 2025
    Configuration menu
    Copy the full SHA
    600b782 View commit details
    Browse the repository at this point in the history
  2. put password again, fix style in sql

    GanziDaeyong authored and oshai committed Feb 9, 2025
    Configuration menu
    Copy the full SHA
    d72b3b4 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2025

  1. 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.
    Sung-Heon authored May 27, 2025
    Configuration menu
    Copy the full SHA
    4fe7c77 View commit details
    Browse the repository at this point in the history
Loading