Hi,

I'm trying out GWT RequestFactory but hit a problem, my entity is an
JPA(Hibernate) and I have a Dao class like this

public abstract class GenericDao<K, E> () {
  List<E> list() {
    some code to return a list.
  }
  void persist(E entity) {
    entityManager.persist(entity);
  }
}

public class MyDao extends GenericDao<String, MyDao> {
}

And I have a service locator as this

public class DaoServiceLocator extends ServiceLcator<xxxx> {
   public xxxxx {
    return new MyDao();
  }
}

All these works fine , the list() method works perfectly, but not
persist method, it throws java.lang.NoSuchMethodError when I am
calling  factory.myEntityRequest().persist(entityProxy) , any ideas?

-- 
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.

Reply via email to