Expected behavior
Support indexes in @table:
@Table(name = "table_foo", indexes = @Index(columnList = "bar"))
Actual behavior
Ebean ignores these indexes and supports only own
@Index(columnNames = {"bar"})
Link: https://www.baeldung.com/jpa-indexes
P.S. Ebean @Index annotation generates potentially breaking down evolutions sql (but I did not check):
drop table if exists table_foo cascade;
drop index if exists ix_table_foo_bar;
Dropping table before its indexes? Why?
Expected behavior
Support indexes in @table:
Actual behavior
Ebean ignores these indexes and supports only own
Link: https://www.baeldung.com/jpa-indexes
P.S. Ebean @Index annotation generates potentially breaking down evolutions sql (but I did not check):
Dropping table before its indexes? Why?