Should a global configuration supported? #419
Closed
babyfish-ct
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
是否可以这样
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now, if entity of either side of
@JoinTable
supports logical deletion, the@JoinTable
itself must also support logical deletion by specifying@JoinTable.logicalDeletedFilter
.If you don't want specify
logicalDeletedFilter
,deletedWhenEndpointIsLogicalDeleted
which means rows of middle table will be physically deleted when either side if logically deleted must be specified, otherwise, exception will be raised.This solution will let user know what he is doing. However, this solution will affect existing applications, Maybe add a global configuration which can automatically enable
deletedWhenEndpointIsLogicalDeleted
for all join tables should be added.Let user know what he is doing is important, make there is no affects for existing applications is also important. Which is more important?
Beta Was this translation helpful? Give feedback.
All reactions