YOJ 2.0.0 (DbType API Change)
BREAKING CHANGE: DbType
DbTypeis now an enum, not an interface withStringconstants for YDB column data types.
It is also in a different package and a different module than before:tech.ydb.yoj.repository.ydb→tech.ydb.yoj.databind,yoj-repository-ydb-common→yoj-databind.@Columnannotation uses the updatedDbTypefor itsdbTypeparameter, not aStringvalue.- This is a semi-source-compatible change: constant names have not been changed, so you adjusting your dependencies and change the package in your
imports is probably enough.
If you usedDbTypeconstants' string values outside of the@Column(dbType=...)annotation, you will now need to explicitly callDbType.typeString()to get enum constant as aString.