GH-265 - Use EVENT_PUBLICATION as table name for JPA to be consistent with JDBC.

This commit is contained in:
Oliver Drotbohm
2023-08-12 07:43:21 +02:00
parent 1e1ebb52ff
commit 0bfdb81d91

View File

@@ -18,6 +18,7 @@ package org.springframework.modulith.events.jpa;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import java.time.Instant;
import java.util.UUID;
@@ -32,6 +33,7 @@ import org.springframework.util.Assert;
* @author Björn Kieling
*/
@Entity
@Table(name = "EVENT_PUBLICATION")
class JpaEventPublication {
final @Id @Column(length = 16) UUID id;