Running appfuse:gen-model will generate code based on the tables in the
database. For more details on configuring the AppFuse Maven plugin take a
look here: http://www.appfuse.org/display/APF/AppFuse+Maven+Plugin and
http://static.appfuse.org/plugins/appfuse-maven-plugin/

Mike
On 10/1/07, dev dev <[EMAIL PROTECTED]> wrote:

> What is the mvn commands for reverse engineering the database structure?
>
> On 10/1/07, Michael Horwitz <[EMAIL PROTECTED] > wrote:
> >
> > Yes, you can use the AppFuse plugin to reverse engineer a database
> > structure into a set of Pojo's (it is based on the Hibernate Tools project).
> > It works, but I believe does not handle all complex relationships.
> >
> > If your application is already mapped to the relevant tables in mySql
> > and you use Hibernate, none of this is needed. Simply change your database
> > connection details and the Hibernate dialect to point to the new database.
> >
> > Mike
> >
> >
> > On 10/1/07, dev dev <[EMAIL PROTECTED]> wrote:
> > >
> > > i have a set of database tables in MySQL and want to use MiddleGen of
> > > some kinds to convert them to hibernate mapping files. Is this feature
> > > provided in AppFuse?
> > >
> > > On 10/1/07, Michael Horwitz <[EMAIL PROTECTED] > wrote:
> > > >
> > > > Do you want to simply change to use Oracle as a backend store, or do
> > > > you need to migrate data as well?
> > > >
> > > > Mike
> > > >
> > > >  On 10/1/07, dev dev <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Any easy ways to do this?
> > > > >
> > > > > Thanks
> > > > > dev
> > > > >
> > > >
> > > >
> > >
> >
>

Reply via email to