Changes between Version 6 and Version 7 of ebXMLPersistenceLayerTestSuite
- Timestamp:
- Aug 10, 2008, 5:14:47 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ebXMLPersistenceLayerTestSuite
v6 v7 46 46 This test unfortunately cannot run on a !McKoi database. It seems !McKoi does not support the SQL operator UNION, only UNION ALL. Hibernate however is under the hood issuing SQL queries containing UNION -- this is a result of the <union-subclass> mapping strategy we have chosen to model OO inheritance. This causes !McKoi to raise the descriptive error "ERROR: PENDING" and the test case fails. 47 47 48 So for !McKoi a test case could use an SQL query, rather than an HQL query. This means the test case is less interesting because we're back to writing SQL, we must explicitly apply our !ImprovedNamingStrategy in the SQL, and we cannot do polymorphic queries. The test case below is an example that can run in !McKoi.48 So for !McKoi a test case could use an SQL query, rather than an HQL query. This means the test case is less interesting because we're back to writing SQL, we must explicitly apply our !ImprovedNamingStrategy in the SQL, and we cannot do polymorphic queries. So much for DBMS vender independence :-( The test case below is an example that can run in !McKoi. 49 49 50 50 {{{