java - JPA 2.1 says attribute "indexes is undefined" -
im developing web-app using wildfly 8.0.0 hibernate jpa 2.1. problem is, can't annotate manytoone indexes.
import javax.persistence.cacheable; import javax.persistence.entity; import javax.persistence.generatedvalue; import javax.persistence.id; import javax.persistence.index; import javax.persistence.joincolumn; import javax.persistence.manytoone; import javax.persistence.table; import de.sessions.benutzerverwaltung.domain.benutzer; @entity @table(indexes = { @index(columnlist = "user_fk"), @index(columnlist = "session_fk") }) @cacheable public class comment implements serializable{ ...
eclipse says "the attribute indexes undefined annotation type table" in project works fine.
thanks in advance, tim
solved deleting class , creating new (ctrl+a, ctrl+c, ctrl+v) , problem gone. eclipse....
java jpa indexing undefined wildfly
No comments:
Post a Comment