0

開発には IntelliJ を使用しています。MSSQL Server に正常に接続し、すべてのテーブルなどが読み込まれます。私はすべてのテーブルを見ることができます。ストアド プロシージャの名前と入力を確認できます。

ただし、ダブルクリックしてストアド プロシージャを編集しようとすると、次のメッセージが表示されます。

-- Definition loading failed:
-- java.sql.SQLException: The database name component of the object qualifier must be the name of the current database.
--  at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216)
--  at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1515)
--  at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(SQLServerStatement.java:792)
--  at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(SQLServerStatement.java:689)
--  at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696)
--  at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715)
--  at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180)
--  at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155)
--  at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeQuery(SQLServerStatement.java:616)
--  in RemoteStatementImpl.executeQuery(RemoteStatementImpl.java:141)
--  at com.sun.proxy.$Proxy100.executeQuery(Unknown Source)
--  in DbImplUtil.concatStringResults(DbImplUtil.java:428)

いくつかのブログでネイティブ サポートがないことを読みましたが、回避策を見つけた人はいますか?

4

1 に答える 1