Open
Description
To cover the following (and all similar) case:
interface MyRepository extends ListCrudRepository<MyEntity, String> {
@Query(
"""
SELECT <....>
<....>
LIMIT :limit
"""
)
List<MyEntity> findWithLimit(@Param("limit") long limit);
}
The inferred limit
parameter type here is Int64, while YDB requires it to be exaclty UInt64.
There are other cases where implicit type conversion fails. So a way to control this behavior would be great. An existing @YdbType annotation seems like a good solution.