RE: RE: [Objectbridge-developers] XML used in test.ojb.server, etc
Brought to you by:
thma
From: <tho...@it...> - 2001-01-11 07:33:25
|
Between is harder and not really needed. "LIKE" is usually sufficient, although GREATER_THAN and LESS_THAN or almost as important. What we do is aggregate the constraints with "AND" and "OR". I'm not sure how to express the AND and OR with a query by example. I don't see a way to have BETWEEN, >, < and conjunction of clauses with AND or OR in a query by example solution. Of course we could start with an adhoc solution but I think it will be better to directly go for OQL, as we need to implement it anyway to be ODMG compliant. Would this be a helpful feature for you? I can start working on such a functionality within the next days. In our application on sourceforge (OpenEMed), we have a persistent abstraction layer that is implemented over a number of different kinds of persistent store (ODBMS, and RDBMS). The RDBMS part uses Software Tree's JDX product that works very well. We would like to use an open source product, if at all possible, however. Castor is a likely candidate, but still is evolving rapidly. I'll have a look at your stuff to get an impression. Don't be overwhelmed by the size of our application. Look in the tools directory in the Database package to see what we are up to. I had problems to get the big tarball (> 14M) due to problems with my companies proxy servers, will try it later. |