Community
Participate
Working Groups
This is just a matter of passing a key-value pair into the mappingStrategy during setup. The advantage of qualified names is that we won't have to drop the database if some tests use dynamic packages whose elements' names (and therefore the corresponding table names) collide. This is in the same spirit as bug 337180 (but at the meta level instead of the data level), and with the same goal: prepare the ground for a (hopefully) significant performance improvement in test execution. (I realize that here and there some test logic will have to be changed, particularly test-logic that has hardcoded the expected table name. This stuff will have to be prefixed with "packageName_".) Working on a patch.
Created attachment 188984 [details] Patch
I can not test it as the patch depends on bug 337180. But the code looks good. Go ahead...
Committed to trunk, rev. 7088 Note: I missed one file in the patch (SQLQueryTest.java), but I included in the commit.
Available in R20110608-1407