[DATAJPA-1324] delete method CrudRepository when @Version column is null insert new data Created: 13/Apr/18 Updated: 22/May/19 Resolved: 12/Dec/18
|Project:||Spring Data JPA|
|Affects Version/s:||1.11.11 (Ingalls SR11)|
|Reporter:||soner sivri||Assignee:||Jens Schauder|
|Resolution:||Works as Designed||Votes:||0|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
The em.merge causes an insert.
|Comment by Jens Schauder [ 23/May/18 ]|
If I understand you correctly, you try to delete an entity that isn't saved yet and you end up with an insert due to the merge in the SimpleJpaRepository. Is that correct?
Assuming this is correct: Why would you do that?
|Comment by Jens Schauder [ 22/May/19 ]|
Batch closing resolved issue without a fix version and a resolution indicating that there is nothing to release (Won't fix, Invalid ...)