jpa-Google app engine
Posted
by megala
on Stack Overflow
See other posts from Stack Overflow
or by megala
Published on 2010-06-05T04:52:39Z
Indexed on
2010/06/05
6:22 UTC
Read the original article
Hit count: 205
jpa
|google-datastore
I had created entity in google app engie datastore using JPA.I set the id as follows
@Id
@GeneratedValue(strategy=GenerationType.SEQUENCE)
private Long s;
After i deployed my applicaiton it give identity (i.e) unique value.but igive 1001,1002,1003 ....as id.But i wnat 1,2,3,4,5 like that.how to achive this?
Thanks in advance
© Stack Overflow or respective owner