feliperazeek / playframework-elasticsearch

Integrate Elastic Search in a Play! Framework Application. This module uses JPA events to notify Elastic Search of events of their own. It embeds a running Elastic Search instance for Rapid Development.
http://geeks.aretotally.in/play-framework-module-elastic-search-distributed-searching-with-json-http-rest-or-java
84 stars 43 forks source link

Model casting exception #2

Closed vbuzzano closed 13 years ago

vbuzzano commented 13 years ago

in the source ElasticSearchPlugin

you import the class and try to cast with import play.db.jpa.Model;

instead of the interface import play.db.Model

feliperazeek commented 13 years ago

Lemme check why I am not getting these errors, I bet I have some .class somewhere.

vbuzzano commented 13 years ago

I use a class extending directly the class GenericModel instead of Model

feliperazeek commented 13 years ago

Release 0.0.4 with Bug Fixes

Doc: https://github.com/feliperazeek/playframework-elasticsearch Sample App: https://github.com/mashup-fm/playframework-elasticsearch-basicdemo Step by Step Tutorial: http://geeks.aretotally.in/seven-steps-to-crud-with-play-framework-and-elastic-search-with-new-release-0-0-4

Thank you so much my friend! Felipe