Hello, i think you can configure what todo in the sessionFactory <prop key="hibernate.hbm2ddl.auto">create</prop>
that way will be easier with codehaus plugin you can use also an hibernate.properties, pls check properties available for that plugin when i tried, i didnt succeeded, so i decided to configure it on the sessionFactory. for tests, i am using a different DS, with different properties hth marco On 1/16/07, Aleksei Valikov <[EMAIL PROTECTED]> wrote:
Hi. In my project, Hibernate configuration and mappings are distributed among several JARs. That is, *.hbm.cfg and *.hbm.xml are resources inside JAR artifacts rather than files. There is a war module which depends on all of these JARs. And I need to export the database schema (DDL) for this module. Unfortunatelly codehaus hibernate3 plugin that I've encountered requires Hibernate configuration as a file. Is there a way to export the database schema for the Hibernate configuration defined in several JARs with Maven? Bye. /lexi --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
