-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ebean): refactor, fix & optimize #12613
fix(ebean): refactor, fix & optimize #12613
Conversation
28e4fec
to
cdc1275
Compare
cdc1275
to
4fa0735
Compare
4fa0735
to
952131d
Compare
952131d
to
026fc03
Compare
026fc03
to
3c00efc
Compare
3c00efc
to
01263a9
Compare
01263a9
to
9c9aed4
Compare
9c9aed4
to
5016906
Compare
5016906
to
925ec8f
Compare
* add test coverage for sql * ensure optimized sql statements * refactor for easier testing * update version correction handling
925ec8f
to
6f60e0c
Compare
@Setter @Nullable private RecordTemplate recordTemplate; | ||
|
||
@Setter @Nullable private SystemMetadata systemMetadata; | ||
@Setter @Nullable private AuditStamp auditStamp; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Might be useful to specify in the naming that this is the createdAuditstamp
public EntityAspect.EntitySystemAspect forUpdate( | ||
@Nonnull EntityAspect entityAspect, @Nonnull EntityRegistry entityRegistry) { | ||
|
||
this.entityAspect = entityAspect; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it will make sense once I see how this is used, but it's confusing at this point why we only set the EntitySystemAspect.entityAspect in update scenarios when we have a non-null one in both.
private final Map<String, String> headers; | ||
|
||
@Override |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, okay was wondering why the + 1 was needed now where the setter was previously getting called.
d180544
into
datahub-project:master
Checklist