[OJB-developers] Advice on DBMS naming needed
Brought to you by:
thma
From: Oleg N. <on...@uk...> - 2002-05-30 21:51:00
|
Hi, Some time ago DBMS settings where in repository.xml and their names where in mixed case: MySQL, Hsqldb, and so on. Platform class name where defined as "Platform" + dbms_name + "Impl", e.g. PlatformMySQLImpl, PlatformHsqldbImpl, and so on. Then DBMS settings have moved to profile/*.profile and for some reason their names became lowercase: dbmsName=mysql dbmsName=hsqldb At some point I changed the algoritm for Platform names to "Platform" + pf.substring(0, 1).toUpperCase() + pf.substring(1) + "Impl"; so that it handled Hsqldb correctly. But now I see that this is not enough. I guess that the recently reported problem with MySQL may be due to this. I propose to return to the original DBMS names with mixed case and to original Platform class name algorithm. Thus I am going to write dbmsName=MySQL dbmsName=Hsqldb in profile files. Any objections? And BTW the correct DBMS names should be listed in the documentation. Oleg |