About PrimaryKey

21-24 of 24Refresh
Forum
5

EntityManager refresh problem

primaryKey;     private String fieldA;     private int fieldB;     public String getFieldA ... () {         return primaryKey;     }     public void setPrimaryKey(Long primaryKey) {         this.primaryKey = primaryKey;     } }             The reason that the refresh operation has no effect in
Forum
2

ID format in objectdb 2.x for JDOHelper.getObjectId

it should be:     @PrimaryKey     @Persistent(valueStrategy = IdGeneratorStrategy.NATIVE)     private long id;   binitbhaskar
Forum
2

Is 2 level cache in use?

(entityClass, primaryKey), so you can persist or retrieve an entity object and then check if it is cached
Forum
2

JDOHelper.isDetached failure ?

(detachable="true") public class TestClass implements Serializable { @PrimaryKey private long