Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Run DTP in stand alone mode for parsing DB2 queries
Run DTP in stand alone mode for parsing DB2 queries [message #1733495] Sat, 28 May 2016 17:12 Go to next message
sun chand is currently offline sun chandFriend
Messages: 1
Registered: May 2016
Junior Member
I am trying to run DTP in standalone mode, not as a plugin.
I able to parse generic queries but fails for db2 specific queries.
It seems like its not loading DB specific parser.

My code looks like this.
SQLQueryParserManager parserManager = SQLQueryParserManagerProvider
.getInstance().getParserManager("DB2 UDB", "v9.1");
SQLQueryParserFactory parserFactory = (SQLQueryParserFactory)parserManager.getParserFactory();
SQLQueryParseResult parseResult = parserManager.parseQuery(sql);

In debug mode I can see that's is unable to find DB specific parser and its falling back to generic parser. How can I register DB specific parser. I have the org.eclipse.datatools.enablement.ibm.db2* jars.

I am stuck, any help would be greatly appreciated.

Thanks
Re: Run DTP in stand alone mode for parsing DB2 queries [message #1735812 is a reply to message #1733495] Wed, 22 June 2016 22:47 Go to previous message
Shwetha Venkatesh is currently offline Shwetha VenkateshFriend
Messages: 15
Registered: March 2016
Junior Member
Where you able to see the Stored Procedures or Tables in DataSourceExplorer??
I facing similar issue with Postgres DB, not able to see any Stored Procedures.
Are you integrating a Debug extension for DB2???
Previous Topic:Data Soruce Explorer, No tables, only Schemas visible
Next Topic:DTP in RCP
Goto Forum:
  


Current Time: Tue Jun 19 14:56:10 GMT 2018

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

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

Back to the top