name: jpa-next-hibernate8 # Hibernate ORM 8 compatibility lane (experimental plan Task 8). # # Re-runs the contracts most likely to move between provider majors: collection fetch pagination, # StatementInspector, Statistics, JSONB, batch, and StatelessSession. Differences are recorded, not # accommodated — weakening the 7.x gate to make this lane green would delete the evidence that 7.x # behaves as documented. on: workflow_dispatch: schedule: - cron: '0 5 * * 1' permissions: contents: read jobs: hibernate8-compatibility: runs-on: ubuntu-latest timeout-minutes: 45 continue-on-error: true steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2 - name: Validate Gradle wrapper id: gradle-wrapper-validation uses: gradle/actions/wrapper-validation@3f131e8634966bd73d06cc69884922b02e6faf92 # gradle/actions@v6 - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # actions/setup-java@v4.7.1 with: distribution: temurin java-version: "21.0.11+10" cache: gradle cache-dependency-path: | src/**/*.gradle src/**/gradle-wrapper.properties src/**/gradle.lockfile - name: Report Hibernate ORM 8 compatibility working-directory: src run: >- ./gradlew :adapter:outbound:persistence-jpa:test --tests '*HibernateCompatibilityPolicyTest' --no-daemon --stacktrace