Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Resultset problem using db2 with Eclipse BIRT
icon4.gif  Resultset problem using db2 with Eclipse BIRT [message #516830] Thu, 25 February 2010 10:03 Go to next message
prodigy  is currently offline prodigy Friend
Messages: 1
Registered: February 2010
Junior Member
Hello,

I am using db2 as databse server with Eclipse BIRT for generating reports. (I have created db2inst1 as an instance).
I have successfully installed and added required db2 jar files for successful jdbc connection.

So I could create datasource without any problem too. But I failed to create dataset with the following error.

(P.S. - I have used simple select statement as : "select * from DB2INST1.APPLI_MAP" to get resultset. APPLI_MAP is some table)

A BIRT exception occurred.
Plug-in Provider:Eclipse.org
Plug-in Name:BIRT Data Engine
Plug-in ID:org.eclipse.birt.data
Version:2.5.1.v20090826
Error Code:odaconsumer.CannotGetResultSetMetaData
Error Message:Cannot get the result set metadata.
SQL statement does not return a ResultSet object.
SQL error #1: DB2 SQL Error: SQLCODE=-104, SQLSTATE=42601, SQLERRMC=;;m DB2INST1.APPLI_MAP;END-OF-STATEMENT, DRIVER=3.50.152
SQL error #2: DB2 SQL Error: SQLCODE=-727, SQLSTATE=56098, SQLERRMC=2;-104;42601;;|m DB2INST1.APPLI_MAP|END-OF-STATEMENT, DRIVER=3.50.152
SQL error #3: DB2 SQL Error: SQLCODE=-727, SQLSTATE=56098, SQLERRMC=2;-104;42601;;|m DB2INST1.APPLI_MAP|END-OF-STATEMENT, DRIVER=3.50.152


I would be very thankful if anybody hepls me out in this issue.

Thanks,
prodigy..


Re: Resultset problem using db2 with Eclipse BIRT [message #517051 is a reply to message #516830] Thu, 25 February 2010 22:05 Go to previous message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 94
Registered: November 2009
Member
Did you test the DB connection when you created the datasource? Can you execute that query in Toad or Squirrel against the DB?
Previous Topic:Image Problem after update from 2.3.2 to 2.5.1
Next Topic:Location Intelligence Whitepaper
Goto Forum:
  


Current Time: Fri Apr 26 12:31:26 GMT 2024

Powered by FUDForum. Page generated in 0.02682 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top