Well, it works for me. I didn't try it with TopLink - I used POJOs
instead - but when I declare the field transient, it works (according
to the SOYC Compile Report).

----------------------
Example:

public class WantThat implements Serializable {
        private transient DontWantThat dontWantThat;

        public DontWantThat getDontWantThat() {
                return dontWantThat;
        }
}

public class DontWantThat implements Serializable {

}

@RemoteServiceRelativePath("some")
public interface SomeService extends RemoteService {
  WantThat getWantThat();
}
-------------------------

DontWantThat is not in my Compile Report. If I remove the transient
keyword, it is.

Maybe there's something different with your case. Maybe something is
accessing your "getDontWantThat()"? Circular references at least?
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to