Malformed svg with Line Chart and empty results on ApEx 3.0

Hello everyone,
I'm experiencing problems here at our local ApEx installation:
If I add a line chart using a query that returns an empty result, for example,
SELECT 1 link, 2 label, 3 value FROM dual WHERE 1=2;
I get a malformed svg, and Firefox (2.0) does not display the chart but an error message.
I traced the error and found that the "no data found"-text to be displayed has a syntactical error:
<svg width="600" height="400" viewBox="-5 -5 600 400" preserveAspectRatio="none"> <text class="nodatafound" x="40" y="20">No data found.</text></g></svg>
The <g>-tag is closed although never opened. So the SVG-engine in Firefox behaves right by throwing an error message. However, internet explorer with the Adobe-plugins seems to ignore the tag and displays the correct svg image.
If using a different type of chart (i've tested with the vertical bars), the error does not occur, neither does it when the result is not empty. I've noticed though, that
the line chart seems to have problems if only one row is returned, it then
displays an empty graph.
Has anyone had the same kind of problem or is able to reproduce it, so I could file a bug report to Oracle?
Any help is appreciated,
Marc
PS: I use ApEx 3.0.0.00.20 on Oracle 9i

How can i debug ? Is anything helpful reported in the iAS logfiles?

Similar Messages

  • Different sort order with line chart and stacked column chart

    Hi,
    I have a problem with sorting within flash charts.
    The chart should be ordered by a date column.
    If I'm using a line chart everything is fine. The columns in the chart are in the same order as returned by the query.
    If I change the chart type to stacked column chart, I get a wrong order.
    It is orderd like 5, 6, 7, 8, 9, 10, 1, 2, 3, 4.
    What's wrong?
    Here the query i use:
    SELECT NULL AS link,
    TO_CHAR (zeitpunkt, 'dd.mm.yyyy'),
    MAX (DECODE (db_sid, 'TI06E', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI06E",
    MAX (DECODE (db_sid, 'TI06T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI06T",
    MAX (DECODE (db_sid, 'TI14S', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI14S",
    MAX (DECODE (db_sid, 'TI14T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI14T",
    MAX (DECODE (db_sid, 'TI16T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI16T",
    MAX (DECODE (db_sid, 'TI24K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI24K",
    MAX (DECODE (db_sid, 'TI33T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI33T",
    MAX (DECODE (db_sid, 'WF03E', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03E",
    MAX (DECODE (db_sid, 'WF03K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03K",
    MAX (DECODE (db_sid, 'WF03T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03T",
    MAX (DECODE (db_sid, 'WF05K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF05K",
    MAX (DECODE (db_sid, 'WF05T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF05T",
    MAX (DECODE (db_sid, 'WF06T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF06T",
    MAX (DECODE (db_sid, 'WF07K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF07K",
    MAX (DECODE (db_sid, 'WF07T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF07T",
    MAX (DECODE (db_sid, 'WF08K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF08K",
    MAX (DECODE (db_sid, 'WF08T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF08T",
    MAX (DECODE (db_sid, 'WF09K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF09K",
    MAX (DECODE (db_sid, 'WF09T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF09T",
    MAX (DECODE (db_sid, 'WF10K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF10K",
    MAX (DECODE (db_sid, 'WF10T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF10T",
    MAX (DECODE (db_sid, 'WG04T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WG04T",
    MAX (DECODE (db_sid, 'WT05T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WT05T"
    FROM db_performance_temp
    ORDER BY zeitpunkt ASC
    SQL> desc db_performance_temp
    Name Null? Typ
    ZEITPUNKT DATE
    DB_SID VARCHAR2(30)
    VALUE NUMBER

    I found the solution.
    Anychart seems to have a problem with null values!
    The corrupted sorting only occured for a specific set of search criteria and a specific day. At this day some values have been null.
    I added a "nvl( [...], 0) for every value.
    No I get a correct sort order.

  • Horizontal scroll bar with Line charts

    Hi,
           I want  a scrollable bar attached to x-axis as in this example(fourth one in the following URL---http://www.connectedpixel.com/blog/scrollingcharts).I able to find these feature only with ColumnCharts .Can any one tell whether can we apply the same to LineCharts .I request you to send some docs/examples of scrollbar with Line Charts
    Regards
    Kalavati
    [email protected]

    Kalavati,
    it's all fairly straightforward ActionScript stuff. Create a new ActionScript class derived from Panel. In a suitable handler create the line chart and scroll bar (HScrollbar), position them wherever you want with the x/y/height/width properties, and add them as children (otherwise they won't show up).
    I'm not sure what you're wanting to do with the scroll bar but let's suppose that at the start you show all the x-axis data (which is the default) and have the scrollbar thumb pointer at 100% (ie scrollPosition=maxScrollPosition). Then catch the scroll event. In the handler, work out the percentage across of the current position (this is a whole lot easier if you've set maxScrollPosition=100 to start with), then work out the implied change to the line chart in terms of data values. I don't know if you know in advance the data values or not, but it doesn't really matter. Suppose the horizontal axis is a LinearAxis. keep hold of the data max value along this axis for later use (say max_data_value), then do
    LinearAxis(chart.horizontalAxis).maximum = max_data_value * [the percentage worked out from the scroll bar]
    Richard

  • Issues with Line Chart

    APEX 4
    Anychart 5
    If I create a new chart region, specify a 2D Line chart, and format my query everything seems to work well. If I add a new data series the chart becomes a 2D Column Chart. I simply want two lines graphed. Once the chart is displayed as a column chart, I cannot get it to display as a Line again unless I delete the object and reconstruct it. I have tried changing it to a 2D column, 2D bar, 3d bar, etc and then change it back to a 2D Line chart and it will only display as a column chart. Anybody else seen this behavior? Anybody got an explination?

    Hi Austin,
    The default setting of the "Series Type" value to correspond with the selected Chart Type, in your case a Line chart, has been resolved as part of a fix for bug 10205497. The fix will be available in our upcoming 4.0.2 patch release. Thanks for bringing this issue to our attention.
    Regards,
    Hilary

  • Line chart and vertical line repeats according period

    Hej,
    I have line chart and horizontal axis displays many months, thus is possible to vertical line from horizontal axis be displayed after years period and be color diferent?? My example, start displays January 2007,......finish December2007->DISPLAY VERTICAL LINE as LONG TICK, start January2008....and so on... is possible to set such repeater for line chart...thank for response.

    Hi 1234alex,
    According to your description, you want to create a non-vertical target line in top of bar chart to show different target.
    In Reporting Services, it’s impossible to create a non-vertical target line in top of bar chart. Because StripLines can only return a vertical target line even we put expression to make it dynamically . In this scenario, we can show the target line as values
    and use switch() function to specify different values based on different category. Then we just need to change the chart type for that series only. However, it only support horizontal line chart type in Reporting Services, so we suggest you use column chart
    instead of bar chart. Please refer to detail steps below:
    1. On Chart Data region, set an expression looks like:
         =switch(Fields!month.value=”A”,”4”,
         Fields!month.value=”B”,”8”, 
         Fields!month.value=”C”,”2”,
         Fields!month.value=”D”,”5”)
    2. Right click expression in Chart Data region, choose Change Chart type, select a line chart.
    3. Click Preview, the results look like:
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • How to display polygons both with line contour and filled interior?

    How to display polygons both with line contour and filled interior?
    Java3D 1.3, Java 1.4.1-rc

    Hi,
    I just started with Java3D last week.
    I assume you mean drawing polygons with outlines (wireframe) in one color and polygon face filling with another color. If so, I've got the same question! (I usually think of "contour" to refers to plotting surface intensity of independent data like temperature or elevation, but I don't think you mean this.)
    The only solution I've found so far is to make two shapes with the same geometry.
    Here's an example - an outlined and filled cube. I made it using a generalize class DualShape which is two shapes with the same geometry, but one filled and one as a line.
    It works, although I can't say I understand the setPolygonOffset(), knowing what value to set. Without the command, the depthbuffer can't consistently decide which should be in front between the fills and lines so it looks bad.
    I certainly think it would be nicer to do both internally, like:
    pa.setPolygonMode(pa.POLYGON_LINE || pa.POLYGON_FILL);
    And then have setFillColor and setLineColor for each.
    I don't know why they don't allow this - maybe OpenGL can't do it like this so Java3D follows.
    If anyone has any better ideas I'd like to hear about it.
    Tom Ruen
    class DualCube extends DualShape // cube with outline and fill colors
    public DualCube(float ax, float ay, float az, //cube lower corner
    float bx, float by, float bz, //cube upper corner
    float br, float bg, float bb, //border color
    float fr, float fg, float fb) //fill color
    setGeometry(new CubeGeometry(ax,ay,az,bx,by,bz),br,bg,bb,fr,fg,fb);
    class DualShape extends BranchGroup //general shape with outline and fill colors
    Appearance ap1,ap2;
    PolygonAttributes pa1,pa2;
    ColoringAttributes ca1,ca2;
    Shape3D s1,s2;
    public void setGeometry(Geometry geo, float br, float bg, float bb, float fr, float fg, float fb)
    //filled shape:
    addChild(s1=new Shape3D(geo, ap1=new Appearance()));
    ap1.setPolygonAttributes(pa1=new PolygonAttributes()); pa1.setPolygonMode(pa1.POLYGON_FILL);
    ap1.setColoringAttributes(ca1=new ColoringAttributes()); ca1.setColor(fr,fg,fb);
    //lined (wire) shape:
    addChild(s2=new Shape3D(geo, ap2=new Appearance()));
    ap2.setPolygonAttributes(pa2=new PolygonAttributes()); pa2.setPolygonMode(pa2.POLYGON_LINE);
    ap2.setColoringAttributes(ca2=new ColoringAttributes()); ca2.setColor(br,bg,bb);
    pa2.setPolygonOffset(-1000); //Uncertain what "float" value to use!
    class CubeGeometry extends IndexedQuadArray //cube geometry data
    private static final int[] faces =
    0,3,2,1,
    0,1,5,4,
    1,2,6,5,
    2,3,7,6,
    3,0,4,7,
    4,5,6,7
    private static float[] verts = new float[24];
    public CubeGeometry(float ax, float ay, float az, //lower limit
    float bx, float by, float bz) //upper limit
    super(8, IndexedQuadArray.COORDINATES , 24);
    int n;
    n=0; verts[n]=ax; verts[n+1]=ay; verts[n+2]=az;
    n=3; verts[n]=bx; verts[n+1]=ay; verts[n+2]=az;
    n=6; verts[n]=bx; verts[n+1]=by; verts[n+2]=az;
    n=9; verts[n]=ax; verts[n+1]=by; verts[n+2]=az;
    n=12; verts[n]=ax; verts[n+1]=ay; verts[n+2]=bz;
    n=15; verts[n]=bx; verts[n+1]=ay; verts[n+2]=bz;
    n=18; verts[n]=bx; verts[n+1]=by; verts[n+2]=bz;
    n=21; verts[n]=ax; verts[n+1]=by; verts[n+2]=bz;
    setCoordinates(0, verts);
    setCoordinateIndices(0, faces);

  • While updating ipod touch 4 i got an error message now stuck with apple symbol and empty bar. can i restart ipod?

    while updating ipod touch 4 i got an error message now stuck with apple symbol and empty bar. can i restart ipod?

    - What was the error message?
    - Try closing iTunes and then disconnect the iPod from the computer. Then reconnect the iPod.  If the iPod shows in iTunes then you can try again.  However, You should try to resolve the error message first.
    - If iTunes does not see the iPod try reetting the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - I recommend that you come back with the what the error message said and the condition of the iPod and if it is visible in iTunes.

  • Line chart and Bar chart

    I have been assigned task to build the line chart and bar chart in Java. Is there any Java package that supports to draw such charts?

    btw Sabre, are you still retired, being lazy and
    playing Bridge a bit? Yes Jos, I'm still retired. Nothing yet to temp me out if retirement and I play Bridge as often as possible.
    If so,
    good you lucky old bastard. Or are you longing for
    those silly project
    managers who want all the stuff finished by
    yesterday? ;-)I always ignored them anyway!
    >
    kind regards,
    Jos
    ps "when I say 'yes' that doesn't imply I
    understood the question"
    -------a project managerI only ever met one good project manager - my bank manager! He gave me all the encouragement I needed to get a project finished on time.
    Sabre

  • Legend does not display with Line Chart

    I have a query that I wrote with Bex Query Designer v3.5.11 for a BW 3.5 system.  When I click Graphical Display tab in the query results, "Column Chart" shows a legend, showing which colors mean what.  However, when I switch to a different type of chart, such as Line Chart, Legend does not appear.  Anyone know how to make this appear?  without the legend, the chart isn't very useful.

    You can create a Web Template, Drag a Chart.
    1) Assign a query to the chart
    2) Right click over the Chart and select Edit Chart
    3) Select Chart Designer.
    4) Look for "Series" in the Overview Window
    5) Expand the Series.
    6) Activate the checkbox "Show Labels" on all the
       series that you want to have values.
    Regards
    Armando Flores

  • Chart backdrop showing exceptions with colors with line chart on top of it.

    Hi, I have the follwoing to create a query and the associated chart.
    good 90-100, fair 70-90, poor 0-70
    While I can get the chart without any issue, the customer demands the backdrop of the chart has to be
    painted with red, yellow and green colors as above ratings and a line chart then be drawn over it showing all other data, 90.2 75.1, 60.9, 82.5.....you guys get what I am saying.
    Is that possible in any of the SAP query BI tools, can you all suggest something, any other ideas.
    Thanks.

    hi,
    you can create exceptions which automatically shows result in 3 colors
      please refer:
    http://help.sap.com/saphelp_nw04s/helpdata/en/c4/274b795a809a4da0f3c991284e1cee/frameset.htm
    Regards,
    Archana

  • Color not consistent for Line Chart and Legend for prev and curryr

    Hi
    I am trying to pull last year and current year data in line chart with different color coding. I have multiple parameters selection on single chart. For some it reflects the color properly and for others it interchanges the color.
    Crystal xI R2..
    Please let me know the solution.
    Thanks

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • SSAS2008 r2 and Excel Line Chart and Date Axis

    Hi
    Excel 2010. SSAS 2008 R2
    I have a excel line chart made out from SSAS pivot table with a date dimension (date) and No of licences.
    Currently, it displays 1/Jun/2014 to 30/Jun/2015 (FY2015) and this looks really ugly. 
    While keeping the details, I'd like to display by Month-Year. 
    However, while I can do this with other normal excel data, I just can not do it with SSAS Pivot table.
    Under Axis options, I ticked 'Date axis' but it won't bring up date options. 
    I think I tried everything but just can not figure it out. I wonder if it is even possible.
    Th date dimension is recognised as date because I can apply date filter.  I want to make it neat. Can anyone help me with this please? 
    It must be 'Date' Level. 
    Kind regards

    Hi SQLMa,
    Could you please elaborate more detail regarding the "Date" dimension structure? In order to display the date format with Month-Year, we should build a hierarchy to organize the granularity of date dimension at SSAS level. Please
    refer to the documents below:
    Create a Date type Dimension:
    http://msdn.microsoft.com/en-us/library/ms174884.aspx
    Modifying the Date Dimension:
    http://msdn.microsoft.com/en-us/library/ms166578.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Area chart with line chart

    Hello again!  I would like to develep a area chart with a line chart in one chart. Is it possible with Crystal? Thanks!

    Did you mean a Trendline? If that is the case, right click on any of the areas in the area chart and select Trendlines from the context menu.

  • I am not able to print or to do a print preview with firefox 5. The problem happens with my Xerox Laser printer and also with Bullzip PDF printer. All prints are white with the printer and empty with the PDF printer.

    I have a Phaser 6280DN and Bullzip (PDF virtual printer). They work perfectly with firefox 4 and with other application on my notebook running Windows Vista. But I am not able to print with firefox 5. All prints are white or empty. My notebook is a Dell Vostro 1710 with 3GB RAM and 500GB HD.

    LytKT wrote:
    We called the internet company and from their end everything was working. 
    Your ISP can only determine that their equipment is responding to ping requests. They can determine nothing about your equipment or if theirs is communicating with it.
    Disconnect the Ethernet cable that comes from their equipment and connect it directly to a computer instead of the Extreme. If you can load web pages, it means your Internet connection is working. If not, it's not.
    Is your ISP supplying cable Internet? Sometimes it is necessary to reset your ISP's connection by disconnecting their coaxial cable that connects to their modem. Literally unscrew it and leave it detached for a minute or so, then screw it back in again and power up the modem. They call this a "full reset". I don't know how it differs from simply powering down the modem, but I have confirmed that on rare occasions doing this will reset a recalcitrant connection.
    ... however the internet bars are present on the desktop and also indicated I was connected to the internet. 
    The Wi-Fi icon "bars" show that a connection to a wireless network has been established. It conveys no information about an Internet connection that lies beyond your local network. Option-click that menu and select "Open Wireless Diagnostics..." Authenticate with your Admin name and password and click the Continue button. Some useful diagnostic information and suggestions will result.

  • Problem with store ResultSet and show result in table

    Hi, I'm kind of new in ADF, I need to store ResultSet and show result in table-component. I have two problems:
    1) I get my ResultSet by calling callStoredProcedure(...) and this returns actually ref_cursor as ResultSet.
    When I try to println() contains of this result set in this method - it works OK (commented part),
    but when I want to println() somewhere else (eg. in retrieveRefCursor() method) it doesn't work.
    The problem is that the scrollability of the ResultSet is lost - it becomes a TYPE_FORWARD_ONLY ResultSet.
    Is there any way to store data from ref_cursor for a long time?
    2) My second problem is "store any result set and show this data in table". I have tried use method storeNewResultSet() but
    without result (table contains only "No rows yet" and everything seems to be OK - no exception, no warning, no error...).
    I have tried to call this method with ResultSet from select on dbs (without resultSet as ref_cursor ) - no result with createRowFromResultSet(),
    storeNewResultSet(), setUserDataForCollection()...
    I've tried a lot of ways to do this, but it doesn't work. I really don't know how to make it so it can work.
    Thanks for your help.
    ADF BC, JDev 11.1.1.0
    This is my code from ViewObjectImpl
    package tp.model ;
    import com.sun.jmx.mbeanserver.MetaData ;
    import java.sql.CallableStatement ;
    import java.sql.Connection ;
    import java.sql.PreparedStatement ;
    import java.sql.ResultSet ;
    import java.sql.ResultSetMetaData ;
    import java.sql.SQLException ;
    import java.sql.Statement ;
    import java.sql.Types ;
    import oracle.jbo.JboException ;
    import oracle.jbo.server.SQLBuilder ;
    import oracle.jbo.server.ViewObjectImpl ;
    import oracle.jbo.server.ViewRowImpl ;
    import oracle.jbo.server.ViewRowSetImpl ;
    import oracle.jdbc.OracleCallableStatement ;
    import oracle.jdbc.OracleConnection ;
    import oracle.jdbc.OracleTypes ;
    public class Profiles1ViewImpl extends ViewObjectImpl {
        private static final String SQL_STM = "begin Pkg_profile.get_profile_list(?,?,?,?);end;" ;
        public Profiles1ViewImpl () {
        /* 0. */
        protected void create () {
            getViewDef ().setQuery ( null ) ;
            getViewDef ().setSelectClause ( null ) ;
            setQuery ( null ) ;
        public Connection getCurrentConnection () throws SQLException {
            // Note that we never execute this statement, so no commit really happens
            Connection conn = null ;
            PreparedStatement st = getDBTransaction ().createPreparedStatement ( "commit" , 1 ) ;
            conn = st.getConnection () ;
            st.close () ;
            return conn ;
        /* 1. */
        protected void executeQueryForCollection ( Object qc , Object[] params , int numUserParams ) {
            storeNewResultSet ( qc , retrieveRefCursor ( qc , params ) ) ;
            // callStoredProcedure ( qc , SQL_STM ) ;
            super.executeQueryForCollection ( qc , params , numUserParams ) ;
        /* 2. */
        private ResultSet retrieveRefCursor ( Object qc , Object[] params ) {
            ResultSet rs = null ;
            rs = callStoredProcedure ( qc , SQL_STM ) ;
            return rs ;
        /* 3. */
        public ResultSet callStoredProcedure ( Object qc , String stmt ) {
            CallableStatement st = null ;
            ResultSet refCurResultSet = null ;
            try {
                st = getDBTransaction ().createCallableStatement ( stmt , 0 ) ; // call 
                st.setObject ( 1 , 571 ) ; //set id of my record to 571
                st.registerOutParameter ( 2 , OracleTypes.CURSOR ) ; // my ref_cursor
                st.registerOutParameter ( 3 , Types.NUMERIC ) ;
                st.registerOutParameter ( 4 , Types.VARCHAR ) ;
                st.execute () ; //executeUpdate
                System.out.println ( "Numeric " + st.getObject ( 3 ) ) ;
                System.out.println ( "Varchar " + st.getObject ( 4 ) ) ;
                refCurResultSet = ( ResultSet ) st.getObject ( 2 ) ; //set Cursoru to ResultSet
                //   setUserDataForCollection(qc, refCurResultSet); //don't work
                //   createRowFromResultSet ( qc , refCurResultSet ) ; //don't work
                /* this works but only one-time call - so my resultSet(cursor) really have a data
                while ( refCurResultSet.next () ) {
                    String nameProfile = refCurResultSet.getString ( 2 ) ;
                    System.out.println ( "Name profile: " + nameProfile ) ;
                return refCurResultSet ;
            } catch ( SQLException e ) {
                System.out.println ( "sql ex " + e ) ;
                throw new JboException ( e ) ;
            } finally {
                if ( st != null ) {
                    try {
                        st.close () ; // 7. Close the statement
                    } catch ( SQLException e ) {
                        System.out.println ( "sql exx2 " + e ) ;
        /* 4. Store a new result set in the query-collection-private user-data context */
        private void storeNewResultSet ( Object qc , ResultSet rs ) {
            ResultSet existingRs = getResultSet ( qc ) ;
            // If this query collection is getting reused, close out any previous rowset
            if ( existingRs != null ) {
                try {
                   existingRs.close () ;
                } catch ( SQLException s ) {
                    System.out.println ( "sql err " + s ) ;
            setUserDataForCollection ( qc , rs ) ; //should store my result set
            hasNextForCollection ( qc ) ; // Prime the pump with the first row.
        /*  5. Retrieve the result set wrapper from the query-collection user-data      */
        private ResultSet getResultSet ( Object qc ) {
            return ( ResultSet ) getUserDataForCollection ( qc ) ;
        // createRowFromResultSet - overridden for custom java data source support - also doesn't work
       protected ViewRowImpl createRowFromResultSet ( Object qc , ResultSet resultSet ) {
            ViewRowImpl value = super.createRowFromResultSet ( qc , resultSet ) ;
            return value ;
    }

    Hi I have the same problem like you ...
    My SQL Definition:
    CREATE OR REPLACE TYPE RMSPRD.NB_TAB_STOREDATA is table of NB_STOREDATA_REC
    CREATE OR REPLACE TYPE RMSPRD.NB_STOREDATA_REC AS OBJECT (
       v_title            VARCHAR2(100),
       v_store            VARCHAR2(50),
       v_sales            NUMBER(20,4),
       v_cost             NUMBER(20,4),
       v_units            NUMBER(12,4),
       v_margin           NUMBER(6,2),
       v_ly_sales         NUMBER(20,4),
       v_ly_cost          NUMBER(20,4),
       v_ly_units         NUMBER(12,4),
       v_ly_margin        NUMBER(6,2),
       v_sales_variance   NUMBER(6,2)
    CREATE OR REPLACE PACKAGE RMSPRD.NB_SALES_DATA
    AS
    v_sales_format_tab   nb_tab_storedata;
    FUNCTION sales_data_by_format_gen (
          key_value         IN       VARCHAR2,
          l_to_date         IN       DATE DEFAULT SYSDATE-1,
          l_from_date       IN       DATE DEFAULT TRUNC (SYSDATE, 'YYYY')
          RETURN nb_tab_storedata;
    I have a PLSQL function .. that will return table ..
    when i use this in sql developer it is working fine....
    select * from table (NB_SALES_DATA.sales_data_by_format_gen('TSC',
                                        '05-Aug-2012',
                                        '01-Aug-2012') )
    it returning table format record.
    I am not able to call from VO object. ...
    Hope you can help me .. please tell me step by step process...
    protected Object callStoredFunction(int sqlReturnType, String stmt,
    Object[] bindVars) {
    System.out.println("--> 1");
    CallableStatement st = null;
    try {
    st = getDBTransaction().createCallableStatement("begin ? := " +"NB_SALES_DATA.sales_data_by_format_gen('TSC','05-Aug-2012','01-Aug-2012') ; end;", 0);
    System.out.println("--> 2");
    st.executeUpdate();
    System.out.println("--> 3");
    return st.getObject(1);
    catch (SQLException e) {
    e.printStackTrace();
    throw new JboException(e);

Maybe you are looking for

  • Airport Network goes down when copying large files to USB network drive

    My apologies if this has been covered before. This is my first post and I am new to the forums. For several months my wife and I have been using the Airport Extreme 802.11n (Gigabit Ethernet). I use Windows and she uses Leopard. We recently purchased

  • WSUS server role on Windows Server 2012 R2 - Supported SQL Configurations

    According to this page the supported SQL configurations for WSUS on Windows Server 2012/2012 R2 stop at SQL Server 2012 SP1, but there is no mention of SQL Server 2012 SP2 being supported. However, both the SCCM 2012 R2 supported configuration page a

  • Best practise to add new domain controller 2008r2 and de-promote 2003 x86

    Depending on the size of the environment and the complexity determines where the roles should be held.The PDCe role should be held on a machine that has the better hardware. It will resolve any password conflicts and account lockouts. It also keeps t

  • Audio problem with Intensity Pro + VHMulticam

    I've been able to stream using my Black Magic Intensity as the direct source straight into FMLE but uploading at 60fps is too much for my connection so the quality becomes very poor. To fix this I tried VHMulticam which allows me to reduce the framer

  • New mac user, please help!

    I was trying to download "applications" to my desktop and I'm having trouble opening them. They are al .exe files and they won't open with anything I try. What am i missing here?