Good day,
Though I haven't used it yet, I think Middlegen does exactly that :-)
You might want to make a maven2 plugin for it ( if you are, kindly let
me know since I'm interested in it as well :-) ).
Cheers,
Franz
On 4/16/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
I have code that creates beans and DAO classes from a live database, but
I haven't written a mojo that wraps around it. Currently there's a
Swing-application that let you configure stuff.
Daniele Dellafiore 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
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email