diff --git a/spring-data-jdbc-ydb/CHANGELOG.md b/spring-data-jdbc-ydb/CHANGELOG.md index 12eec870..7075b217 100644 --- a/spring-data-jdbc-ydb/CHANGELOG.md +++ b/spring-data-jdbc-ydb/CHANGELOG.md @@ -1,3 +1,11 @@ +## 1.2.2 ## + +- Fixed YDB Decimal + +## 1.2.1 ## + +- Reverted public visible for YdbSqlType + ## 1.2.0 ## - Support for `Date32`, `Datetime64`, and `Timestamp64` YDB types. @@ -17,6 +25,6 @@ ## 0.9.1 ## -- Supported VIEW statement from @ViewIndex -- YdbDialect fully supports YQL +- Supported VIEW statement from @ViewIndex +- YdbDialect fully supports YQL - Supported specific @YdbType \ No newline at end of file diff --git a/spring-data-jdbc-ydb/pom.xml b/spring-data-jdbc-ydb/pom.xml index a1c2d772..7cc405ad 100644 --- a/spring-data-jdbc-ydb/pom.xml +++ b/spring-data-jdbc-ydb/pom.xml @@ -6,7 +6,7 @@ tech.ydb.dialects spring-data-jdbc-ydb - 1.2.2-SNAPSHOT + 1.2.3-SNAPSHOT Spring Data JDBC YDB Dialect Support Spring Data JDBC YDB (YQL) Dialect @@ -46,8 +46,6 @@ UTF-8 17 - 17 - 17 5.10.2 4.24.0 @@ -126,7 +124,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.5.0 + 3.12.0 17 @@ -142,7 +140,7 @@ org.apache.maven.plugins maven-source-plugin - 3.2.1 + 3.4.0 attach-sources @@ -155,7 +153,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.1.0 + 3.5.5 true @@ -177,13 +175,13 @@ spring-boot3 - 3.5.7 + 3.5.11 spring-boot4 - 4.0.0 + 4.0.3 @@ -204,7 +202,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.2.7 + 3.2.8 sign-artifacts @@ -224,7 +222,7 @@ org.sonatype.central central-publishing-maven-plugin - 0.7.0 + 0.10.0 true ossrh-s01 diff --git a/spring-data-jdbc-ydb/src/main/java/tech/ydb/data/core/convert/YdbConst.java b/spring-data-jdbc-ydb/src/main/java/tech/ydb/data/core/convert/YdbConst.java index e7633ad1..8d1dfcc2 100644 --- a/spring-data-jdbc-ydb/src/main/java/tech/ydb/data/core/convert/YdbConst.java +++ b/spring-data-jdbc-ydb/src/main/java/tech/ydb/data/core/convert/YdbConst.java @@ -14,7 +14,7 @@ final class YdbConst { private static final int SQL_KIND_DECIMAL = 1 << 14; // 16384 public static int ydbDecimal(int precision, int scale) { - return SQL_KIND_DECIMAL + (precision << 6) + (scale & 0x111111); + return SQL_KIND_DECIMAL + (precision << 6) + (scale & 0b111111); } private YdbConst() { };