Posted: Thu Apr 30, 2015 3:33 am Post subject: Database Retrive Node with DB view
Apprentice
Joined: 25 Aug 2013 Posts: 39
Dear all,
I am using Database Retrive node with JDBC connection to SQL Server 2008.
I am connected sucessfully and node is working fine with Table Object.
BUT, when i put a View name that contain just one column which contain an string of 304 chararcter (assembeled by concatination inside view) it gives me below error:
ExceptionList
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\MessageServices\ImbDataFlowNode.cpp
Line:INTEGER:1155
Function:CHARACTER:ImbDataFlowNode::createExceptionList
Type:CHARACTER:ComIbmDatabaseRetrieveNode
Name:CHARACTER:AlertRegistration_CRMtoT24#FCMComposite_1_5
Label:CHARACTER:AlertRegistration_CRMtoT24.Database Retrieve
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Node throwing exception
Insert
Type:INTEGER:14
Text:CHARACTER:AlertRegistration_CRMtoT24.Database Retrieve
DatabaseException
File:CHARACTER:JDBCCommon.java
Line:INTEGER:566
Function:CHARACTER:JDBCStatement::processResults
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:6238
Text:CHARACTER:Problem encountered processing results set, unsupported type: nvarchar for column: FixRegFormat
Insert
Type:INTEGER:5
Text:CHARACTER:Broker 'IIBDEV'; Execution Group 'default'; Message Flow 'AlertRegistration_CRMtoT24'; Node 'Database Retrieve'; Node Type 'DatabaseRetrieve
Insert
Type:INTEGER:5
Text:CHARACTER:SELECT r.FixRegFormat FROM vw_IIB_AlertRegistration r WHERE r.FixRegFormat IS NOT NULL ORDER BY r.FixRegFormat ASC
Insert
Type:INTEGER:5
Text:CHARACTER:nvarchar
Insert
Type:INTEGER:5
Text:CHARACTER:FixRegFormat
it is mentioning something that the retrived data has more character than the datatype supported... but the question is i have not put datatype anywhere in DATA ELEMENT properties niether in QUERY ELEMENTS. what is the correct data type and where should i set it to fix the error..?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum