Spring JPA学習用のリポジトリ
- Java17
- Gradle 8
- SpringBoot 3
- Spring JPA
- H2DB
あとはよしなに
$ gradle bootRun
ビルドされてなかったらgradle build
してね
Spring JPAってHibernateで実装されてるっぽい。
Spring FrameworkにHibernate向けにSessionFactoryが実装されてたけど、5系で更新止めてるっぽい:参考
Spring JPAはHibernate6系を使ってるので、特段理由がなければこっちを使うのが賢そう?:参考