Why does a SQL query returns {No Data} with a JDBC complaint database when using MATLAB R2015b?

Why does a SQL query returns {No Data} with a JDBC complaint database when using MATLAB R2015b?
This was observed with the JayBird database.

 採用された回答

MathWorks Support Team
MathWorks Support Team 2017 年 2 月 24 日
This is because of a known bug in MATLAB R2015b which is fixed in MATLAB R2016a.
To workaround this issue, please execute the following command before performing an 'exec' operation:
>>set(conn, ‘AutoCommit’, ‘off’)
>>curs = exec(conn, ‘…’)
>>curs = fetch(curs);
>>curs.Data
 

その他の回答 (0 件)

カテゴリ

製品

リリース

R2015b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by