I want to store (and send) an array of integers in the app engine data 
store and have created a class as follows:

@Entity
public class GrodxData {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long id;
private int[] minaintar;
...
 
Then I run the RPC Servcie Wizard and all is completed without any message. 
But the GrodxDataProxy-proxy class contains errors  

<https://lh6.googleusercontent.com/-eb65OXhw3CA/Tvrlz2qkglI/AAAAAAAAADs/bLhl79yHUV4/s1600/RPCError.PNG>
With the message being The type int[] cannot be used here .

My understanding form reading
http://code.google.com/intl/sv-SE/webtoolkit/doc/latest/DevGuideServerCommunication.html
 
is that you should be able to transmit arrays of basic types.

I have been able to get ArrayList<int> to generate compilable code, but 
this is not optimal as my array is fixed size.

If anyone have any suggestion on how to proceed I'd be more than happy.
Thanks,
Jens Axelsson

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/QKKaDv21rN8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to