Impetus / kundera

A JPA 2.1 compliant Polyglot Object-Datastore Mapping Library for NoSQL Datastores.Please subscribe to:
http://groups.google.com/group/kundera-discuss/subscribe
Apache License 2.0
903 stars 233 forks source link

Schema reverse engineering, any plans? #302

Open petermetz opened 11 years ago

petermetz commented 11 years ago

Hi,

I could not find any trace of something that is similar to Hibernate tools reverse engineering => existing schema goes in, annotated entity classes come out. Not sure if some of the supported db engines are even make this possible to implement in a non ambiguous way, but I'm only interested in Cassandra.

Please point me into the right direction if there is such a thing, or let me know if you have any plans for it!

Thanks a lot in advance, Peter

mevivs commented 11 years ago

Creating such plugins are in pipeline, but nothing concrete has been planned yet. Let me know, if you have more thoughts to contribute around this.

Cheers, -Vivek

petermetz commented 11 years ago

I'll need this feature in one of my projects later on so I'd rather try to work with you guys instead of rolling out some heavily customized tool of my own. At first glance, my idea was to parse the result of the schema description which you can access by the cassandra-cli. But I read somewhere that you can get schema metadata out of some CQL statements too, not sure which one would fit better. Needs some research I guess.

Peter

logslie commented 10 years ago

Hi, I created an eclipse plugin a year ago. I have to check if it works well and add more information about the project, so it's not a stable version. This is the link: https://github.com/logslie/CassandraRE

Laura

mevivs commented 10 years ago

@logslie :+1: