Skip to content

Feature/storm 55#56

Merged
zantvoort merged 7 commits intomainfrom
feature/STORM-55
Jan 29, 2026
Merged

Feature/storm 55#56
zantvoort merged 7 commits intomainfrom
feature/STORM-55

Conversation

@zantvoort
Copy link
Copy Markdown
Collaborator

Entity Cache

  • Enabled in read-only transactions.
  • Disabled for READ_UNCOMMITTED to respect isolation semantics.
  • Caching provides optimization without affecting correctness; versioning remains advised for concurrent updates.

Performance

  • Cache / interner lookup extracts primary key before construction, avoiding full entity equality checks.
  • Interner uses primary key based lookups instead of equality checks for entities.
  • Interner is used when entity cache is not applicable and is scoped to the result set to prevent duplicate objects.
  • Queries returning the same entity within a result set or transaction benefit from caching / interning.

Relates to #55

…riting cached processors. Close PreparedStatement and release connection on failure in DataSource-based template processor Close PreparedStatement on failure in Connection-based template processor.

Relates to #55
…okup optimization for top-level entities.

Relates to #55
Relates to #55
@zantvoort zantvoort merged commit efade5e into main Jan 29, 2026
@zantvoort zantvoort deleted the feature/STORM-55 branch January 29, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant