spring.jpa.hibernate.ddl-auto を "create" にした際、テーブルの命名規則に複数回適用される現象の対処策jpaJUnitSpringBoot 概要 公式のページ にあるように、Spring Data JPA にてエンティティを構成すると、application.properties のプロパティにて、インメモリのDBが接続対象のデータベースとして指定されている場合、アプリケーション実行時に、@Entity アノテーションをつけたクラスのテーブルを作成してくれます。 spring.jpa.hibernate.ddl-auto= # DDL mode. This is actually a shortcut for the "hibernate.hbm2ddl.auto" property. Default to "create-drop" when usi
