Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

_GetDB error

Hello,

I am using the below example:
// config...
var $dbServer = "pc-gimad";
var $dbUser = "user";
var $dbPass = "password";
var $dbName = "IMTS";

// create a handle object...
var $db = _getDB("com.microsoft.sqlserver.jdbc.SQLServerDriver","jdbc:sqlserver://"+$dbServer+";databaseName="+$dbName+"", $dbUser, $dbPass);
// get all rows from a table...
var $rows = $db.select("Select * from SEC_User");

and I am getting this error:
ERROR
Java constructor for "net.sf.sahi.plugin.DBClient" with arguments "string,string,string,string" not found. at Jun 15, 2015 3:18:55 PM

would you please let me know how I can fix this issue?

Best Regards,

Answers

  • I am also having the same problem after upgrading ti OS v5. when trying to connect to a postgres server. It used to work just fine before. The exception occurs when trying to execute a select statement.
  • I am also having the same problem after upgrading ti OS v5. when trying to connect to a postgres server. It used to work just fine before. The exception occurs when trying to execute a select statement.
Sign In or Register to comment.