#2695 - DDL Generation for @UniqueConstraint ignores the name - should be the index name when given

This commit is contained in:
Rob Bygrave
2022-05-16 22:06:14 +12:00
parent ceac2d12b1
commit 4f3c9adf6f
4 changed files with 15 additions and 16 deletions
@@ -7,7 +7,7 @@ import javax.persistence.UniqueConstraint;
@Cache(naturalKey = "appName")
@Entity
@UniqueConstraint(columnNames = "app_name")
@UniqueConstraint(name="uq_ocached_app", columnNames = "app_name")
public class OCachedApp extends OCacheBase {
private String appName;