Datas return from Blob data type in Sqlite

i am using sqlitejdbc-v053.jar through get SQLITE BLOB data type data. But i cannot data return from Blob type.
Error will be display from :
not implemented by SQLite JDBC driver
and point out error line
blob = rs.getBlob("NGP_REPDATA");
{try {
               Class.forName("org.sqlite.JDBC");
                conn = DriverManager.getConnection("jdbc:sqlite:test.DB");
                stmt = conn.createStatement();
                rs = stmt.executeQuery("SELECT * FROM sometable");
                System.out.println("==============");
                while(rs.next()) {
                     blob = rs.getBlob("blobDATA");//
                     is = blob.getBinaryStream();
          catch(SQLException e) {
               e.printStackTrace();
          }}any sample or solution pls give
sqlite with BLOB sample there pls give link                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

There explicitly tells you that the JDBC driver that you are using will not do the method that you are calling.
Thus you cannot use that method.
There is another way to extract blobs which involves using a stream. You can search for that.
If your blobs are actually short and only have character data then you might be able to use getString() as well.

Similar Messages

  • No data return from BI7 via MDX drvier in Crystal report

    I have:
    Windows 2000 SP4
    SAP BI7 patch level 16
    SAP GUI 710 patch level 7 (BW3.5 addon patch 3, BI 710 patch 5)
    Crystal report XI R2 SP4
    SAP_Integration_Kit_XI R2-SP4
    and the BW tranports already imported in BI7.
    I can create a report over a Bex query in Crystal report using BW Query driver and retirved datafrom BI7
    Then I tried to create a report over the same Bex query in Crystal report using MDX driver, I got no data return from BI7.
    So I used the RSRTRACE transaction to trace the log when refreshing data in Crystal report, and then go to debug the call 10- GET_CELL_DATA and I have data from the MDX excution in BI7.
    So I think Crystal report can pass the MDX query to BI7 and BI7 can excute it without any problem, the issue is no data return to Crystal report.
    Could anyone help please?
    Thanks.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\SAP]
    "TraceDir"="C :\\Crystal Report\\"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\SAP\BW MDX Query Driver]
    "Trace"="Yes"
    "ExcludeSummaries"="Yes"
    Above are the right code in Reg and I have tried "C:\" as well, but still no trace file created.
    I was create the CR MDX report via SAP tool bar (and I create 2 reports base on the same Bex query with MDX and BW query just to compare, that one via BW query return data from BW)
    Thanks a lot.
    Allen
    Edited by: Wen Allen on Aug 25, 2008 5:32 PM

  • Capturing xml data returned from a url post in a jsp page

    Hi,
    We are writing a interface which will capture data returned from an other website. The data returned will be in XML form.
    http://www.ecrm.staging.twii.net/ecrmfeed/ecrmfeedservices.sps?eCRMFeedInputXml=<twii><ecrmfeedinput><data%20method="Login"><username>[email protected]</username><password>password</password></data></ecrmfeedinput></twii>
    When the above url is executed in a browser, it required NT authentication. The username and password is getcouponed. Once the username and password is fed, we can see the output in the form of a xml. We require the xml in a String variable in a jsp page. We need to know the steps on how to execute the url in a jsp page. We used the url object to do the same, but we get a error saying "java.net.UnknownHostException: www.ecrm.staging.twii.net".
    Can anyone help?
    Regards,
    Gopinath.

    Hi,
    I would like to know if I can use the java.net package to get anything out of a website which requires authentication. In this case NT authentication.
    Thanks in advance,
    Gopinath.

  • Will any of DDL command trigger a data flush from the data buffer to disk?

    Will any of DDL command trigger a data flush from the data buffer to disk?---No.164

    I mean if I issue the DDL commands Such as DROP, TRUNCAE, CREATE, Can these commands trigger a data flush action?

  • Data deleted in ODS, data coming from the data source : 2LIS_11_VASCL

    Friends,
    I have situation :
    Data deleted in ODS, data coming from the data source : 2LIS_11_VASCL.
    when for the above ods and the data source when trying to delete the request whole data got delted.
    All the data got deleted in the fore ground. no background job has been generated for this.
    I ma really worried abt this issues. can u please tell me what should be the possibilities for this issue.
    Many Thanks
    VSM

    Hi,
    I suppose you want to know the possibilitiy of getting the data.
    If the entire data is being deleted, you can reload the data from source system.
    Load the setup table for your application. Then carry out init request.
    Please note that you would have to take a transaction-free period for carrying out this activity so that no data is missed.
    Once this is done, delta queues will again start filling up.

  • Can not retrieve cell data content From BLOB object.

    I have load Image into Georaster with Raster_Table following:
    create table rdt_1 of mdsys.sdo_raster
    (primary key (rasterId, pyramidLevel, bandBlockNumber,
    rowBlockNumber, columnBlockNumber))
    lob(rasterblock) store as (nocache nologging);
    After I load Image successful, I continue load all cell data into BLOB object by:
    DECLARE
    gr sdo_georaster;
    lb blob;
    BEGIN
    SELECT georaster INTO gr FROM georaster_table WHERE georid=2;
    dbms_lob.createTemporary(lb, FALSE);
    sdo_geor.getRasterData(gr, 0, lb);
    dbms_lob.freeTemporary(lb);
    END;
    Please give me simple PL/SQL to retrieval content from BLOB object!
    Thank You very much!
    YuMi

    BLOB stands for Binary Large OBject. However the acronym has a pleasing affinity with the actual nature of the thing. In a database a BLOB is an undiffereniated mass of bytes. We don't know whether it's a spreadsheet or a word document or an image. So there is no out-of-the-box API for treating a BLOB as it's native file type.
    Having said that there may be something in the Spatial API that works with such things - you might be better off asking the question in Spatial. Although I suspect that venue doesn't get as much through traffic as this one.
    Cheers, APC

  • Extracting text from BLOB data

    Let me start by saying that I'm flying by the seat of my pants on this and I'm neither a CR expert nor can I write SQL. Short of a little basic back on my old Apple IIe (way back when,) my programming skills are essentially nil.
    That said, here's what I'm trying to acheive.
    I have created a report that uses an ODBC connection to an Oracle database. It works fine, all the tables are properly linked and it delivers a properly functioning report. I now need to extract some text from a BLOB field. I have all the necessary tables added to the report and I've linked them as well. However, when I add an SQL expression and paste in the  SQL string that uses the function, "getprop" to try to extract the necessary text from the BLOB data, I get the error: "missing expression"
    I notice that within the SQL Expression editor, the field for the BLOB data is not listed in the table in which it resides, though the non-BLOB fields are listed. That is, when I say: select getprop(sl.blobdata,'confirmCompany'), there is no sl.blobdata field which I believe is the source of the "missing expression" error.
    If I create a new blank report and simply paste the SQL in as a command in the Database Expert, it will deliver the expected results. I get the two fields I need. This means the SQL string is fine. But, of course, all the other columns I need are not available. As I mentioned above, I can't write SQL and I have a fully functional  report that has everything except the two columns i want to add from the BLOB field.
    However if I go back to my complete report and add the SQL as a command in the Database Expert, it then asks me to link the fields to the other tables already in the report and that just doesn't work.
    I apologize for any mucked up terminology and general concept confusing statements I've made above and hope someone will be able to help me out.
    Thanks in advance.
    ~m

    So, in this case you might create a subreport that has
    "the SQL in as a command in the Database Expert, it will deliver the expected results. I get the two fields I need. This means the SQL string is fine. But, of course, all the other columns I need are not available. As I mentioned above, I can't write SQL and I have a fully functional report that has everything except the two columns i want to add from the BLOB field. "
    of course, this will return all the results, every time it gets kicked off, this is why having something to link to is handy.
    You can filter the subreport data, based on main report parameters, if that will help.

  • Function Module which will take Wekk No & Return date range (from & To dat)

    Hello everyone,
    I need a Function Module which will take Week No as an input Parameter & return me the date range
    (From date & To date of that week) .
    Thanks in advance!
    Cheers!
    Moderator message: date calculation questions = FAQ, please search before posting.
    Edited by: Thomas Zloch on Nov 2, 2010 5:25 PM

    Hi,
         Please write the below logic..
    data : v_date11 type sy-datum,
              monday    type sy-datum,
              sunday  type sy-datum,
              v_count1 type i .
    *v_count1 = 20 * 7.            "   Say U want details for 20th week , or give a parameter for week and multiply with 7*
    v_date11 = '20100101'.     "   take the starting day of the year ....
    v_date11 = v_date11 + v_count1.   " add to the date
    CALL FUNCTION 'GET_WEEK_INFO_BASED_ON_DATE'   <-- call this FM
    EXPORTING
       DATE          = v_date11
    IMPORTING
      WEEK          = WEEK
       MONDAY        = MONDAY <-- will have the week starting day
       SUNDAY        = SUNDAY
    Regards,
    Srini.

  • Data returned from cfpdf action=read

    I'm trying to figure out how to determine if a PDF retrieved using cfpdf action=read has been flattened.
    If I attempt to flatten an already-flattened PDF I get a "Source does not have any form. Cannot specify flatten for the WRITE action in the cfpdf tag" error.  So, I'd like to read a PDF and then only run the flatten code if it needs it.  But I can see from the variables returned from action=read how to determine that.
    Thanks.
    Matt

    Oops. I meant "... I can't see from the variables returned from action=read how to determine that."
    Matt

  • Data extraction from transctional data source

    Hi all,
             In bw 3.5 I am fetching data from r3 , vendor evolution(2LIS_02_S013) is name of that data source it is   transaction type data source at that time  data source(2LIS_02_S013) successfully replicate in bw
    after it i make infoarea and its charactics and attribute and then create application component and create infosource but when i assign that data source to my infosource it can't show in pop-up or say i am unable to assign it
    can anybody tel me why i am unable to assign transactional data source to my infosource

    Ok what does it say when you try to assign InfoSource? Can you tell me more.
    In the InfoSource Just on top of Transfer Structure there should be Assign DS Button click on this and assign DataSource or else Right Click on the DS and Assign InfoSource.(If you have IS created)
    Message was edited by:
            SV S

  • Calculate the date range from entered date

    HI
    My requirement is to get the data in a perticular intervals of posting date.
    Directly we can create a variable with interval on posting Date to have the required data but Here we need two have two varibles because in one varibale user enters posting date and in second variable user enters any number like 1,2,3....etc
    Let's say user enetered posting date as 30.08.2010 in the first variable and number 4 in the second variable.
    Finally out put range should be calculted from entred posting date 30.08.2010  date to four days back  
    i.e output  should be appear in the report  from 27.08.2010 to 30.08.2010.
    My question i can create first avariable on posting Date but  where shoud i create the second variable on which field.
    Please help me on this..points will be awrded.
    Regards,
    Siva Thottempudi.

    R you talking about the below to create new variable on the existing key figure
    Selecting Variables
    When you select characteristic values in the query definition, you can also select variables instead of fixed values. These act as placeholders and are only filled with fixed values when the query is executed.
    When selecting variables, you can also define new variables, change variables, or delete variables. These functions are always available to the right of the selection of the variable type.
    Selecting Variables
    1.      Choose Show ® Variables.
    2.      Under Type, select the variable type (such as Characteristic Value Variable, Hierarchy Node Variable) from which you want to select the variable.
    3.      Select one (or, in exceptional cases, more than one) variable from the list of available variables in the left window and add them (using the right arrow) to the right Selection window.
    Selecting Variable Value Range Limits
    1.      Choose Show ® Value Ranges.
    2.      Select your required operator from the dropdown box. You can choose from the following operators:
    ○       Between
    ○       Less Than or Equal to
    ○       Greater Than or Equal to
    ○       Less Than
    ○       Greater Than
    3.      Select the required value or values for the value range and choose . The input help appears in a new dialog box and displays the selection of variables under Show  ® Variables.
    4.      Under Type, select the variable type (such as Characteristic Value Variable, Hierarchy Node Variable) from which you want to select the variable.
    5.      Select the required variable and choose OK.
    6.      For the Between operator, two single values are required for the interval limits; the system automatically displays two dropdown boxes. In this case, repeat steps 3-5.
    7.      After you have set the value range, choose OK.
    8.      Add the selection to the right Selection window using the right arrow.

  • [DIAdem] How can I trace a data range from a data channel?

    Hello,
    I am looking for a way to trace a range of data from a data channel using DIAdem script.
    Right now, I can only trace an entire data channel.
    Is it possible? I do not want to split a data channel in order to trace a part of it...
    Thank you.
    Regards

    Hello Tenanio,
    I believe this will answer your question:
    I am assuming in my code that you have a VIEW layout with a sheet called "Sheet 0" which has a 2D-graph in the top area (as can be seen from the screenshot below):
    Copy this Code into SCRIPT and run it, it should display the data the way you had described:
    View.Sheets(1).Cursor.Type = "Band"
    View.CoordinateWnd.Visible = TRUE
    View.ActiveSheet.Cursor.X1 = ChD(305,"Date_Mesure")
    View.ActiveSheet.Cursor.X2 = ChD(320,"Date_Mesure")
    View.Sheets("Sheet 0").Areas("Area : 1").DisplayObj.XScalingMode = "RangeScroll"
    call wndshow("View")
     Please let me know if this works for you and if you have any additional question.
           Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • Data come from difference data source

    In my saturation, my program's data are come from difference data source. For example, the program will retrieve PO balance, material consumption, future consumption and so on. In my program logic, i retrieve all of the material number, the retrieve the PO balance, material consumption... into internal table, then loop the internal table of material number and update this table from internal table of po balance, material consumption..., but i found that the program's running time is long. How to improve the performance or any suggestion for the program logic. Thanks.

    Hi,
    Few Guildlines:
    1. program is slow mainly because Database load is too high,  try to reduce it and that load can be shared by ABAP. gotrhough SE30-perfromance tuning.
    Also, in Se30 u will get all most important Tips and tricks, follow it,...
    2. Try to find out summary table and dont try always to get data from basic tables.
    3. Try to use perfect SELECT statemetn with porper joins, which is most important in reduction of load on DB.
    4. you can make ABAP part faster, following coding standard like use of Binary search.
    5. Use SLIN to find out which part of program is taking too much time, try to reduce it.
    Hope this will guide u.
    Jogdand M B

  • Material Return from 542 movement type without purchase order

    HI Expert
    I have a problem regaring material return from vendor through 542 mov type against purchase order.
    when i transfer material to vendor with mov type 541. and after grv if we return material from vendor against purchase order.
    system doesnot allow to return material against purchase order. it allows mov type 542 for returning material from venodr without pruchase order.
    Suppose we have 10 quality for a component to transfer vendor we take grv and issue 5 qty through 543 move type automatically. if we want to take return 5 remaining qty from vendor against purchase order .
    system doesnot allow to return component from vendor against purchase order.
    but allow  to return component from vendor without purchase order.
    vendor stocks becomes less but purchase order still open for open quantity.
    how we could control vendor's returing material with the reference of purchase order after grv.
    with regards
    sanjay agrawal

    HI,
    Are you creating return Po for subcontracting vendor with item category L.?
    we used movement type 541 to send material to vendor ,now you want movement type 542 in system means take back from vendor?
    I don't think so it will make work and make any sense
    why you are not adjust your component with subcontracting adjustment in sap mm
    check following link
    [http://help.sap.com/saphelp_470/helpdata/en/4d/2b908943ad11d189410000e829fbbd/content.htm]
    Regards
    Kailas Ugale

  • Determining Date Range from Pay Date Information

    I have a table of employees with different pay dates because they are college interns and they leave at different dates, so their most recent pay date will be different. I have created a query to find the most recent pay date.  The pay periods are bi-weekly.
    I have a table called tblPayPeriods with all of the pay dates. I have created a query that pulls the most current pay date for each intern and I want to match that pay date to the pay date of the Pay Periods table and increment back twenty pay periods. 
    Once I have determined the oldest pay date I want to use that range for a calculation for average hours ultimately.  I can handle the average hours part but I'm having trouble with the pay dates part of this. Any suggestions would be appreciated. 
    Thanks!
    Here is the SQL statement to find the most current pay date for each intern:
    SELECT tblMeasurementPeriod.EENum, Max(tblMeasurementPeriod.[Pay Date]) AS [MaxOfPay Date]
    FROM tblEmployees INNER JOIN tblMeasurementPeriod ON tblEmployees.[EE Num] = tblMeasurementPeriod.EENum
    WHERE (((tblEmployees.[Measurement Period])="initial"))
    GROUP BY tblMeasurementPeriod.EENum;
    Here is the SQL statement using the query joined to the pay date table:
    SELECT qryFindLatestPayDateforINITIAL.EENum, qryFindLatestPayDateforINITIAL.[MaxOfPay Date], tblPayDate.[Pay Date]
    FROM qryFindLatestPayDateforINITIAL INNER JOIN tblPayDate ON qryFindLatestPayDateforINITIAL.[MaxOfPay Date] = tblPayDate.[Pay Date];
    Alicia Hunsberger

    You have the Intern Last Pay Date (LPD)
    You want to match that LPD to the pay date of the Pay Periods table...
    ** so the first question is - are you able to? what is the obstacle on this?
    and increment back twenty pay periods
    ** is there a fixed math you can rely on, such as subtract 180 days?...will that work to determine the pay date 20 periods previously?  it would be great if the pay periods had a sequential integer in their record - - - that would make it easy....

Maybe you are looking for

  • Imessage is not responding to my valid Apple ID

    since i updated my ipad i cannot get my imessage to work. i will recognize my apple id but will not complete the verification process with my email address and phone number. it works fine on my iphone.

  • Transport from one server to another

    Can someone please explain me on how to transfer data from one server to another? like form dev to prod? ashish

  • Creating Procedure in SQL Developer 3

    CREATE OR REPLACE PROCEDURE INSERTION_MAIN_2_SP AS MID NUMBER; BEGIN SELECT SEQ_ID.NEXTVAL INTO MID FROM DUAL; INSERT INTO MASTER_TB VALUES(MID,'AKBER','HYDERABAD','INDIA'); INSERT INTO DETAIL VALUES(SEQ_DETAIL.NEXTVAL,MID,SYSDATE,2,600,1); INSERT IN

  • Using xml rss feeds in dreamweaver

    I used dreamweaver to configure a rss feed in my webpage. One thing led to another and I was forced to reinstall my php server via xampp Now when I load the page on my computer I have this error: Fatal error: Call to undefined method domdocument::loa

  • Export query results to excel from forms

    Are there any ways to export query results to MS Excel format files from a form. Thanks.