digitalmars.D.learn - How to Generate Entities from an Existing Database in D language ORM?
Hello! I've found the following C++/Qt project: http://www.treefrogframework.org/ It contains ORM. Treefrog can generate model stubs from the existing database. Is it possible to do the same in any D language ORM library? BTW, similar situation was discussed here: http://programmers.stackexchange.com/questions/299715/using-orms-in-two-separate-programs-which-share-a-db
Feb 15 2016
On Monday, 15 February 2016 at 14:33:24 UTC, Eliatto wrote:Hello! I've found the following C++/Qt project: http://www.treefrogframework.org/ It contains ORM. Treefrog can generate model stubs from the existing database. Is it possible to do the same in any D language ORM library? BTW, similar situation was discussed here: http://programmers.stackexchange.com/questions/299715/using-orms-in-two-separate-programs-which-share-a-dbPerhaps you can use liquidbase to generate an XML or json representation and use it to generate hibernated entities. I don't know yet enough about ddbc&hibernated to say anything Bout his capacity to read the database structure. jDBC can do this, so I expect that DDBC have the same capacity.
Feb 15 2016