--- Leon Messerschmidt <[EMAIL PROTECTED]> wrote:
> Hi,
>
> You can also take a look at Castor or OPL. I've
> only had a little experience with
> Castor. It's Database to Object mapping is a lot
> more powerful than Peer, but you
> are denied access to the underlying database.
> Performance is also a problem.
>
The O-R mapping system ,based on Scott Ambler's work,
is is now called "osage" - osage.sourceforge.net -not
"OPL".
No performance problem with Osage partly because it
doesn't use joins for related objects, it launches new
query. For a discussion of the well-known issues of
Castor's joins please see Castor's mailing list
archive. This is big problem for Leon's Interbase.
Osage allow 2 forms of low-level access. Submission
of SQL using mapped db connections and directly
interacting with result set from query generated by
mapping system.
It features criteria-based queries, very similar to
Peers.
Example is:
RetrieveCriteria criteria =
new RetrieveCriteria(ProductGroup.FOR_NAME);
criteria.addSelectEqualTo(Product.ID, 3);
// JDK1.2
Iterator results = criteria.perform(db);
while(results.hasNext()) {
// do something with it
}
For more infos, please see Test.java in examples at
Osage.
> At some stage I'd like to create a type of an
> "advanced generator" that does
> things like I've mentioned above. Unfortunately
> this is still pretty much in my
> imagination and nothing concrete at the moment.
>
Geez, Leon. I wouldn't cost more than 30 minutes to
download and try Osage. It does this out-of-the-box.
Some are developing systems based on Osage, and there
are no known issues (bugs), just outstanding
enhancement requests (neverending). Based on feedback
from these people, stable release system should be
available in 4-6 weeks.
I offer same deal as jon: full refund of purchase
price if dissatisfed for any reason.
Regards, george
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]