Add jakarta-data module: Jakarta Data repositories on Hibernate 7.4 / 8.0 CR2 vs Spring Data JPA 4.2

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b4XrpfdpsacrvqnrBM
This commit is contained in:
Claude
2026-11-26 20:54:35 +05:30
parent 4f7ebd5cb0
commit 54c6d606ff
59 changed files with 2073 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/env bash
# Prints, from Maven Central's maven-metadata.xml, the newest versions of every artifact this module depends on, so the
# GA / pre-release status quoted in the article can be re-checked. Needs curl. Retries because Maven Central rate-limits.
set -uo pipefail
fetch() {
local xml
for i in 1 2 3 4 5 6; do
xml=$(curl -sf "https://repo1.maven.org/maven2/$1/maven-metadata.xml") && { echo "$xml"; return 0; }
sleep 8
done
return 1
}
show() {
local xml
xml=$(fetch "$1") || { echo "$1: could not fetch"; return 0; }
echo "$1"
echo "$xml" | grep -oE '<version>[^<]+' | sed 's/<version>//' | tail -4 | sed 's/^/ /'
echo " lastUpdated $(echo "$xml" | grep -oE '<lastUpdated>[0-9]+' | sed 's/<lastUpdated>//')"
}
show org/hibernate/orm/hibernate-core
show org/hibernate/orm/hibernate-processor
show jakarta/data/jakarta.data-api
show jakarta/persistence/jakarta.persistence-api
show org/springframework/data/spring-data-jpa
show org/springframework/boot/spring-boot-starter-parent
echo
echo "newest Final (GA) hibernate-core:"
fetch org/hibernate/orm/hibernate-core | grep -oE '<version>[0-9.]+\.Final' | sed 's/<version>//' | tail -1 | sed 's/^/ /'
echo "newest GA jakarta.data-api:"
fetch jakarta/data/jakarta.data-api | grep -oE '<version>[0-9.]+<' | tr -d '<>version/' | tail -1 | sed 's/^/ /'
exit 0