About identity

forum_thread

Possible issue with timestamps

Hi, If I query doing something like: select c from CDI c where c.creationDate > {ts '2012-03-29 11:00:00} and c.creationDate < {ts '2012-03-29 12:00:00'} the test fails. Its ONLY for 12:00:00. When I started digging I found that if I queried 00:00:00 to 00:25:00 and then did 12:00:00 to 12:25:00 I got IDENTICAL results. For some reason 12:00:00 is being treated the same as 00:00:00. All other hours seem to be fine. #1 2012-03-29 05:07 Hi, If I query doing something like: select c from CDI c where c.creationDate > {ts '2012-03-29 11 ...

 
forum_thread

Rename Application StringIdentity

I don't think JDO supports altering an entity's Application Identity.  Does ObjectDB? @PersistenceCapable public class MyClass implements Serializable, Cloneable{ @Id private StringIdentity id; ... }   ... think JDO supports altering an entity's Application Identity.  Does ObjectDB? @ PersistenceCapable public ...

 
api-jdo

javax.jdo.annotations.IdentityType

Enumeration of the identity type values.(Enum of JDO)

 
api-jdo

getObjectIds(pcs)

Get object ids for an array of instances.(Static Method of javax.jdo.JDOHelper)

 
api-jdo

makeTransientAll(pcs)

Make an array of instances transient, removing them from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
api-jdo

getTransactionalObjectId(pc)

Return a copy of the JDO identity associated with the parameter instance.(Method of javax.jdo.spi.StateInterrogation)

 
forum_thread

Post-compilation enhancement vs Automatic Run-time enhancement

We are getting massively different results on field loading between explicit post-compile enhancement and automatic run-time enhancement. Testing exactly where and when the results are different for our demo web app is a very time consuming task, and very difficult, it means testing literally 100s of user interfaces (noting we get different results OUTSIDE THE JAVA SERVER FACES BACKING BEAN LAYER depending on the enhancement stragegy). Can you please explain how this could possibly be so ? #1 2014-09-17 22:23 We are getting massively different results on field loading between explicit post-compile enhancement and automat ...

 
api-jdo

makeTransient(pc, useFetchPlan)

Make an instance transient, removing it from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
api-jdo

makeTransientAll(pcs, useFetchPlan)

Make instances transient, removing them from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
api-jdo

jdoCopyKeyFieldsToObjectId(fm, oid)

Copy fields from an outside source to the key fields in the ObjectId.(Method of javax.jdo.spi.PersistenceCapable)