Embedded object and evict

2009-03-27 Thread Christiaan
Hi, suppose I have an embedded persistent object Address part of a persistent object Company. What should be printed for the following code Address address = company.getAddress(); System.out.println(persistent: + JDOHelper.isPersistent(address)); pm.evict(address);

Re: Embedded object and evict

2009-03-27 Thread Michael Bouschen
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 Michael Hi, suppose I have an embedded persistent object

[jira] Created: (JDO-626) Update tck README: require maven version 1.1

2009-03-27 Thread Michael Bouschen (JIRA)
Update tck README: require maven version 1.1 Key: JDO-626 URL: https://issues.apache.org/jira/browse/JDO-626 Project: JDO Issue Type: Task Components: tck2 Affects Versions: JDO 2

[jira] Updated: (JDO-626) Update tck README: require maven version 1.1

2009-03-27 Thread Michael Bouschen (JIRA)
[ https://issues.apache.org/jira/browse/JDO-626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bouschen updated JDO-626: - Attachment: JDO-626.patch Attached you find a (trivial) patch for review. Update tck README:

Re: Embedded object and evict

2009-03-27 Thread Craig L Russell
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

Minutes: JDO TCK Conference Call Friday, Mar 27, 9 am PDT

2009-03-27 Thread Craig L Russell
Attendees: Michelle Caisse, Michael Bouschen, Craig Russell Agenda: 1. M2 repo error. Should be a straightforward fix. This file was autogenerated a while back but never updated for recent releases. AI Craig upload a new version of the metadata file to the apache repo which then gets

Re: Minutes: JDO TCK Conference Call Friday, Mar 27, 9 am PDT

2009-03-27 Thread Craig L Russell
Correction: Matthew Adams joined the call in progress. Craig On Mar 27, 2009, at 12:08 PM, Craig L Russell wrote: Attendees: Michelle Caisse, Michael Bouschen, Craig Russell Agenda: 1. M2 repo error. Should be a straightforward fix. This file was autogenerated a while back but never

[jira] Commented: (JDO-626) Update tck README: require maven version 1.1

2009-03-27 Thread Craig Russell (JIRA)
[ https://issues.apache.org/jira/browse/JDO-626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12690138#action_12690138 ] Craig Russell commented on JDO-626: --- Looks good. Update tck README: require maven version

Fwd: Evicting an embedded object.

2009-03-27 Thread Craig L Russell
This sounds familiar... Craig Begin forwarded message: Hi all, I have a question regarding evicting an embedded object. When I call an evict on a persistent non-transactional object and if I call isPersistent() before and after evict then both returns true. When I do the same for an