【发布时间】:2014-06-23 03:03:51
【问题描述】:
我一直在尝试通过 hibernate4-maven-plugin 生成 PostgreSQL 模式,该模式的创建方式与我为 MySQL 所做的相同,但没有找到任何资源。
这是MySQL版本的maven插件设置:
<plugin>
<groupId>de.juplo</groupId>
<artifactId>hibernate4-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<goals>
<goal>export</goal>
</goals>
</execution>
</executions>
<configuration>
<driverClassName>com.mysql.jdbc.Driver</driverClassName>
<hibernateDialect>org.hibernate.dialect.MySQL5Dialect</hibernateDialect>
<username>testuser</username>
<password>testpasswd</password>
<url>jdbc:mysql://localhost:3306/mydb</url>
<target>BOTH</target>
</configuration>
</plugin>
【问题讨论】:
标签: hibernate postgresql maven plugins schema