MetaBossMetaBoss



Site Map
 

How to start with MetaBoss

So, you’ve read some papers on this site and think that you would like to try MetaBoss in action. Well, MetaBoss can be downloaded


free of charge, so there is nothing really to stop you from discovering MetaBoss further. Simply read and follow our installation instructions. 

Latest News

Thu Dec 15, 2005

This is minor bug fixes and feature enhancements release. The main change is the ability to place Message elements in the Data Dictionaries where they can be referenced by many Operations from unrelated Services. 

Tue Oct 25, 2005

This is the major feature enhancement release. The main new feature is the ability to model and generate support for events - the unsolicited asyncroneous messages produced by servers and consumed by clients.

Log In


 
If you are not a registered user, you can register now for free.
Forum

Deployment And Run Time

Subqueries are not fully implemented in MySQL 4.1.3-beta or earleir

You have no permissions to create new topic   You have no permissions to post reply   Search

Author Message

Adjutant

Date:  Wed Aug 11, 2004 06:26 AM
Subject:  Subqueries are not fully implemented in MySQL 4.1.3-beta or earleir

In order to take full advantage of the Domain Object layer library genertaed by MetaBoss, one has to use
the database which fully supports subqueries. Unfortunately MySQL 4.1.3-beta and earlier does not support IN and LIMIT clauses in subqueries. This means that some complex queries will fail on MySQL and the queries will have to be broken into a number of smaller and simpler queries (or alternatively another brand of database will have to be used).

For example. Suppose that we have a simple "Client" and "Order" entities with "Client Places Orders" association between them. The query "Select all Clients who has placed last ten Orders" will fail on MySQL because it will need to use LIMIT clause in the subquery. The fix (quite inefficient) is to run simple "Select last ten Orders" query and then get placing Client for each Order.

Please note that this is a run-time error (MetaBoss queries are built dynamically and therefore generator and compiler are unable to catch this situation). When MySQL is unable to process the query issued by middleware it throws back the SQLException with the text " Syntax error or access violation, message from server: This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'"

Please also note that MySQL online manual at http://dev.mysql.com/doc/mysql/en/Subquery_errors.html claims that this exception only occurs in "some early versions, such as MySQL 4.1.1". We ,however, have found that it still occurs in 4.1.3-beta. Moreover, our study of the MySQL release notes history has not revealed any mention that this limitation has been removed.

Yours sicerely,
MetaBoss Adjutant

Display posts from previous:    Sort posts:    

 
Company | Contact Us | News | Documentation | Support | Downloads | Buy Now | FAQ | Forum