Allow to use Kotlin value classes directly as JpaRepository Id type #2840
Labels
for: team-attention
An issue we need to discuss as a team to make progress
in: kotlin
Kotlin support
type: enhancement
A general enhancement
Consider this entity
The
id
is defined as Kotlin value class that is just a wrapper for theUUID
:Define repo with
ProjectId
as idWith the above code project can be saved to database:
Problem
Retrieving project using
findById
...... results in 'org.springframework.dao.InvalidDataAccessApiUsageException' exception.:
The text was updated successfully, but these errors were encountered: