Home » Search

About oid

51-58 of 58Refresh
Issue
3

[ObjectDB 2.4.1] Unexpected exception (Error 990) on getObjectById

();                 try {             Object oid = null;             pm.currentTransaction().begin ... .makePersistent(a);                 oid = pm.getObjectId(a);             }             pm ... ();                         pm.getObjectById(oid);         }                 finally {             pm.close
Forum
3

Embedded in JDO metadata not working in objectDB 2.x ?

1 (with an OID for every instance) and all other classes were embedded (so without extent and own OID) in those few peristence-capable ones. Example of JDO metadata:
Forum
3

New to Product & Having An Issue

" + "WHERE d.domainId.accountId = :aid AND d.domainId.objectId = :oid ... .setParameter("aid", this.departmentId.getAccountId()); q.setParameter("oid", this.departmentId ... WHERE d.domainId.accountId = :aid AND d.domainId.objectId = :oid") now succeeds. However, the test
Forum
2

Optimization Question

, but that would also require maintaining the OID for everything. Anyway, what are your thoughts on this? I ... .  All tracks maintain a java UUID identifier and a mapping of that to the ObjectDB OID is used
Forum
2

pm.newObjectIdInstance returns null

have been simplified) public MyClass retrieveMyClass(String oid, boolean makeTransient, MyContext context ... objectid = pm.newObjectIdInstance(AFPhysicalPart.class, oid); physpart = (MyClass
Forum
1

ID format in objectdb 2.x for JDOHelper.getObjectId

.objectdb.OID not LongIdentity. I tried adding private @Id @GeneratedValue long id; but i think
Forum
1

NegativeArraySizeException on commiting a transaction

which was behaving in the same way as the old one, only it has different OID. Then I deleted 60 instances of Project
Result
1

[ODB1] Chapter 6 - Persistent Objects

of a persistent object can be done as follows: Object oid = pm.getObjectId(obj); Or by a static method (useful when a PersistenceManager is unavailable): Object oid = JDOHelper.getObjectId(obj); JDO does ... ().begin(); Person person = new Person("George", "Bush"); pm.makePersistent(person); Object oid = pm