How can I Insert a BLOB into a Table from Java?

I have a Java class that creates an xml file from data in a non-sql data source. After it successfully creates and saves the file it inserts a record into an Oracle table to log the fact that an xml file was created.
Now the guy in the warehouse wants to get an email with the file attached. I have been looking into the apex_mail package, because we already have a procedure using htmldb_mail. However, that procedure is on our old server with HTMLDB 1.6 and it is not sending any attachments.
I think I have most of the apex_mail worked out, but I'm stuck on the blob thing. This is what I have so far:
* The Java program creates a String object called xmlDoc
* After xmlDoc is fully constructed, the file is written to the (Linux) server. This is accomplished with the following:
// writing the xmlDoc
fileDest = "/home/ewh/XMLOUT/";
fileName = "OrderEW_"\+orderNbr\+"_"\+ticketNbr\+".xml";
FileWriter fstream = new FileWriter(fileDest+fileName);
BufferedWriter out = new BufferedWriter(fstream);
out.write(xmlDoc);
out.close();
* Next I insert a record into the log file with:
// Add a record to the Oracle order_email table to let the mail process know that
// a new xml file is ready to be e-mailed to operations.
emailLogInsertQuery = " insert into ewh.order_email ( file_name, create_date ) ";
emailLogInsertQuery += " values ('"\+fileName\+"', sysdate)";
oraAction = oraStmt.executeUpdate( emailLogInsertQuery );
All of this is working fine so far. Now, I have added a blob type field to the order_email table, but I have no idea what to stick in there so that I have everything that apex_mail.add_attachment needs.
Here's a description of the order_email table:
SQL> desc ewh.order_email;
Name Type Nullable Default Comments
FILE_NAME VARCHAR2(30) Y
FILE_BLOB BLOB Y
CREATE_DATE DATE Y
SEND_DATE DATE Y
Thanks ever so much,
Gregory
Edited by: Canis Polaris on Jun 10, 2009 2:10 PM - Added escapes as necessary to show the plus signs around Java variables.

Hi,
From within APEX one can enter blob data in database tables, view the data and also update the data. Also one can send a blob attachment in an email.
May be you can follow a combination of the following OBEs to insert BLOB data and send BLOB data from APEX:
http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm
http://www.oracle.com/technology/obe/apex/apex31nf/apex31email.htm
-Priyanka

Similar Messages

  • How can I import a movie into iMovie 09 from a hard drive?  The movie will open and play in idvd but breaks into separate files that can't be downloaded when I try to import.  Can it be done?

    How can I import a movie into iMovie 09 from a hard drive?  The movie will open and play in idvd but breaks into separate files that can't be downloaded when I try to import.  Can it be done? I am trying to create a disc of player highlights for a collegiate coach, and I am using movie files downloaded to my hard drive from a DVD created on a PC. 

    No unfortunately it won't open in quicktime either.  It does the same thing that Imovie does, separates it into two file folders audio and video, and if i select video it opens to reveal 8 files that cannot be selected.  VIDEO_TS.BUP, VIDEO_TS.IFO, VIDEO_TS.VOB,VTS_01_0.BUP, VTS_01_0.IFO, VTS_01_1.VOB, VTS_01_2.VB, VTS_01_3.VOB.  All of which cannot be opened or selected.
    Opening it in Idvd and folllowing your suggestion works and I get a format code of NTSC.  Is that the same?  Thank you for your time and response.
    CaCanuck

  • Insert Multiple rows into the table from that table data

    Hi All,
    I have a requirement like to insert mulitple rows into the table from that table data only(I need to replicate the data).
    In this table primary key is composite primary key with all foreign keys.primary key also including the Date foreign key.I need to change that date at the of insertion.
    INSERT
    INTO myschema.Fact_page_performance
    time_sk ,
    batch_id ,
    delta_msec ,
    delta_user_msec,
    error_code_sk ,
    content_errs ,
    element_count ,
    page_bytes ,
    Available ,
    date_sk
    VALUES
    (SELECT time_sk ,
    batch_id ,
    delta_msec ,
    delta_user_msec,
    error_code_sk ,
    content_errs ,
    element_count ,
    page_bytes ,
    Available
    FROM myschema.FACT_PAGE_PERFORMANCE_BACKUP
    WHERE date_sk=20090509,20090510
    But it is giving the error like missing Expression.
    Could anyone please help to me.
    Thanks and Regards
    Swetha.

    You can have either VALUES or SELECT not both
    INSERT
    INTO myschema.Fact_page_performance
    time_sk ,
    batch_id ,
    delta_msec ,
    delta_user_msec,
    error_code_sk ,
    content_errs ,
    element_count ,
    page_bytes ,
    Available ,
    date_sk
    SELECT time_sk ,
    batch_id ,
    delta_msec ,
    delta_user_msec,
    error_code_sk ,
    content_errs ,
    element_count ,
    page_bytes ,
    Available
    FROM myschema.FACT_PAGE_PERFORMANCE_BACKUP
    WHERE date_sk=20090509,20090510;

  • How can i pass the  parameter for strored procedure from java

    dear all,
    I am very new for stored procedure
    1. I want to write the strored procedure for insert.
    2. How can i pass the parameter for that procedure from java.
    if any material available in internet create procedure and call procedure from java , and passing parameter to procedure from java

    Hi Ram,
    To call the callable statement use the below sample.
    stmt = conn.prepareCall("{call <procedure name>(?,?)}");
    stmt.setString(1,value);//Input parameter
    stmt.registerOutParameter(2,Types.BIGINT);//Output parameter
    stmt.execute();
    seq = (int)stmt.getLong(2);//Getting the result from the procedure.

  • How can i measure BAPI runtime which has called from JAVA

    Hi abapers
    how can i get run time for BAPI called from JAVA through JCO.
    i know that i can use SE30 from ABAP by executing from SAP.
    may be ST05 useful for me i did it but when display trace
    i am getting big list by seeing this list i am not able to find the runtime for that BAPI.
    please any one can explain
    reagdrs
    ramesh

    Hi Ramesh,
       Irrespective of whether the call is from an external system or within sap, the bapi will be executed in R/3 only.
    So, you can safely measure the runtime using se30 only.
    If it is taking more time when called from JCo , then you can be sure that the problem is not with SAP and is actually due to the JCo connectivity with R/3.
    Regards,
    Ravi

  • Urgent -please- how can I insert my context into proxy request ?

    here is par of my request after I have transformed it, to the bs request.
    Routed Service
              Route to: "SkatEtilAndelsbogAnmeldelseSvarService"
         $outbound:
         <con:endpoint      name="BusinessService$dk.skat.etil$bz$SkatEtilAndelsbogAnmeldelseSvarService" xmlns:con="http://www.bea.com/wli/sb/context">
         <con:service>
         <con:operation>getAnmeldelseKvitteringModtag</con:operation>
         </con:service>
         <con:transport>
         <con:mode>request-response</con:mode>
         <con:qualityOfService>best-effort</con:qualityOfService>
         <con:request      xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <tran:headers      xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
         <http:Content-Type>text/xml</http:Content-Type>
         <http:SOAPAction>
         "http://skat.dk/etil/2011/02/11/getAnmeldelseKvitteringModtag"
         </http:SOAPAction>
         </tran:headers>
         </con:request>
         </con:transport>
         <con:security>
         <con:doOutboundWss>true</con:doOutboundWss>
         </con:security>
         </con:endpoint>
         $body (request):
         <soapenv:Body      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <ns:Kontekst      xmlns:ns20="http://skat.dk/etil/2011/02/11/" xmlns:ns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/">
         <TransaktionsID>34c768d8-4f6d-4194-93b7-e77ffa8c76e6</TransaktionsID>
         <TransaktionsTid>2011-06-30T14:40:15.105+02:00</TransaktionsTid>
         </ns:Kontekst>
         <ns:AnmeldelseKvitteringModtag_I      xmlns:ns="http://skat.dk/etil/2011/02/11/">
         <ns1:AnmeldelseKvitteringModtag      xmlns:ns1="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">
    my problem is how can I insert the
    <ns:Kontekst      xmlns:ns20="http://skat.dk/etil/2011/02/11/" xmlns:ns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/">
         <TransaktionsID>34c768d8-4f6d-4194-93b7-e77ffa8c76e6</TransaktionsID>
         <TransaktionsTid>2011-06-30T14:40:15.105+02:00</TransaktionsTid>
         </ns:Kontekst>
    inside
    <ns:AnmeldelseKvitteringModtag_I      xmlns:ns="http://skat.dk/etil/2011/02/11/">
    The context is generated using this:
    <ns:Kontekst xmlns:ns20="http://skat.dk/etil/2011/02/11/">
    <TransaktionsID>{fn-bea:uuid()}</TransaktionsID>
    <TransaktionsTid>{fn:current-dateTime()}</TransaktionsTid>
    </ns:Kontekst>

    request before context:
    <ns2:AnmeldelseKvitteringModtag xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">
    <ns:AnmeldelseIdentifikator>string</ns:AnmeldelseIdentifikator>
    <ns:AktoerReference>
    <ns:AktoerID>string</ns:AktoerID>
    <ns:KorrelationID>string</ns:KorrelationID>
    </ns:AktoerReference>
    <!--Optional:-->
    <ns:SagsReference>string</ns:SagsReference>
    <ns1:KoeIndikator>false</ns1:KoeIndikator>
    <ns1:ProeveTinglysningIndikator>true</ns1:ProeveTinglysningIndikator>
    <xd:Signature Id="string">
    <xd:SignedInfo Id="string">
    <xd:CanonicalizationMethod Algorithm="http://www.your.org/aeoliam/quae">
    ventos
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    verrantque
    </xd:CanonicalizationMethod>
    <xd:SignatureMethod Algorithm="http://www.sample.org/turbine/circum">
    regemque
    <!--Optional:-->
    <xd:HMACOutputLength>100</xd:HMACOutputLength>
    nimborum
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    fremunt
    </xd:SignatureMethod>
    <!--1 or more repetitions:-->
    <xd:Reference Id="string" URI="http://www.my.com/profundum/sceptra" Type="http://www.test.com/iovis/flammato">
    <!--Optional:-->
    <xd:Transforms>
    <!--1 or more repetitions:-->
    <xd:Transform Algorithm="http://www.sample.com/bella/nubibus">
    flammas
    <!--You have a CHOICE of the next 2 items at this level-->
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    <xd:XPath>string</xd:XPath>
    ac
    </xd:Transform>
    </xd:Transforms>
    <xd:DigestMethod Algorithm="http://www.my.com/ac/caelumque">
    speluncis
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    circum
    </xd:DigestMethod>
    <xd:DigestValue>YXJpcw==</xd:DigestValue>
    </xd:Reference>
    </xd:SignedInfo>
    <xd:SignatureValue Id="string">Y29uaXVueA==</xd:SignatureValue>
    <!--Optional:-->
    <xd:KeyInfo Id="string">
    praeterea
    <!--You have a CHOICE of the next 8 items at this level-->
    <xd:KeyName>string</xd:KeyName>
    <xd:KeyValue>
    arce
    <!--You have a CHOICE of the next 3 items at this level-->
    <xd:DSAKeyValue>
    <xd:P>Y2xhdXN0cmE=</xd:P>
    <xd:Q>Y2lyY3Vt</xd:Q>
    <!--Optional:-->
    <xd:G>aW1wZXJpbw==</xd:G>
    <xd:Y>Y2VydG8=</xd:Y>
    <!--Optional:-->
    <xd:J>cXVpc3F1YW0=</xd:J>
    <xd:Seed>ZXQ=</xd:Seed>
    <xd:PgenCounter>YWM=</xd:PgenCounter>
    </xd:DSAKeyValue>
    <xd:RSAKeyValue>
    <xd:Modulus>ZmV0YQ==</xd:Modulus>
    <xd:Exponent>YWM=</xd:Exponent>
    </xd:RSAKeyValue>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    sed
    </xd:KeyValue>
    <xd:RetrievalMethod URI="http://www.test.org/pectore/austris" Type="http://www.your.gov/certo/dare">
    <!--Optional:-->
    <xd:Transforms>
    <!--1 or more repetitions:-->
    <xd:Transform Algorithm="http://www.any.com/volutans/dedit">
    faciat
    <!--You have a CHOICE of the next 2 items at this level-->
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    <xd:XPath>string</xd:XPath>
    magno
    </xd:Transform>
    </xd:Transforms>
    </xd:RetrievalMethod>
    <xd:X509Data>
    <!--You have a CHOICE of the next 6 items at this level-->
    <xd:X509IssuerSerial>
    <xd:X509IssuerName>string</xd:X509IssuerName>
    <xd:X509SerialNumber>100</xd:X509SerialNumber>
    </xd:X509IssuerSerial>
    <xd:X509SKI>ZXQ=</xd:X509SKI>
    <xd:X509SubjectName>string</xd:X509SubjectName>
    <xd:X509Certificate>YWM=</xd:X509Certificate>
    <xd:X509CRL>ZXQ=</xd:X509CRL>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    </xd:X509Data>
    <xd:PGPData>
    <!--You have a CHOICE of the next 2 items at this level-->
    <xd:PGPKeyID>cmVnZW1xdWU=</xd:PGPKeyID>
    <!--Optional:-->
    <xd:PGPKeyPacket>YW5ub3M=</xd:PGPKeyPacket>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    <xd:PGPKeyPacket>aW5maXhpdA==</xd:PGPKeyPacket>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    </xd:PGPData>
    <xd:SPKIData>
    <xd:SPKISexp>dmVudG9z</xd:SPKISexp>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    </xd:SPKIData>
    <xd:MgmtData>string</xd:MgmtData>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    tenens
    </xd:KeyInfo>
    <!--Zero or more repetitions:-->
    <xd:Object Id="string" MimeType="string" Encoding="http://www.my.org/rapidum/habenas">
    insuper
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    mollitque
    </xd:Object>
    </xd:Signature>
    </ns2:AnmeldelseKvitteringModtag>
    This is after the transformation.
    Routed Service
              Route to: "SkatEtilAndelsbogAnmeldelseSvarService"
         $outbound:
         <con:endpoint      name="BusinessService$dk.skat.etil$bz$SkatEtilAndelsbogAnmeldelseSvarService" xmlns:con="http://www.bea.com/wli/sb/context">
         <con:service>
         <con:operation>getAnmeldelseKvitteringModtag</con:operation>
         </con:service>
         <con:transport>
         <con:mode>request-response</con:mode>
         <con:qualityOfService>best-effort</con:qualityOfService>
         <con:request      xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <tran:headers      xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
         <http:Content-Type>text/xml</http:Content-Type>
         <http:SOAPAction>
         "http://skat.dk/etil/2011/02/11/getAnmeldelseKvitteringModtag"
         </http:SOAPAction>
         </tran:headers>
         </con:request>
         </con:transport>
         <con:security>
         <con:doOutboundWss>true</con:doOutboundWss>
         </con:security>
         </con:endpoint>
         $body (request):
         <soapenv:Body      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <ns:Kontekst      xmlns:ns20="http://skat.dk/etil/2011/02/11/" xmlns:ns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/">
         <TransaktionsID>93235d7a-131d-45a7-a36b-34fd9c83343f</TransaktionsID>
         <TransaktionsTid>2011-06-30T15:35:55.567+02:00</TransaktionsTid>
         </ns:Kontekst>
         <ns:AnmeldelseKvitteringModtag_I      xmlns:ns="http://skat.dk/etil/2011/02/11/">
         <ns1:AnmeldelseKvitteringModtag      xmlns:ns1="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">
         <ns2:AnmeldelseIdentifikator      xmlns:ns2="http://rep.oio.dk/tinglysning.dk/schema/model/1/">string</ns2:AnmeldelseIdentifikator>
         <ns2:AktoerReference      xmlns:ns2="http://rep.oio.dk/tinglysning.dk/schema/model/1/">
         <ns3:AktoerID      xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="http://rep.oio.dk/tinglysning.dk/schema/model/1/">string</ns3:AktoerID>
         <ns3:KorrelationID      xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="http://rep.oio.dk/tinglysning.dk/schema/model/1/">string</ns3:KorrelationID>
         </ns2:AktoerReference>
         <ns2:SagsReference      xmlns:ns2="http://rep.oio.dk/tinglysning.dk/schema/model/1/">string</ns2:SagsReference>
         <ns2:KoeIndikator      xmlns:ns2="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/">false</ns2:KoeIndikator>
         <ns2:ProeveTinglysningIndikator      xmlns:ns2="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/">true</ns2:ProeveTinglysningIndikator>
         <xd:Signature      Id="string" xmlns:xd="http://www.w3.org/2000/09/xmldsig#">
         <xd:SignedInfo      Id="string" xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">
         <xd:CanonicalizationMethod      Algorithm="http://www.your.org/aeoliam/quae">
         ventos
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         verrantque
         </xd:CanonicalizationMethod>
         <xd:SignatureMethod      Algorithm="http://www.sample.org/turbine/circum">
         regemque
         <!--Optional:-->
         <xd:HMACOutputLength>100</xd:HMACOutputLength>
         nimborum
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         fremunt
         </xd:SignatureMethod>
         <!--1 or more repetitions:-->
         <xd:Reference      Id="string" URI="http://www.my.com/profundum/sceptra" Type="http://www.test.com/iovis/flammato">
         <!--Optional:-->
         <xd:Transforms>
         <!--1 or more repetitions:-->
         <xd:Transform      Algorithm="http://www.sample.com/bella/nubibus">
         flammas
         <!--You have a CHOICE of the next 2 items at this level-->
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         <xd:XPath>string</xd:XPath>
         ac
         </xd:Transform>
         </xd:Transforms>
         <xd:DigestMethod      Algorithm="http://www.my.com/ac/caelumque">
         speluncis
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         circum
         </xd:DigestMethod>
         <xd:DigestValue>YXJpcw==</xd:DigestValue>
         </xd:Reference>
         </xd:SignedInfo>
         <xd:SignatureValue      Id="string" xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">Y29uaXVueA==</xd:SignatureValue>
         <!--Optional:-->
         <xd:KeyInfo      Id="string" xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">
         praeterea
         <!--You have a CHOICE of the next 8 items at this level-->
         <xd:KeyName>string</xd:KeyName>
         <xd:KeyValue>
         arce
         <!--You have a CHOICE of the next 3 items at this level-->
         <xd:DSAKeyValue>
         <xd:P>Y2xhdXN0cmE=</xd:P>
         <xd:Q>Y2lyY3Vt</xd:Q>
         <!--Optional:-->
         <xd:G>aW1wZXJpbw==</xd:G>
         <xd:Y>Y2VydG8=</xd:Y>
         <!--Optional:-->
         <xd:J>cXVpc3F1YW0=</xd:J>
         <xd:Seed>ZXQ=</xd:Seed>
         <xd:PgenCounter>YWM=</xd:PgenCounter>
         </xd:DSAKeyValue>
         <xd:RSAKeyValue>
         <xd:Modulus>ZmV0YQ==</xd:Modulus>
         <xd:Exponent>YWM=</xd:Exponent>
         </xd:RSAKeyValue>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         sed
         </xd:KeyValue>
         <xd:RetrievalMethod      URI="http://www.test.org/pectore/austris" Type="http://www.your.gov/certo/dare">
         <!--Optional:-->
         <xd:Transforms>
         <!--1 or more repetitions:-->
         <xd:Transform      Algorithm="http://www.any.com/volutans/dedit">
         faciat
         <!--You have a CHOICE of the next 2 items at this level-->
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         <xd:XPath>string</xd:XPath>
         magno
         </xd:Transform>
         </xd:Transforms>
         </xd:RetrievalMethod>
         <xd:X509Data>
         <!--You have a CHOICE of the next 6 items at this level-->
         <xd:X509IssuerSerial>
         <xd:X509IssuerName>string</xd:X509IssuerName>
         <xd:X509SerialNumber>100</xd:X509SerialNumber>
         </xd:X509IssuerSerial>
         <xd:X509SKI>ZXQ=</xd:X509SKI>
         <xd:X509SubjectName>string</xd:X509SubjectName>
         <xd:X509Certificate>YWM=</xd:X509Certificate>
         <xd:X509CRL>ZXQ=</xd:X509CRL>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         </xd:X509Data>
         <xd:PGPData>
         <!--You have a CHOICE of the next 2 items at this level-->
         <xd:PGPKeyID>cmVnZW1xdWU=</xd:PGPKeyID>
         <!--Optional:-->
         <xd:PGPKeyPacket>YW5ub3M=</xd:PGPKeyPacket>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         <xd:PGPKeyPacket>aW5maXhpdA==</xd:PGPKeyPacket>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         </xd:PGPData>
         <xd:SPKIData>
         <xd:SPKISexp>dmVudG9z</xd:SPKISexp>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         </xd:SPKIData>
         <xd:MgmtData>string</xd:MgmtData>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         tenens
         </xd:KeyInfo>
         <!--Zero or more repetitions:-->
         <xd:Object      Id="string" MimeType="string" Encoding="http://www.my.org/rapidum/habenas" xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">
         insuper
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         mollitque
         </xd:Object>
         </xd:Signature>
         </ns1:AnmeldelseKvitteringModtag>
         </ns:AnmeldelseKvitteringModtag_I>
         </soapenv:Body>

  • How do i insert a picture into a table cell

    hi
    i am trying to insert a photo into a table cell in Pages of iPad.
    how do i do that?
    thanks

    I have this question too. It is very important for me to insert pictures into tables in order to complete my lab reports. This feature needs to be added; the software is useless without it. It is things like this that make me regret Apple purchases.

  • Problem with inserting two BLOBs into a table using setBinaryStream

    DBMS 9.2.0.1.0, Oracle JDBC driver 10.1.0.2.0
    The following code insert in one INSERT two BLOBs
    into two columns using PreparedStatement.setBinaryStream(). When the size of the of at least one blob exceeds
    some limit (? 2k, 4k ?), the values are swapped and
    inserted into wrong columns.
    Please, is this a problem in JDBC driver?
    ====================================================
    import java.io.ByteArrayInputStream;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import java.sql.Statement;
    * Test - two BLOBs swapped problem.
    * If size of the blob is larger that some treshold, they are swapped in the database.
    public class BlobSwapTest {
    private static Connection getConnection() throws SQLException {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    } catch (ClassNotFoundException cnfe) {
    throw new SQLException("ClassNotFoundException: " + cnfe.getMessage());
    return DriverManager.getConnection("jdbc:oracle:thin:@//HOST:1521/DB", "USER", "PSWD");
    private static void createTable() throws SQLException {
    Connection conn = getConnection();
    Statement stmt = null;
    try {
    stmt = conn.createStatement();
    try {
    stmt.execute("DROP TABLE BlobTest2");
    } catch (SQLException e) {
    System.err.println("Table BlobTest2 was not deleted: " + e.getMessage());
    stmt.execute(
    "CREATE TABLE BlobTest2 ("
    + " pk VARCHAR(512), "
    + " blob BLOB, "
    + " blobB BLOB, "
    + " PRIMARY KEY (pk)"
    + ")"
    } finally {
    try {
    if (stmt != null) stmt.close();
    } finally {
    conn.close();
    public static void main(String[] args) throws SQLException {
    createTable();
    Connection conn = getConnection();
    PreparedStatement pstmt = null;
    try {
    conn.setAutoCommit(false);
    pstmt = conn.prepareStatement("INSERT INTO BlobTest2 VALUES (?,?,?)");
    final int size = 5000; // change the value to 500 and the test is OK
    byte[] buf = new byte[size];
    byte[] buf2 = new byte[size];
    for (int i = 0; i < size; i++) {
    buf = 66;
    buf2 = 88;
    pstmt.setString(1, "PK value");
    pstmt.setBinaryStream(2, new ByteArrayInputStream(buf), size);
    pstmt.setBinaryStream(3, new ByteArrayInputStream(buf2), size);
    pstmt.executeUpdate();
    conn.commit();
    } finally {
    if (pstmt != null) pstmt.close();
    conn.close();
    ====================================================

    See my response in the JVM forum.

  • How can i transfer a movie into my ipad from a different computer?

    I had the original ipad. I download a digital copy of a movie into my personal laptop however all movies are downloaded originally from my wife's Macintosh. When I plug in the ipad into my Sony laptop, it states 'all movies will be lost" if I place the movie from a different computer. How can I transfer the movie into my ipad?

    Put the movie onto whatever computer you use to sync.  Move the movie into i tunes, and sync.

  • How to insert new record into oracle table from GridView in VS2005.

    I need to insert records into Oracle10g table from VS2005 GridView using the Insert Method in Business Logic Class. The Update and Delete Methods are working fine. What's the best way out?

    How is it "not possible"?
    Either modify the Class for the new fields, or give the new fields default values (if applicable). If the type of an existing column has changed, then only the first option is available.
    Where's the problem?

  • I don't have an Apple device, so how can I take a look into the iBookstore from my ordinary Dell laptop to find my book?

    I don't have an Apple device, so how can I take a look into the iBookstore to find my book?

    You can access the bookstore via iTunes on your Dell.

  • Insert CSV data into a table from URL

    Hi,
    How can I insert the CSV data directly into a database table (the csv format is known, the database table is created accordingly)?
    Thanks
    Devang.

    Devang,
    There is a limit on the amount of text (32767) you can paste and upload.
    I created a process that allows the user to upload a .csv file and it is then written (UTL_FILE) to a known file on the db server. I have an external table definition mapped to that file so I don't have to do any parsing or anyting.
    This should work for your situation since you already know the format of the file and the table is already created.
    Hope this helps.
    chet

  • Inserting a blob  in the table through java or Oracle ApplicationFramework

    I am new to Oracle framework. I have a requirement to insert one file(i.e blob) into the database from custom location.(ie.D:\sample.txt). through java or OAF. But i am unable to insert the file. Is there any specific function to insert blob fields in the database...........

    Did you take a look at
    <JDEV_CLIENT_INSTALL_DIR>\jdevdoc\devguide\feat\feat_fileload.htm

  • How can I insert a image into a BLOB column in a table?

    I am using forms6i against a 10gR2 database and I have one table with a BLOB column and I try to insert a image into this column. I get ORA-01461 error.
    The curious case is that in another table with a BLOB column it works very fine.
    What happens with the first table? How can I avoid the error?
    Thanks in advance.

    Hi hyue,
    Thanks for visiting Apple Support Communities.
    If you would like to add an image to a project in iMovie for iOS, see this article for helpful steps:
    iMovie for iOS (iPad): Add photos to a project
    http://support.apple.com/kb/PH3171
    All the best,
    Jeremy

  • How can you insert foreign letters into pages in Maverick? The old option of holding down the key has disappeared.

    After downloading Mavericks on the MacBook Air, the ability to hold down a key and insert a foreign language symbol or letter disappeared. How can foreign language alphabet symbols/letters be inserted into Pages?

    Are you still using the US keyboard layout?
    Pending a solution to restore the Character Picker, you can use the traditional option key shortcuts for many characters, e.g. option + e, then e produces é.
    Plus you can use Edit > Special Characters to bring up the Character Viewer.

Maybe you are looking for

  • Deploying forms application on Oracle Application Server 10g on Solaris

    Hi Guys, We have to deploy our forms application on Application Server 10g on Solaris platform. I understand we have to specify the hosting directory in the formsweb.cfg file from where forms will be picked up. Now the query is - We have a directory

  • How to send the output to PDF format in reports 6i?

    Hi, How to send the output to PDF format in reports 6i? I given Mode = BITMAP. DESTYPE = File, DESFORMAT = PDF, DESNAME = C:\x.pdf. Report is running fine. But PDF file not generated. I don't know what i missed. Any one can help this? Thanks Kavitha

  • Sharepoint PPS how to create folder in dashboard designer

    Please bear with me as i am kind of new to PPS I am not able to understand how the folder are organized in dashboard designer as i could not find a way to create a new Folder. If i want to create a new page in the dashboard and organize KPI, Scorecar

  • "No Service" issue after updating iOS 8.1

    My iPhone 5 is really giving trouble after updating all iOS 8.01, iOS 8.02 & iOS 8.1. Cellular network is come to halt, "No Service" issue is regular and i am not able to use my iPhone 5 as phone.  Please help me out else i have to switch to some oth

  • SQL Loader, nested tables and default values

    Is there a way to specify a default value for a nested table entry when SQL*Loader encounters a 'null' value? I want to avoid this: Record 5: Rejected - Error on table LEVEL_DESC, column LEVELS. NULL nested table element is not allowed