-
Notifications
You must be signed in to change notification settings - Fork 332
Added typeCode to BasePersistence.lookupEntity #1112
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -285,7 +285,11 @@ DropEntityResult dropEntityIfExists( | |
| * @param entityId the id of the entity to load | ||
| */ | ||
| @Nonnull | ||
| EntityResult loadEntity(@Nonnull PolarisCallContext callCtx, long entityCatalogId, long entityId); | ||
| EntityResult loadEntity( | ||
| @Nonnull PolarisCallContext callCtx, | ||
| long entityCatalogId, | ||
| long entityId, | ||
| @Nonnull PolarisEntityType entityType); | ||
|
||
|
|
||
| /** | ||
| * Fetch a list of tasks to be completed. Tasks | ||
|
|
@@ -327,7 +331,10 @@ ChangeTrackingResult loadEntitiesChangeTracking( | |
| */ | ||
| @Nonnull | ||
| ResolvedEntityResult loadResolvedEntityById( | ||
| @Nonnull PolarisCallContext callCtx, long entityCatalogId, long entityId); | ||
| @Nonnull PolarisCallContext callCtx, | ||
| long entityCatalogId, | ||
| long entityId, | ||
| PolarisEntityType entityType); | ||
|
||
|
|
||
| /** | ||
| * Load a resolved entity, i.e. an entity definition and associated grant records, from the | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
can you please elaborate on how are you planning to use this in your NoSQL solution.
is your NoSQL solution still a single entity table ?
or are you using this to hint NoSQL on which index to use ?
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.
the latter
Uh oh!
There was an error while loading. Please reload this page.
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.
this is not a hint though, it is a required input for finding right index for lookup (current POC, which is not published yet)
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.
I see, looking forward to your datamodel.