RPC Service Wizard for int[] field generates non-compilable code

17 views
Skip to first unread message

Jens Axelsson

unread,
Dec 28, 2011, 4:53:48 AM12/28/11
to google-a...@googlegroups.com
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  

With the message being The type int[] cannot be used here .

My understanding form reading
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
Reply all
Reply to author
Forward
0 new messages