package com.txtr.hibernatedelta.model;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import org.hibernate.annotations.Index;
/**
* cannot be put into {@link Index}, because it doesn't accept functions as part of column names
*/
@Retention(RUNTIME)
public @interface FunctionIndex {
String name();
boolean unique();
String[] columnNames();
}