Issue Details (XML | Word | Printable)

Key: JDO-47
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Michael Watzek
Reporter: Michelle Caisse
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

Four lifecycle tests need schema/metadata

Created: 19/May/05 01:01 PM   Updated: 23/Apr/06 02:30 AM
Return to search
Component/s: tck2
Affects Version/s: None
Fix Version/s: JDO 2 beta

Time Tracking:
Not Specified

Resolution Date: 23/Apr/06 02:30 AM


 Description  « Hide
Four lifecycle tests give ERRORs because they have no tables or metadata. We were going to remove the tests, but we should take another look, because more tests depend on this metadata than we originally thought.

    [java] 13) test(org.apache.jdo.tck.lifecycle.MultiplePMsReturnInstancesRepresentingSamePC)javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO STATETRANSITIONOBJ (STATETRANSITIONOBJ
_ID,INT_FIELD) VALUES (?,?)
    [java] ERROR 42X05: Table 'STATETRANSITIONOBJ' does not exist.
    [java] 14) test(org.apache.jdo.tck.lifecycle.ObjectIdNotModifiedWhenObjectIdInstanceModified)javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO STATETRANSITIONOBJ (STATETRANSITION
OBJ_ID,INT_FIELD) VALUES (?,?)
    [java] ERROR 42X05: Table 'STATETRANSITIONOBJ' does not exist.
    [java] 15) test(org.apache.jdo.tck.lifecycle.PMReturnsIdenticalInstancesForEqualObjIds)javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO STATETRANSITIONOBJ (STATETRANSITIONOBJ_ID
,INT_FIELD) VALUES (?,?)
    [java] ERROR 42X05: Table 'STATETRANSITIONOBJ' does not exist.
    [java] 16) test(org.apache.jdo.tck.lifecycle.StateTransitions)javax.jdo.JDODataStoreException: Error executing JDOQL query "SELECT 'org.apache.jdo.tck.pc.lifecycle.StateTransitionObj' AS JPOXMETAD

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Michelle Caisse added a comment - 21/May/05 08:40 AM
We will add the orm metadata and schema required for the StateTransitionObj pc class. We also need to add an Oid inner class.

Michael Watzek added a comment - 14/Jun/05 12:36 AM
This issue has been fixed by JDO-13. However, 3 tests (MultiplePMsReturnInstancesRepresentingSamePC, ObjectIdNotModifiedWhenObjectIdInstanceModified, PMReturnsIdenticalInstancesForEqualObjIds) throw exceptions because of non-transactional read requests.

Michael Watzek added a comment - 14/Jun/05 07:12 PM
Fixed by adding begin/commit calls.

Michael Bouschen added a comment - 23/Apr/06 02:18 AM
Reopened to set the Fix Version/s field to JDO 2 beta.