You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Michael Simons <mi...@optitool.de> on 2009/05/19 14:20:03 UTC
isPersistent()
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
We're porting a JOD-based application to OpenJPA 1.2.1.
Is there anything like the JDOHelper.isPersistent, isDeleted() methods?
How can I check whether an Entity is persitent?
kind regards,
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFKEqPz5aNR/9BakrgRArLtAKCzs1iGjMEA9l1ODfvxn0hlCr72QACdHu1V
RGAfxDgIMwTbq4qLDPVqC+4=
=d+dP
-----END PGP SIGNATURE-----
RE: isPersistent()
Posted by Ravi Palacherla <ra...@oracle.com>.
Hi Michael,
Please check OpenJPAEntityManager interface in javadoc.
You can use OpenJPAEntityManager.isPersistent(object);
Regards,
Ravi.
-----Original Message-----
From: Michael Simons [mailto:michael.simons@optitool.de]
Sent: Tuesday, May 19, 2009 6:20 AM
To: users@openjpa.apache.org
Subject: isPersistent()
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
We're porting a JOD-based application to OpenJPA 1.2.1.
Is there anything like the JDOHelper.isPersistent, isDeleted() methods?
How can I check whether an Entity is persitent?
kind regards,
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFKEqPz5aNR/9BakrgRArLtAKCzs1iGjMEA9l1ODfvxn0hlCr72QACdHu1V
RGAfxDgIMwTbq4qLDPVqC+4=
=d+dP
-----END PGP SIGNATURE-----