If this isn't covered by a TCK test, perhaps it should be.
Any volunteers? Craig On Mar 27, 2009, at 9:42 AM, Michael Bouschen wrote:
Hi Christiaan,I think the embedded instance is still persistent after the evict call. It's life cycle state might change to hollow, but even then it is still persistent. So isPersistent should return true for both calls.Regards MichaelHi,suppose I have an embedded persistent object Address part of a persistentobject Company. What should be printed for the following code Address address = company.getAddress(); System.out.println("persistent: " + JDOHelper.isPersistent(address)); pm.evict(address); System.out.println("persistent: " + JDOHelper.isPersistent(address)); kind regards, Christiaan-- *Michael Bouschen* *Prokurist* akquinet t...@spree GmbH Bülowstr. 66, D-10783 Berlin Fon: +49 30 235 520-33 Fax: +49 30 217 520-12 Email: [email protected] Url: www.akquinet.de <http://www.akquinet.de> akquinet t...@spree GmbH, Berlin Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth Amtsgericht Berlin-Charlottenburg HRB 86780 B USt.-Id. Nr.: DE 225 964 680
Craig L Russell Architect, Sun Java Enterprise System http://db.apache.org/jdo 408 276-5638 mailto:[email protected] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
