AW: [OJB-developers] Documentation
Brought to you by:
thma
From: Mahler T. <tho...@it...> - 2002-02-25 10:32:47
|
Hi Joachim, > > Hy, > > we're currently looking for a good persistance layer for our > project. The > only two real candidates left are ObJectBridge and Kodo JDO. > ObJectBridge > seems to have a great design and to be powerfull enough (we > implemented a > prototype using Castor, but were quite disapointed by it's > abbilities (no > real polymorphism for example)). Our main problem with OJB at > the moment is > the pretty steep learning curve. Leraning with respect to API? Mapping? I tried the tests with MySQL > and it took > quite some work to get the tests to run (and still 2 do fail, > but that is > caused by MySQLs way to handle CLOBs (it strips spaces from > the end)). I > understand that MySQL is not a prime target, but I think many > developers > are turned away because of this. Our product should work with > all kinds of > DBs, but we use MySQL for testing (along with PostgreSQL and > MS SQL Server > (maybe Oracle later on)). I intend to write a walkthrough > from downloading > to the first persisted class (maybe a bit more, it's intended > primarily for > internal use, but I will happily contribute it if you want), because > although the tutorials are nice, they hide a lot of work needed in > build.xml and I think that the understanding of OBJ would be > greater if a > step-by-step walkthrough would be provided. > That's a great idea. OJB relies on such user contribution. We try to provide a framework that allows to work with virtually any Rdbms. But we can't support all datadases ourselves. (personally I'm working with HSQLDB, DB2 and Oracle). I just don't have any MySQL Know-how. Did you have a look at the document "how to setup OJB with a specific RDBMS" (http://objectbridge.sourceforge.net/rdbms-support.html). This document explains all steps necessary to run OJB with a given DB. > One last question: it seems that supporting other Databases is just a > matter of modifing the DDL-scripts that set up the test database and > implementing an PlatformXXXImpl (to avoid spurious warings), is this > correct? Yes. (please refer again to http://objectbridge.sourceforge.net/rdbms-support.html. The Platform interface is currently not very useful but it will allow to get along with all kind of RDBMS specific behaviour. thanks for your efforts, Thomas > > regards > Joachim Sauer > > > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > |