dbTalk Databases Forums  

generator tool for ddl and Table / c++ class mapping via odbc

comp.databases comp.databases


Discuss generator tool for ddl and Table / c++ class mapping via odbc in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
reppisch
 
Posts: n/a

Default generator tool for ddl and Table / c++ class mapping via odbc - 03-20-2007 , 03:10 AM






Hi Ng,

still the old object persistency problem. I'd like to have generator
support for accessing rdbm's.
Maybe some of you can give me a hint what to use.

I've allready looked at several projects like
- OTL,
- DTL (would be nice if it worked with postgres)
- sqlWraped / sql2class
- soci
- mygeneration
- Libodbc++
but none of them seemd to fit perfectly :-}

The tool or toolchain should (as a ideal solution :-) generate the
following from a Data-Dictionary or any other kind of meta-data repository:

- ddl (create/drop/alter table, indexes,foreign keys) for different
target rdbm's.
- c-Structs or c++ classes (flat) representing the table layout.
- access-methods to the tables for select,insert,update,delete with
paramterized where conditions (preferably via odbc)
- for types like: int,short,bool,varchar,timestamp including NULL's
maybe enum's
- need to handle multiple dbm-connections in one process (no embedded sql)
- loosing the db-connection should be recoverable
- lib or generator should be stable for win32 and linux.
- nice to have: user defined templates for the generator to adjust output
- nice to have: gui based design tool like mysql-Workbench
- nice to have: strawberry-taste


Maybe i have to write a generator myself. In that case: does somebody
know a powerfull and easy to use template engine?

Regards,

Michael

btw: i didn't find a faq for this ng

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.