I realize custom repository and try because we use Spring Data Jdbc 2.7 which is not supporting InsertOnlyProperty
and in SQL generation I try to get class of sub aggregation for using in context.getRequiredPersistentEntity
. How can I get it from RelationalPersistentProperty
?
Asked
Active
Viewed 31 times
0

Jens Schauder
- 77,657
- 34
- 181
- 348

Khusayn
- 37
- 6
1 Answers
1
How can i get it from
RelationalPersistentProperty
?
As the documentation says:
Returns the component type of the type if it is a Collection. Will return the type of the key if the property is a Map.

Jens Schauder
- 77,657
- 34
- 181
- 348