Changes between Version 10 and Version 11 of ebXMLPersistenceLayerTestSuite
- Timestamp:
- 08/10/08 11:06:46 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ebXMLPersistenceLayerTestSuite
v10 v11 46 46 }}} 47 47 48 This test unfortunately cannot run on a !McKoi database. It seems !McKoi does not supportthe 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.48 This test unfortunately cannot run on a !McKoi database. It seems !McKoi does [http://www.mckoi.com/database/mail/subject.jsp?id=7200#MSG_7201 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. 49 49 50 50 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 vendor independence :-( The test case below is an example that can run in !McKoi.