【问题标题】:migrating broadleaf hsql to postgres将阔叶 hsql 迁移到 postgres
【发布时间】:2018-01-07 16:52:29
【问题描述】:

我从 HSQL 迁移到 PostgreSQL 时遇到一些错误:

2017-07-31 17:52:14.953 错误 7577 --- [ost-startStop-1] org.hibernate.tool.hbm2ddl.SchemaExport:错误:类型“double”不存在
2017-07-31 17:52:13.218 错误 7577 --- [ost-startStop-1] org.hibernate.tool.hbm2ddl.SchemaExport:错误:类型“longvarchar”不存在

【问题讨论】:

    标签: postgresql hsqldb broadleaf-commerce


    【解决方案1】:

    确保您已遵循https://www.broadleafcommerce.com/docs/core/current/broadleaf-concepts/key-aspects-and-configuration/database-configuration/postgresql 中详述的所有说明。看起来您没有将每个持久性单元的方言更改为 Postgres,它仍在使用 HSQL。

    【讨论】:

    • 说明有误,所以在admin default.properties中添加相同的核心设置来解决,谢谢
    • 说明是针对以前的版本的,他们甚至提到了不存在的文件
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-03-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-23
    • 2016-07-18
    相关资源
    最近更新 更多