Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328185 - SQL Results View should try to use column accessors
Summary: SQL Results View should try to use column accessors
Status: NEW
Alias: None
Product: Data Tools
Classification: Tools
Component: SQL Results View (show other bugs)
Version: 1.8.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dtp.sqldevtools-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 18:24 EDT by Shenxue Zhou CLA
Modified: 2011-02-18 20:46 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shenxue Zhou CLA 2010-10-19 18:24:15 EDT
Build Identifier: M20100909-0800

For standard sql types, SQL Results View displays query result nicely. But when it comes to non-standard types, for example, xml types, SQL Results View would display object references for them. 

One way to resolve this issue would be for SQL Results View to use columns accessors. That way user can supply his/her own column accessors for columns with non-standard types. I think Table editor does that.

Reproducible: Always
Comment 1 Brian Payton CLA 2011-02-18 20:46:42 EST
I think you should be able to use the resultSetViewer extension point for this.  (See resultSetViewer.exsd in the plugin org.eclipse.datatools.sqltools.result.ui.)

See also the resultSetOutputter extension point in the plugin org.eclipse.datatools.sqltools.result.