Hi Folks,

I have a doubt.
This method (PersistenceUnitUtil#getIdentifier) should return the value of
id, right?
OpenJPA return a instance of OpenJPAId [StringId, LongId, BigDecimalId and
etc ]

This case, when ID is OpenJPAId, we need to call OpenJPAId#getIdObject here:
https://github.com/apache/openjpa/blob/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerFactoryImpl.java#L361-L363
no?


-- 
Best regard,
Daniel Cunha (soro)

Reply via email to