Google App Engine datastore

Posted by megala on Stack Overflow See other posts from Stack Overflow or by megala
Published on 2010-05-11T09:08:45Z Indexed on 2010/05/11 9:14 UTC
Read the original article Hit count: 338

Filed under:

Hi i had created table with primarykey{groupname} in google app engine datastore as follows, //---------------coding-----------// @Entity

@Table(name="Groups", schema="PUBLIC")

public class Creategroup {

@Id

private String groupname;

@Basic   

private String groupid;
  .
  .
  .

}

My doubt is I wnat to set groupname and groupid both as primary key is it possible.how ? Guide me thanks in advance

© Stack Overflow or respective owner

Related posts about google-datastore