Changes between Version 10 and Version 11 of ebXMLPersistenceLayerTestSuite


Ignore:
Timestamp:
Aug 10, 2008, 11:06:46 AM (16 years ago)
Author:
heikki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ebXMLPersistenceLayerTestSuite

    v10 v11  
    4646 }}}
    4747
    48 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.
     48This 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.
    4949
    5050So 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.