On Thu, Sep 15, 2011 at 8:52 AM, Friedrich Dominicus < [email protected]> wrote:
> Well this may be an ambigous question, but can Glorp generate a > description from an existent relationatl Database model? > > e.g assume i wouuld have > > Customer > id integer > field1 string > field2 integer > address_id foreign key into address > > address > id integer > zip .... > > And Glorp generates a Model from it? > > That's exactly the subproject DBXTools, of DBXTalk suite. So far, we have it working but I think that only with PostgreSQL. This is because we know which specific queries to send to get the metadata. Nevertheless, this is the least important part. If all the rest is done, you can just implement those queries with other database, and you should be able to get the model. We gave a talk at ESUG this year and we showed that. But I don't think there is a video yet for that :( Check the package DBXTools-CodeGeneration and the example MagritteGlorpExample in DBXTalkExamples. For more details, I think Guille or Santiago can help you more. > Regards > Friedrich > > -- > Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim > Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus > > -- Mariano http://marianopeck.wordpress.com
