Good day everyone!

I'm having a problem that already have been discussed a lot but I couldn't
find a solution for it online.

I have a model called Case1Model that implements Serializable correctly. I
started using ORMLite to persist objects on the server (really simple to
use). I would like to use the same class with ORMLite and GWT. The problem
is that one field of Case1Model doesn't work with GWT on the client and I
would like to ignore it. I already tried using @GwtTransient on the fields,
and also @GwtIncompatible on the field and getters/setters but the I'm
getting exactly the same error when I try to run the code on Development
mode.

The error message is:
        [ERROR] [project] - Line 51: No source code is available for type
com.j256.ormlite.dao.ForeignCollection<T>; did you forget to inherit a
required module?

Creating two classes, one for each, would, kind of, go against the main
reason why I'm using an ORM witch is exactly avoid writing code to
instantiate and to persist the models I use on the GWT side. I'm trying to
avoid something like model1.setField1(model2.getField1()) for all the
fields.

What do you recommend?

Thank you very much!

Best,
-- 
Dani
Cloud3 Tech - http://cloud3.tc/
Twitter: @DaniCloud3 @Cloud3Tech

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