Closed zhoachenIt closed 11 months ago
Can you please try with latest version of infobip-spring-data-querydsl?
Can you please try with latest version of infobip-spring-data-querydsl?
Do I have to upgrade springboot3 if using the latest version?
Yes, since 8.0.0 SB3 is mandatory.
Yes, since 8.0.0 SB3 is mandatory.
But our project will be very troublesome to upgrade, so the problems before springboot3.0 will not be maintained?
It will be until End of Support for SB2 in November - https://spring.io/projects/spring-boot#support. I'll take a detailed look into the issue when I get some time.
Can you try putting @PersistenceCreator
on second constructor that has sysDeptDTO
property?
Can you try putting
@PersistenceCreator
on second constructor that hassysDeptDTO
property?
Thanks, we tried @PersistenceCreator and still have the same issues
Can you share sql used to create the tables for those entities?
I assume from the code that SysUserDTO is Embeddable. https://github.com/spring-projects/spring-data-r2dbc/issues/288 Spring Data R2DBC doesn't support embeddable yet.
If this is not an embeddable case feel free to reopen the issue.
r2dbc can't map nested class data when doing associative queries, but it can in jpa mode. Here's my code
pojo
repository
service
controller
Request response result, sysDeptDTO is null
I wrote the same code using jpa mode, but sysDeptDTO successfully assigns the value