[appengine-java] Re: composit primary key issue

2010-05-12 Thread datanucleus
> Built-in object id classes not working in Google data store, Well they are working fine actually ... but as I already said you're using more than 1 field and THERE IS NO BUILTIN object id for composite id. > we worked as example given in the fallowing url > http://www.datanucleus.org/products/a

[appengine-java] Re: composit primary key issue

2010-05-12 Thread aptest1 actiprocess
Hi Timofey, Any workaround without disturbing data store. thanks On May 12, 1:46 pm, Timofey Koolin wrote: > You can combine two fields in one string-field and use it as String PK > > On 11 май, 14:14, aptest1 actiprocess wrote: > > > > > > > We are unable to use two fileds as the compisit pr

[appengine-java] Re: composit primary key issue

2010-05-12 Thread aptest1 actiprocess
Hi datanucleus, Built-in object id classes not working in Google data store,we worked as example given in the fallowing url http://www.datanucleus.org/products/accessplatform/jdo/primary_key.html. but issue not resolved. Thanks On May 11, 10:02 pm, datanucleus wrote: > > Class com.atp.smar

[appengine-java] Re: composit primary key issue

2010-05-12 Thread Timofey Koolin
You can combine two fields in one string-field and use it as String PK On 11 май, 14:14, aptest1 actiprocess wrote: > We are unable to use two fileds as the compisit primary keys in google > datastore, its throwing follwing exception if we make two fields as > primary key fileds.please help us to

[appengine-java] Re: composit primary key issue

2010-05-11 Thread datanucleus
> Class com.atp.smartstore.DB.config.User has application-identity and no > objectid-class specified yet has 2 primary > key fields. Unable to use SingleFieldIdentity. Message seems clear enough to me. You want to have a composite PK yet you haven't provided an object identity class; so provide o