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

rewrite the event system to not need the *Updates classes #31

Closed s4ke closed 9 years ago

s4ke commented 9 years ago

the whole *Updates mechanism is an indirection at the moment. Since we get all the information we need out of the JPA provider via the TableInfoSources we can work with that instead of creating classes that we then parse again.

Then, the only annotation that is needed is something along the lines of a @IdBridge between a RowSet and an object. This might get a bit complicated for ids with multiple fields in the database.

s4ke commented 9 years ago

for now and for all testing purposes the system is enough, but this feature has to evolve into a system that doesn't need that much user input, soon.