You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we only support @LastModifiedDate, and do not support @CreatedDate because it's difficult to know if the entity is being created when saving unless we do a second request to check if that ID already exists. We also cannot rely on the entity ID being NULL, because the users can set the ID for new entities as well.
The proposal is to support @CreatedDate based on the NULL ID, and clearly document that it will not work if you set the ID manually.
Migrated from: spring-attic/spring-cloud-gcp#1809
Currently we only support
@LastModifiedDate
, and do not support@CreatedDate
because it's difficult to know if the entity is being created when saving unless we do a second request to check if that ID already exists. We also cannot rely on the entity ID being NULL, because the users can set the ID for new entities as well.The proposal is to support
@CreatedDate
based on the NULL ID, and clearly document that it will not work if you set the ID manually.@Alos
The text was updated successfully, but these errors were encountered: