【问题标题】:Azure SQLServerException posts upgradeAzure SQLServerException 发布升级
【发布时间】:2020-05-26 19:04:36
【问题描述】:

我最近从 JAVA 12 更新到 JAVA 14 并更新了很多我的库。更新版本的 spring、Azure 库等。

但是,在尝试使用这些新的花里胡哨运行我的应用程序时,我收到以下错误:

com.microsoft.sqlserver.jdbc.SQLServerException: Catalog view 'SEQUENCES' is not supported in this version.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:262)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1624)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(SQLServerStatement.java:868)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(SQLServerStatement.java:768)
    at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7194)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2979)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:248)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:223)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeQuery(SQLServerStatement.java:693)
    at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
    at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)```

Has anyone come across this before?  IF so, any ideas?

【问题讨论】:

  • 什么版本的 SQL Server?
  • 使用 Azure Datawarehouse,驱动为 ODBC Driver 17 for SQL Server

标签: sql-server azure java-14


【解决方案1】:

Azure Synapse Analytics(又名 SQL 数据仓库)不支持 CREATE SEQUENCE。您需要找到正在尝试创建序列的应用程序组件。升级 JDBC 驱动程序不会导致这种情况。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-01-17
    • 2019-03-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-09-29
    相关资源
    最近更新 更多