The Google AppEngine docs say that I can persist serializable objects using JDO like so
import javax.jdo.annotations.Persistent; import DownloadableFile; // ... @Persistent(serialized = "true") private DownloadableFile file;
@Persistent(serialized="true") private Properties initProps;
...
The DataNucleus docs talk a lot about detached objects and what it means to be detached, but, for new users, they kind of skip over the simplistic: What does it mean ...
With the following code
Query query = pm.newQuery(User.class); query.setFilter( "username == :usernameParam" ); query.setResult( "count(username)" ); query.setResultClass(Long.class); ...
I have the following class:
@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = "true") public class TclRequest implements Comparable<TclRequest> { @PrimaryKey private String id; @Persistent(types = { ...