[appengine-java] Re: Datastore write operations

2011-12-22 Thread Mukesh Joshi
Thanks.. that works. Now I have just 4 write ops per records instead of 8 JDO : .. @Persistent @Extension(vendorName="datanucleus", key="gae.unindexed", value="true") private String type; ... -- You received this message because you are subscribed to the Google Groups "Google App Engine for

Re: [appengine-java] Re: Datastore write operations

2011-12-22 Thread Ikai Lan (Google)
That's not how to make a property unindexed in JDO. Read this blog post: http://gae-java-persistence.blogspot.com/2009/11/unindexed-properties.html -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 21, 2011 at 9:39 PM, Mukesh Joshi wrote

[appengine-java] Re: Datastore write operations

2011-12-21 Thread Mukesh Joshi
package com.testapp.shared.dataobjects; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; //SC_CODE,SC_NAME,SC_GROUP,SC_TYPE, @PersistenceCapable public class Stock { @PrimaryKey @Persistent private String code; @Pe