Hi,

is it possible to create user define Key/ID column name ?

When i define Key column name as follows :

@PrimaryKey
        @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private String Username;

above code generate Key/ID field as "name".

By using following code , it generate column name as "id" :
 @PrimaryKey
        @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long BookId;

Please suggest how to define column name for Key field.

Thanks in Advance !
Rajeev

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to