datanucleus,
I have created SMSUser class like this
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class SMSUser
{
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
public Key UserId;
@Persistent
public User sUser;
@Persistent
Dear Alexander Arendar ,
I have tried it. My listing deleting and adding works fine... Just
getting stuck in editing part..
On Feb 19, 1:53 pm, Alexander Arendar alexander.aren...@gmail.com
wrote:
Hi Manjoor,
you should also call after all these pm.close() and you'll see the result :)
JDO
datanucleus,
Please can you show me how a setter tell JDO that it is called and JDO
need to update it???
I am sorry but i am new to java. (Just for app-engine)
On Feb 19, 1:49 pm, datanucleus andy_jeffer...@yahoo.com wrote:
PS: I have added pm.close(); after pm.makePersistent(u);
still it
Dear Sushama Khadilkar,
I am trying my hand in JDO..I have not thought to using JPA yet
On Feb 19, 12:10 pm, Sushama Khadilkar sush.khadil...@gmail.com
wrote:
If you want to update the record using EntityManager , then just use
em.merge(Object).
This the link to the
The Google App Engine instructions focus on JDO for the datastore
implementation. JDO doesn't have the traditional update function.
You either modify it and close the persistence manager that returned
the object (it knows it changed and updates accordingly) or you just
persist the object again
Thanks for the reply but it does not work. Have a look at this.
I have checked it in debugger, It successfuly fetch desired record.
but after changing it does not saved. No error :(
SMSUser u = pm.getObjectById(SMSUser.class,tu.UserId);
u.ContractPerson =