home list archives users mailing list

Subject: Re: 2 questions with DAI 3.

Date view Thread view Subject view Author view Attachment view

From: Isao Kojima (kojima@ni.aist.go.jp)
Date: Dec 06, 2007 02:13

Hi,

Thank you for 2) and we now found the reason for 1).

For 1) , We checked /etc/dai/resources/MySQLDataResource files and found "s" is
attached to SQLbulkloadTuple activity entry as follows.

-------------
id=MySQLDataResource
type=uk.org.ogsadai.DATA_RESOURCE
creationTime=null
terminationTime=null
PROPERTIES
uk.org.ogsadai.resource.dataresource.product=MySQL
uk.org.ogsadai.resource.dataresource.vendor=MySQL
uk.org.ogsadai.resource.dataresource.version=5
END
CONFIG
dai.driver.class=org.gjt.mm.mysql.Driver
dai.data.resource.uri=jdbc:mysql://localhost:3306/ogsadai_db
dai.login.provider=uk.org.ogsadai.LOGIN_PROVIDER
END
ACTIVITIES
uk.org.ogsadai.SQLQuery=uk.org.ogsadai.SQLQuery
uk.org.ogsadai.SQLUpdate=uk.org.ogsadai.SQLUpdate
uk.org.ogsadai.SQLBulkLoadTuple=uk.org.ogsadai.SQLBulkLoadTuples <=====HERE!
uk.org.ogsadai.GetAvailableTables=uk.org.ogsadai.GetAvailableTables
uk.org.ogsadai.SQLParameterisedQuery=uk.org.ogsadai.SQLParameterisedQuery
uk.org.ogsadai.SQLParameterisedUpdate=uk.org.ogsadai.SQLParameterisedUpdate
uk.org.ogsadai.ExtractTableSchema=uk.org.ogsadai.ExtractTableSchema
END
dataResourceClass=uk.org.ogsadai.resource.dataresource.jdbc.JDBCDataResource

---
If we cut "s" , there was no problem. We wonder the  template  file is wrong.
Please check.
Regards
Isao

Date view Thread view Subject view Author view Attachment view