Issue Details (XML | Word | Printable)

Key: JDO-355
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Michael Bouschen
Reporter: Michael Watzek
Votes: 0
Watchers: 0
Operations

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

Remove extra tables/classes in the sql and orm for mappings 5,6, and 7.

Created: 30/Mar/06 01:33 AM   Updated: 30/Mar/06 05:45 AM
Return to search
Component/s: tck2
Affects Version/s: JDO 2 rc1
Fix Version/s: JDO 2 final

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works JDO-355.patch 2006-03-30 02:09 AM Michael Bouschen 18 kB

Resolution Date: 30/Mar/06 05:45 AM


 Description  « Hide
I noticed that there is a little mismatch between test case MakePersistent, the .sql files, and the .orm files for mappings 5, 6, 7 wrt. which persistence capable classes are needed:

- Test case MakePersistent uses pc class PCPoint only.
- The .sql files create tables PCPoint and PCRect.
- The .orm files specifiy metadata for pc classes PCPoint, PCPoint2, PCRect, and PrimitiveTypes.

This holds true for application identity and datastore identity as well.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig Russell added a comment - 30/Mar/06 01:41 AM
When the tests were written, I think we didn't know exactly what we were going to test, and made extra classes persistent in order to have some flexibility.

Now that the tests are complete, it's not clear to me that we will ever extend the test cases so we don't need to keep the extra classes in the sql and orm.

So it's ok with me to remove the extras.

Michael Bouschen added a comment - 30/Mar/06 02:09 AM
The attached patch (JDO-355.patch) removes PCRect from the .sql files and PCPoint2, PCRect, and PrimitiveTypes from .orm files for both applicationidentity and datastoreidentity. I just started maven clean build to make sure that the patch does not break anything.

Michael Bouschen added a comment - 30/Mar/06 05:45 AM
I checked in the patch.

Sende tck20\src\orm\applicationidentity\org\apache\jdo\tck\pc\mylib\package-standard5.orm
Sende tck20\src\orm\applicationidentity\org\apache\jdo\tck\pc\mylib\package-standard6.orm
Sende tck20\src\orm\applicationidentity\org\apache\jdo\tck\pc\mylib\package-standard7.orm
Sende tck20\src\orm\datastoreidentity\org\apache\jdo\tck\pc\mylib\package-standard5.orm
Sende tck20\src\orm\datastoreidentity\org\apache\jdo\tck\pc\mylib\package-standard6.orm
Sende tck20\src\orm\datastoreidentity\org\apache\jdo\tck\pc\mylib\package-standard7.orm
Sende tck20\src\sql\derby\applicationidentity\schema5.sql
Sende tck20\src\sql\derby\applicationidentity\schema6.sql
Sende tck20\src\sql\derby\applicationidentity\schema7.sql
Sende tck20\src\sql\derby\datastoreidentity\schema5.sql
Sende tck20\src\sql\derby\datastoreidentity\schema6.sql
Sende tck20\src\sql\derby\datastoreidentity\schema7.sql
?\195?\156bertrage Daten ............
Revision 389850 ?\195?\188bertragen.