Can someone point me to an example of how to use hibernate3-maven-plugin to:

1. Create hibernate mapping files from POJOs. (Do I have to annotate first?))
2. Create hibernate configuration file.
3. Create db schema from 1 & 2.
4. Deploy schema to database.

Since each of these are static items executing via the maven command
line seems like a good way to go instead of binding to maven phases.

I have tried using the online docs and I always get an error of some
sort.  For example when I try to generate step 1 or 2 it fails because
I haven't set my SQL dialect/JDBC Connection.  I would assume that
this is included in 2's output so do I need to provide this in the
pom?  How?

Thanks much,
-Dave

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

    http://xircles.codehaus.org/manage_email


Reply via email to