Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    #61
    Atomic types in Criteria, ok. So what is the addCriteria(String, Object) for?

    Comment


      #62
      It's so you do not have to explicitly typecast when writing generic logic.

      Comment


        #63
        Originally posted by Isomorphic View Post
        Please please don't give us bogus sample code to analyze. It's hard enough to provide guidance based on partial code when the code is actually real.

        We're not sure what's in that Object, but GWT as a whole cannot do general-purpose serialization of Java objects between client and server (which would be basically magic..). The docs for rpcRequest.data explain what Java Objects can be transmitted to the server - basically atomic types and most Collections.
        Sorry for the confusion on my side. Thanks for the pointer to rpcRequest.data.

        Comment

        Working...
        X