The hibernate3-maven-plugin has this feature, look at it's hbm2java goal.

http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/

Matt

On 4/16/07, Daniele Dellafiore <[EMAIL PROTECTED]> wrote:
Hi. I am writing code that pick a schema from an existing DB and
creates plain java files. I want to create some value beans that
represent the data in the DB, some class like

class Album {
 private String author
 private String title
}

and relatives getters/setters from a DB that has a table named
"albums" with columns "author" and "title".
I would like to develop a mojo with this feature. I am wondering if
there is already something similar. I have found nothing but maybe my
search has not been enough complete. Does a similar mojo already
exists?

Thanks.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to