我在调用 mySqlTableObj.init(url,user,password) 时收到此错误“访问产品对象方法时出错”
这是 lotusscript 脚本库:
Dim jsDU As New JAVASESSION
Dim mySqlTable As JAVACLASS
Dim mySqlTableObj As JAVAOBJECT
Set mySqlTable = jsDU.GetClass("org.piu.MySQLTable.MySQLObject")
Set mySqlTableObj = mySqlTable.Createobject()
Call mySqlTableObj.init(url,user,password)
Set getMySQLTableObject = mySqlTableOBJ
这是java脚本库:
public void init( String url, String un,String pd) {
this.url = url;
this.un = un;
this.pd = pd;
}
我不会一直收到这个错误。有时它不会出现,有时它会出现。谁能帮我这个?
谢谢!