I don't know the motivations of developers who did the initial work on
Mifos, but I would agree with Dion that it is likely that they took an
approach of designing the database schema first.  Usually this is done
in order to have the most control over the database schema or when a
database-centric design approach is used.

--Van

> I also wondered about that, not sure on the origins but I would guess
> Mifos started off using JDBC with native sql. Also Hibernate 2 did
> not have much tool support. Not sure?  
> 
> I have discussed this type of issue before on another project where
> the developers said they wanted full control over the schema
> modeling, normalization etc so did the ddl to domain object thing vs
> domain to schema thing.   
> 
> Also another consideration is the tie into a specific O/R mapping
> tool (and hibernate generates its own schema - which may not be as
> intuitive as a human relational design) not that these days its that
> relevant with all the reverse engineering options available.   
> 
> Dion
> 
> On Dec 26, 2007 5:28 AM, Adam Monsen <[EMAIL PROTECTED]> wrote:
>> Hibernate can do DDL (create tables, foreign keys, indexes, etc.) for
>> an entire database from .hbm.xml files, right? I suddenly became
>> curious why Mifos uses SQL (sql/latest-schema.sql and others) instead
>> of letting Hibernate do all the DDL.
>> 
>> --
>> Adam Monsen
>> 
>> 
>>
----------------------------------------------------------------------
>> --- This SF.net email is sponsored by: Microsoft Defy all challenges.
>> Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> 
> 
>
------------------------------------------------------------------------
-
> This SF.net email is sponsored by: Microsoft Defy all challenges.
> Microsoft(R) Visual Studio 2005. 
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to