Alexandr Gorshenin

Results 16 comments of Alexandr Gorshenin

JDBC Driver is available here https://github.com/ydb-platform/ydb-jdbc-driver

> I have planned the implementation of this task as a student paper and expect to complete it in the next couple of months You can get [jooq-support-module](https://github.com/ydb-platform/ydb-java-dialects/tree/main/jooq-support-module) as the...

You are welcome!) For beginning, you can took at repository [java-genproto](https://github.com/ydb-platform/ydb-java-genproto), it contains java classes generated from proto specs. You can just update usage of TtlSettings in classes CreateTableSettings, AlterTableSettings...

Classes CreateTableSettings and AlterTableSettings are helpers for proto classes in YdbTable. Because direct usage of YdbTable is very unusual we made helpers for every proto message. Current implementation of TtlSettings...

Implemented here https://github.com/ydb-platform/ydb-java-sdk/pull/530/

Why? Dialect must not depend on JDBC driver, it is mistake. After removing this dependency its code will break. If you want to use enum instead of string literal -...

Current implementation is not correct, it must not use any classes from driver implementation or SDK. For example, Spring has many dialects for various databases like [Postgres](https://github.com/spring-projects/spring-data-relational/blob/main/spring-data-relational/src/main/java/org/springframework/data/relational/core/dialect/PostgresDialect.java) or Oracle, but...

> My point is that the current implementation is fine, since `Dialect` in spring-data-**jdbc** is supposed to be dependent on JDBC. Of course the dialect is supposed to be dependent...

> Even if the order of constants would change, that would not break the code, actually 😄. We're referencing to enum-class instances via their name, no by their ordinal. But...

Let me a little time, I think today or tomorrow I will make another variant of the solution. I want to save backward compatibility and remove unnecessary dependency