Reg Google app engine datastore -primarykey

Posted by megala on Stack Overflow See other posts from Stack Overflow or by megala
Published on 2010-05-13T08:13:55Z Indexed on 2010/05/13 18:34 UTC
Read the original article Hit count: 235

Filed under:
|

hi,

  I created table in google Big table datastore ,In that the i set primary key using 

@annotations as follows

@Id

@Column(name = "groupname")

private String groupname;

@Basic

private String groupdesc;

I worked corretly,but it override the previous record,how to solve this

for eg

if i entered

groupname=group1

groupdesc=groupdesc

than it accept after that i enter same groupname it override previous record for eg groupname=group1 groupdesc=groups

this record override previous one.

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about java