0

我正在尝试使用以下 jdbcConnector 将此数据保存到数据库中,但出现无法调度事件的错误。

     <jdbc:connector name="DatabaseConnector" dataSource-ref="datasource" > 
        <jdbc:query key="insertVolumeDetails" value="insert into VolumeSearchInfo 
       ( Id, 
        subCategoryId, 
        subCategoryDetailId, 
        classification, 
        Author,
        ISBN,
        createdDate,
        createdBy,
        updatedDate,
        updatedBy
        )
        VALUES(#[Long.valueOf(xpath('Document/Heading/Id'))],
        #[Long.valueOf(xpath(&quot;Document/Title/SubCategoryId/SubCategoryId[text()`enter code here`='EDFL']/../Manuscript/text()&quot;))],
        #[xpath('Document/Catalog/SubCategory/SubCategoryDetails/SubCategoryDetailId/text()'],
        #[xpath('Document/Catalog/SubCategory/SubCategoryDetails/Topic/classification/text()'],
        #[xpath('Document/Catalog/SubCategory/SubCategoryDetails/Author/text()'],
        #[xpath('Document/Catalog/SubCategory/SubCategoryDetails/ISBN/text()'],
        #[function:now],
        #[server.userName],
        #[function:now],
        #[server.userName])">
        </jdbc:query>  
    </jdbc:connector>

有谁知道问题是什么,Mule 确实提供了很多信息,即使我设置了

mule.exception.verbose 为真。上面的连接器确实连接到数据库,但
无法使用上面的 JDBCConnector 插入数据。

4

0 回答 0