Another way, my preferred, is to use Hibernate's SchemaExport class and
generate the DDL to a file. As far as I can imagine, the Maven plugin and
the Ant task are just ways of using that class.
On Fri, 15 Jul 2011 17:23:49 -0300, Mark <mark-li...@xeric.net> wrote:
I'm not sure if this helps, but you should be able to generate the ddl
without using the maven plugin. So if tapestry-hibernate can talk to
the db, it should be able to create the schema.
You'll need something like:
<property name="hbm2ddl.auto">create</property>
or
<property name="hbm2ddl.auto">update</property>
in hibernate.cfg.xml
Mark
On Fri, Jul 15, 2011 at 11:31 AM, George Christman
<gchrist...@cardaddy.com> wrote:
Hello, I'm not really sure if this belongs in this mailing list, but
hopefully someone will be able to help. I'm sitting behind a firewall
and
trying to generate a ddl using hibernate3-maven-plugin. For some reason
it
tries to connect to hibernate without using proxy settings and fails.
Does
anybody happen to know how to get around this issue? Sorry if I'm
posting
this in the wrong spot.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-Hibernate-hibernate3-maven-plugin-tp4591336p4591336.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
Consultor, desenvolvedor e instrutor em Java, Tapestry e Hibernate
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org