Home » Search

About PrimaryKey

21-25 of 25Refresh
Forum
6

Object as parameter results in exception

; } and the query:    @Override public T fetch(Company company, Long primaryKey) {   mLogger.info("Fetching type: {} with id {} with company: {}", new Object[]{managedClass, primaryKey ... .equal(p.get("id"), primaryKey),     qb.and(qb.equal(p.get("owningCompany"), company
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