Johan Blomgren

Results 10 comments of Johan Blomgren

> It looks like Spring Data JDBC isn't able to obtain the parameter name for the constructor parameter from the byte code. For Java there is a compiler flag to...

Do I understand this correctly, it will probably not be updated before spring has updated it to 1.26.1?

@mp911de Im not sure i did understand. How is it supposed to work? The example in the issue does not work https://github.com/blommish/spring-data-error-3.2.0/blob/value-class/src/main/kotlin/no/blommish/BarRepository.kt#L24

Having different names of the id-columns works, but the same does not (such as the reported issue) https://github.com/blommish/spring-data-error-3.2.0/pull/2

Using normal spring-data-jdbc (without using default UUID and InsertUpdateRepository) generates the same error. ```kotlin @Repository interface FooRepository : CrudRepository data class Foo( @Id val id: UUID? = null, @MappedCollection(idColumn =...

Simplified test case added, in a fork of spring-data-relational: https://github.com/spring-projects/spring-data-relational/commit/56c4f623a204221a1f27d796a6579d3484f9d413

> Preliminary analysis: For some reason we access the value for `Foo.id` in order to fill `ExternalFooId.id`. And this happens only when the latter is annotated with `@Id`. So a...

@schauder https://github.com/blommish/spring-data-jdbc-test/blob/main/src/test/kotlin/no/blommish/BarRepositoryTest.kt#L42 > 2024-04-25T11:45:23.335+02:00 WARN 71844 --- [ Test worker] o.s.data.convert.CustomConversions : Registering converter from class org.postgresql.util.PGobject to class no.blommish.MyJson as reading converter although it doesn't convert from a store-supported...