Hi Thomas,

 

great, thanks a lot.

I haven't had the chance to take a close look so far.

But I had a quick look at the documentation and I was surprised by its level of 
detail.

 

Usually I am working with Oracle and SQL-Server so I cannot straight away run 
the scripts ( I might set up a MySQL db for that).

I am also quite busy at the moment and I don't have as much time as I wish I 
had.

So please give me a few days to look at it in detail before I can let you know 
what I am thinking.

 

Regards

Rainer

 

P.S. We're just about to release Empire-db 2.0.5. We just have to go though the 
formal release process.

 

 

Von: Thomas Poling [mailto:[email protected]] 
Gesendet: Samstag, 25. Juli 2009 16:13
An: [email protected]
Betreff: Code Generator

 

Greetings All:

 

Attached is the code generator to create table/record classes based on database 
schema meta-data.

Please read the Word document in the docs folder first.

I only have a MySQL database so I haven't tried to make it flexible enough to 
use with other databases.  I'm hoping someone with a little more DB experience 
can investigate what it would take to use it with other databases.

 

Please note that in the src folder all the classes under the tfmm folder are 
NOT part of the code generator.  They are mostly the code that was generated 
based on my database.  I've included the scripts for this database under the 
dbscripts folder.  You can also ignore the EnumType class for now - I wanted to 
allow conversion between constrained strings in the DB and java enumerated 
types, but haven't gotten to this yet.

 

Let me know what you think and if we might be able to use this as a starting 
point for something that could be included in a future release of EmpireDB.

 

Thanks, Tom 

Reply via email to