Question

I was told that one can generate CRUD operations directly form the database schema using app fuse. But I was unsuccessful in doing that using it and it look very long without any clue.

One possibility is to create the models and annotate it and create CRUDs and create database tables and also populate them with dummy variables. But is it possible to do it other way round.

I have been following this tutorial provided from App Fuse. Am I doing it wrong or is it possible.

Thanks

Était-ce utile?

La solution

I would try using appfuse:gen-model:

http://static.appfuse.org/plugins/appfuse-maven-plugin/gen-model-mojo.html

Note, that AppFuse isn't great at creating relationships between classes, so you might have to do some work after it generates the code. You also might try searching the user mailing list archives:

http://appfuse.547863.n4.nabble.com/AppFuse-User-f547864.html

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top