Hi.
I'm not sure what I'm doing wrong here. I'm creating a temporary entity,
within transaction, deleting the entity before committing. I need that
temporary entity in the database during the transaction though... My code
is roughly doing this:
EntityManager em; // have it
E_App temp = new
Try something like this:
E_App temp = new E_App();
temp.setPrimaryKey(temporaryPK);
temp = em.merge(temp);
Thanks,
Rick
On Dec 29, 2011 5:47 AM, Pawel Veselov pawel.vese...@gmail.com wrote:
Hi.
I'm not sure what I'm doing wrong here. I'm creating a temporary entity,
within transaction,
Hello all.
I use OpenJPA (currently 2.1.0 version), PostgreSQL (currently 9.0). My model
has one abstract class and many, many extended classes, and inheritance goes
four levels deep and about 20 classes wide (please don't question the model, I
am currently proposing the refactoring).
I have
Hi all,
if you happen to use Intellij, there is a OpenJPA enhancer plugin available
through Intellij plugin repository.
Usage instructions are very simple and can be found here:
https://github.com/machak/enhancer/wiki
Any issues can be reported here:
https://github.com/machak/enhancer/issues