title: How to save a simple array of numbers on AppEngine (Java)?
body: <p>Does anyone knows how to save a simple array of number in an AppEngine Entity ? </p>
  
  <p>For example if I have this object of class: </p>
  
  <pre><code>class Person {
  
      String name;
      Date dateOfBirth;
      int favoriteNumbers[];
  
      Person(String name, Date dateOfBirth, int[] favoriteNumbers) {
        this.name = name;
        this.dateOfBirth = dateOfBirth;
        this.favoriteNumbers = favoriteNumbers;
      }
  
  
    }
  
  //save the entity ! 
       Person person = new Person("Jack", new Date(), new int[]{2, 3, 4});
       Entity entity = new Entity("person");
       entity.setProperty("name", person.name);
       entity.setProperty("dateOfBirth",person.dateOfBirth);
       entity.setProperty("favoriteNumbers",favoriteNumbers);// this here thrown an exception !
  
  
  
  
      java.lang.IllegalArgumentException: firsRound: [I is not a supported property type.
          at com.google.appengine.api.datastore.DataTypeUtils.checkSupportedSingleValue(DataTypeUtils.java:235)
          at com.google.appengine.api.datastore.DataTypeUtils.checkSupportedValue(DataTypeUtils.java:207)
          at com.google.appengine.api.datastore.DataTypeUtils.checkSupportedValue(DataTypeUtils.java:173)
          at com.google.appengine.api.datastore.DataTypeUtils.checkSupportedValue(DataTypeUtils.java:148)
          at com.google.appengine.api.datastore.PropertyContainer.setProperty(PropertyContainer.java:101) 
  .......
  </code></pre>
  
  <p>*<em>Note: The code above is similar to the real. I presented this code for simplicity.  *</em>         </p>