retrive data from database

froster
edited February 11, 2022 in Analytics #1
I had a strange problem today: in my dataset event handler class I have this code:

String content = (String)row.getColumnValue(3);
String key = row.getColumnValue (2).toString();

neither of them works. The value store in those columns are big int, such as 5,000,000,001,244 . I am not sure if that is the correct way to get them. I need to store them in the hash table...Thanks!

Comments

  • averma
    edited December 31, 1969 #2
    Hi froster:
    You will need to extend your event handler class from DataSetEventAdapter and override onFetch method. I am attaching a report sample along with event handler class. Report expects the data.csv file in C:temp folder.
    Hope this helps..

    Ashwini
    Warning No formatter is installed for the format ipb