Is there a way I can generate a database schema from an erlang application like I can do with hibernate.
+1
A:
I assume you mean Mnesia, and if that is the case, you don't really understand the nature of the Mnesia database. It is by its very design and implementation "schemaless". You might could write some really messy ugly code that walked a Mnesia database and tried to document the various records that are in it, but that would be pretty much a futile exercise. If you are storing Records in Mnesia, you already have the "schema" in the .hrl files that the Records are defined in.
fuzzy lollipop
2009-12-17 03:30:09
Thanks, but I don't mean Mnesia. I haven't read much about Erlang, but i know the fusion between the language and Mnesia is just fantastic. However, I'm concerned about more traditional databases like mysql, oracle. Even though as a programmer I won't have problems designing with Mnesia, it's not yet a very popular strategy, and most clients still prefer dealing with what they already know. However, I recognize the power of erlang and i'm interested in it
Emotu Balogun
2009-12-17 08:10:36