Defining Index in JPA Entity

https://www.javaguides.net/2018/11/guide-to-hibernate-5-schema-generation.html

@Entity
@Table(
    name = "author",
    indexes =  @Index(
        name = "idx_author_first_last_name",
        columnList = "first_name, last_name",
        unique = false
    )
)
public static class Author {

    @Id
    @GeneratedValue
    private Long id;