Hotware / Hibernate-Search-GenericJPA

Hibernate-Search with the JPA provider you want
http://hotware.github.io/Hibernate-Search-GenericJPA/
GNU Lesser General Public License v2.1
5 stars 3 forks source link

test metamodelparser for annotated fields #3

Closed s4ke closed 9 years ago

s4ke commented 9 years ago

instead of methods.

s4ke commented 9 years ago

doesn't currently work for fields as (at least Eclipselink does this) these get wrapped into methods. Therefore we cannot access the annotations... :/

We have to restructure the MetaModelParser into first parsing the class hierarchy using plain Java Reflection and then parsing it again for mailicious types.

s4ke commented 9 years ago

the parsing feature for proper annotations is therefore currently not supported.

s4ke commented 9 years ago

we still have to work on the unit tests though.