2017-08-01 53 views
0

我得到了一些错误迁移从HSQL到PostgreSQL:迁移阔叶HSQL到Postgres的

2017-07-31 17:52:14.953 ERROR 7577 --- [ost-startStop-1] org.hibernate.tool.hbm2ddl.SchemaExport : ERROR: type "double" does not exist
2017-07-31 17:52:13.218 ERROR 7577 --- [ost-startStop-1] org.hibernate.tool.hbm2ddl.SchemaExport : ERROR: type "longvarchar" does not exist

回答

0

确保您已按照https://www.broadleafcommerce.com/docs/core/current/broadleaf-concepts/key-aspects-and-configuration/database-configuration/postgresql详述的所有指令。看起来你没有将部分方法改变为每个持久化单元的方言是Postgres,它仍然使用HSQL。

+0

说明是错误的,所以通过在admin default.properties中添加相同的核心设置来解决它,谢谢 –

+0

哪部分指令错误? – phillipuniverse

+0

说明适用于以前的版本,他们甚至提到不存在的文件 –