Re: JDO_Test tearDown

2006-03-27 Thread Andy Jefferson
Some more information, having tried with Erik's recent changes to JPOX. Take the example of configuration "schemaAttributePackage.conf". This is passing the "javax.jdo.mapping.Schema" property as "datastoreidentity6". In the MetaData files (for PCPoint) it is using "datastoreidentity_pkg" (where t

Re: Datastore identity strategy

2006-03-27 Thread Andy Jefferson
Hi Craig, Further to my previous mail, what is your proposed strategy doing in the case of DB2 ? DB2 supports *both* sequences and IDENTITY columns. If "identity" can mean sequence or IDENTITY then what does the implementation do to give the user flexibility ? -- Andy

Re: Datastore identity strategy

2006-03-27 Thread Andy Jefferson
Hi Craig, I don't read the spec (as it currently is) to allow identity to utilise sequences. You have a sequence option for that. > > •The value “sequence” specifies that a named database sequence is > used to generate key values for the table. If sequence is used, then > the sequence attrib

[jira] Commented: (JDO-347) JPOX fails some lifecycle tests

2006-03-27 Thread Andy Jefferson (JIRA)
[ http://issues.apache.org/jira/browse/JDO-347?page=comments#action_12372060 ] Andy Jefferson commented on JDO-347: > With the latest integration of a fix for JDO-273, there's one lifecycle test > failing: serialize with > optimistic tx should leave th

[jira] Resolved: (JDO-352) Tests in org.apache.jdo.tck.persistencemanager.detach should list assertions tested

2006-03-27 Thread Craig Russell (JIRA)
[ http://issues.apache.org/jira/browse/JDO-352?page=all ] Craig Russell resolved JDO-352: --- Resolution: Fixed svn commit -m "JDO-352 updated comments to reflect assertion ids tested" src/java/org/apache/jdo/tck/api/persistencemanager/detach Sending

Re: Assertion coverage of detachment tests

2006-03-27 Thread Michelle Caisse
Hi Martin, It would be great if you could add anything that you know is missing, as a range of assertion numbers or a set of ranges. Then I could check it against the spreadsheet and make sure we have all tested assertions marked "yes". Thanks, Michelle Martin Zaun wrote: Hi Michelle, g

Re: Assertion spreadsheet file format

2006-03-27 Thread Craig L Russell
Hi Michelle, I don't have access to StarOffice 8 yet (MacOSX). So let's hold off, unless you want to put two versions out there... Craig On Mar 27, 2006, at 3:10 PM, Michelle Caisse wrote: Currently the assertion spreadsheet is a .sxc file (StarOffice 7). Should we change it to .ods (Sta

Re: Assertion coverage of detachment tests

2006-03-27 Thread Martin Zaun
Hi Michelle, got a question on the detachment and persistent-nontransactional assertions. I've seen your additions to the spreadsheet and your JDO-273 and JDO-258 comments for the StateTransition[ReturnedObjects] tests to reflect the added assertions. So far, the StateTransition tests only refe

Assertion spreadsheet file format

2006-03-27 Thread Michelle Caisse
Currently the assertion spreadsheet is a .sxc file (StarOffice 7). Should we change it to .ods (StarOffice 8/OpenDocument spreadsheet) for the final TCK release? -- Michelle

[jira] Created: (JDO-352) Tests in org.apache.jdo.tck.persistencemanager.detach should list assertions tested

2006-03-27 Thread Michelle Caisse (JIRA)
Tests in org.apache.jdo.tck.persistencemanager.detach should list assertions tested --- Key: JDO-352 URL: http://issues.apache.org/jira/browse/JDO-352 Project: JDO Type: Bug Components

[jira] Commented: (JDO-273) Create tests for sections 5.5.8 & 5.5.9, detachment lifecycle

2006-03-27 Thread Martin Zaun (JIRA)
[ http://issues.apache.org/jira/browse/JDO-273?page=comments#action_12372039 ] Martin Zaun commented on JDO-273: - Requested by Craig: As the spec leaves open some behaviour with 'detachCopy outside tx', the StateTransitionsReturnedObjects test should skip t

Re: Assertion coverage of detachment tests

2006-03-27 Thread Craig L Russell
Hi Michelle, The test package covers most but not all of the assertions in 12.6.8. Please file a JIRA and assign it to me to fix the test case to reflect the assertions that are tested. With that done, the assertion table will need to be updated to reflect the assertions actually tested.

[jira] Resolved: (JDO-189) Add test for PersistenceManagerFactory.close() and isClosed()

2006-03-27 Thread Martin Zaun (JIRA)
[ http://issues.apache.org/jira/browse/JDO-189?page=all ] Martin Zaun resolved JDO-189: - Resolution: Fixed Added at end of test(): nullify field 'pmf' to have next invocation of getPMF() get a new pmf. Committed in revision 389307. > Add test for Pers

Datastore identity strategy

2006-03-27 Thread Craig L Russell
Javadogs,I took an action item to resolve whether the TCK needs different metadata files to describe the different strategies that databases use for generating primary key values.The spec says,•The value “sequence” specifies that a named database sequence is used to generate key values for the tabl

Assertion coverage of detachment tests

2006-03-27 Thread Michelle Caisse
Hi Craig, Some of the tests in org.apache.jdo.tck.persistencemanager.detach reference assertion 12.6.8. Does this mean that this test package covers all assertions 12.6.8-*? -- Michelle

[jira] Updated: (JDO-189) Add test for PersistenceManagerFactory.close() and isClosed()

2006-03-27 Thread Martin Zaun (JIRA)
[ http://issues.apache.org/jira/browse/JDO-189?page=all ] Martin Zaun updated JDO-189: Attachment: JDO-189.patch Attached is a patch extending exisisting test ..api.persistencemanagerfactory.Close currently only testing pmf.close() (A11.4-2) to also test pm

[jira] Commented: (JDO-347) JPOX fails some lifecycle tests

2006-03-27 Thread Martin Zaun (JIRA)
[ http://issues.apache.org/jira/browse/JDO-347?page=comments#action_12372023 ] Martin Zaun commented on JDO-347: - With the latest integration of a fix for JDO-273, there's one lifecycle test failing: serialize with optimistic tx should leave the state uncha

[jira] Commented: (JDO-273) Create tests for sections 5.5.8 & 5.5.9, detachment lifecycle

2006-03-27 Thread Martin Zaun (JIRA)
[ http://issues.apache.org/jira/browse/JDO-273?page=comments#action_12372021 ] Martin Zaun commented on JDO-273: - > - Review and clarify the state transition for argument instances of states > 'hollow' and > 'persistent-nontransactional' for serialize with

Re: JDO_Test tearDown

2006-03-27 Thread Michael Bouschen
Hi, I did a clean build today and got 2 failures and 2 errors when running the tck20 with the JPOX build that is available through maven. Regards Michael Hi Erik, Using nightly builds they will fail. I think this is an issue in the TCK. These all work fine with JPOX CVS as at 8pm CET y

Re: JDO_Test tearDown

2006-03-27 Thread Andy Jefferson
Hi Erik, > Using nightly builds they will fail. I think this is an issue in the TCK. These all work fine with JPOX CVS as at 8pm CET yesterday. -- Andy

Re: JDO_Test tearDown

2006-03-27 Thread Erik Bengtson
Craig, Using nightly builds they will fail. I think this is an issue in the TCK. Regards, Selon Craig L Russell <[EMAIL PROTECTED]>: > Hi Erik, > > These tests passed recently. Do you know what changed to make these > tests fail now? > > Thanks, > > Craig > > On Mar 26, 2006, at 2:01 PM, Erik B