Skip to Content
author's profile photo Former Member
Former Member

PDK PortalDataViewer "Could not retrieve data"

Hi all,

I try to access to a local mysql DB to render some data in a PortalDataViewer.

But I always get an errormessage: Could not retrieve data.

Here is the relevant part of the code:



Statement std = con.createStatement();

ResultSet res = std.executeQuery("select * from company");






ISource pdvSource = portalDV.createSource(request, res);



The SQL statement is fine-when I outcomment the result- I get the data in the server output window.

But in the IView I get the errormessage Could not retrieve data.

Thanks for your help!

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Dec 09, 2003 at 11:12 AM

    Hi Antonio,

    PDV is not a magic connection tool. It is just an implementation of the table view control. if you like to connect please read the tutorial for JDBC at or the section in the J2EE Server documentation (If you use J2EE Server.

    Best Regards,


    Add comment
    10|10000 characters needed characters exceeded