Regarding:
@Table( indexes = @Index(name = "payment_payment_formalid_idx", columnList = "formalId", unique = true) )
CMIIW, but the above code won't work in Hibernate 4.2. They're JPA 2.1 annotations which require Hibernate 4.3.