首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Postgresql的Liquibase addAutoIncrement错误

Postgresql的Liquibase addAutoIncrement错误
EN

Stack Overflow用户
提问于 2017-07-23 05:43:14
回答 1查看 294关注 0票数 1

我有一个问题时,试图创建自动增量与液体基地与弹簧启动与以下错误

代码语言:javascript
复制
<addAutoIncrement 
        columnDataType="bigint"
        columnName="id"
        incrementBy="1"
        startWith="4"
        tableName="jhi_user" />



Caused by: org.postgresql.util.PSQLException: ERROR: cross-database references are not implemented: "public.public.jhi_user_id_seq"
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:303)
at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:289)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:266)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:262)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:95)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:307)
... 17 common frames omitted
EN

回答 1

Stack Overflow用户

发布于 2018-10-19 16:23:13

我刚刚遇到了同样的问题。降级到3.5.1对我很有帮助。

这可能是您的问题:

https://liquibase.jira.com/browse/CORE-2975

编辑: 3.5.5也适用

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/45259495

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档