Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-server
Merge requests
!105
Release 0.11.0
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Release 0.11.0
release-0.11.0
into
main
Overview
0
Commits
29
Pipelines
1
Changes
1
Merged
Henrik tom Wörden
requested to merge
release-0.11.0
into
main
1 year ago
Overview
0
Commits
29
Pipelines
1
Changes
1
0
0
Merge request reports
Viewing commit
86144a95
Prev
Next
Show latest version
1 file
+
5
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
86144a95
WIP: String IDs
· 86144a95
Timm Fitschen
authored
1 year ago
src/main/java/org/caosdb/server/entity/EntityIdRegistry.java
+
5
−
1
View file @ 86144a95
Edit in single-file editor
Open in Web IDE
Show full file
@@ -34,7 +34,11 @@ public class EntityIdRegistry {
private
void
initCurrentMaxId
()
{
this
.
currentMaxId
=
transaction
.
execute
(
new
RetrieveCurrentMaxId
(),
transaction
.
getAccess
()).
getCurrentMaxId
();
Math
.
max
(
101
,
transaction
.
execute
(
new
RetrieveCurrentMaxId
(),
transaction
.
getAccess
())
.
getCurrentMaxId
());
}
public
Integer
generate
()
{
Loading