3
我一直在试图通过hibernate4-maven-plugin生成PostgresSQL模式,这与我为MySQL所做的相同的方式创建,但没有找到任何资源。hibernate4-maven-plugin生成PostgresSQL模式的正确配置是什么?
这是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>