On 22 nov, 12:42, Eric <[email protected]> wrote: > Hello. > I'm evaluating GWT 2.1 for integration with a server side project that > uses Hibernate JPA. > This project already provides a package that contains many entities > and I wish to use them with the RequestFactory however I cannot modify > them and add the findEntity() or getId() methods to these Entities. > One way to overcome this is by subclassing these entities or maybe > writing an adapter for each one. theoretically this should work(?) but > there are quite a lot of them. > Is there another way to use the RequestFactory with these entities?
Wait a few days (one week? a couple of weeks?) for the GWT 2.1.1 release. It totally refactors the server-side code for RequestFactory and allows you to use a Locator to "find" your entities and get their Id and version properties. See http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_1_1 Code review at: http://gwt-code-reviews.appspot.com/1130801/show -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
