Skip to content

TOMEE-4594 - Jakarta Data 1.0#2550

Open
rzo1 wants to merge 5 commits intoapache:mainfrom
rzo1:jakarta-data
Open

TOMEE-4594 - Jakarta Data 1.0#2550
rzo1 wants to merge 5 commits intoapache:mainfrom
rzo1:jakarta-data

Conversation

@rzo1
Copy link
Contributor

@rzo1 rzo1 commented Mar 15, 2026

(build with support of Claude)

@rzo1 rzo1 requested a review from jungm March 15, 2026 20:37
Daniel-Dos

This comment was marked as duplicate.

… comments

  - Add tomee-hibernate container in arquillian.xml that swaps OpenJPA for
    Hibernate via additionalLibs (remove:openjpa + mvn: Hibernate deps)
  - Add third Surefire execution (tomee-hibernate) with jpa.provider=hibernate
  - DataTCKArchiveProcessor selects provider based on jpa.provider system property
  - Enable resource filtering for arquillian.xml to resolve version properties
  - Skip OpenJPA mergeWithVersionCheck workaround for Hibernate/EclipseLink:
    detect OpenJPA at runtime via isOpenJpa(), use standard em.merge() otherwise
  - All three providers pass 98/98 TCK tests
@rzo1 rzo1 requested a review from jungm March 16, 2026 12:50
 - jpqlCache (ConcurrentHashMap<Method, String>) stores JPQL strings with named parameter placeholders (:p0,
  :p1, etc.) — no bound values
  - Pre-computed at constructor time: findAllJpql, deleteAllJpql, countAllJpql — static per repository
  - Cached on first invocation: @query JDQL→JPQL expansion, @find+@by JPQL, @delete+@by JPQL, method-name
  find/count/delete/exists JPQL
  - Per-call: em.createQuery(cachedJpql) → bind parameters → execute
  - Dynamic Sort/Order params appended to the cached JPQL at execution time via appendDynamicSort
@rzo1 rzo1 requested a review from jungm March 16, 2026 15:38
@rzo1 rzo1 changed the title Jakarta Data 1.0 TOMEE-4594 - Jakarta Data 1.0 Mar 17, 2026
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.

3 participants