Why do I get the error message "No constructor com.mathwo​rks.toolbo​x.database​.close....​." when using the Database Toolbox 2.2.1 (R13)?

2 views (last 30 days)
Why do I get the following error message when closing my database connection when using the Database Toolbox 2.2.1(R13)?
No constructor com.mathworks.toolbox.database.closeTheDatabaseConnection with matching signature found.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Mar 2011
This error occurs if you have an invalid database connection handle. Therefore, please check that the database connection handle or object that you have is valid. You can check if it is valid by seeing if the message field of the object is populated. The message field will contain an error message that was echoed from the database you were trying connect to.
If you would rather have an error message thrown immediately if the database connection failed, then you can use the following command:
setdbprefs('errorhandling','report')

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!