|
Hi Ashish, While I'm not a big fan of this type of processing, as PLA said, you can use BLOBs and CLOBs for your purpose. Take a look at the "LOBs" section in my tutorial at the ( now renamed to something else ) JDC, "JDBC 2.0 Fundamentals" <http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.ht ml> ( Depending on your email client, yo may have to stitch the URL back together. ) The exercises are for an image, but should work for any binary data. Use the CharacterStream methods for CLOBs. These were tested on UDB2/NT and DB2/400. One issue you *may* run into is that you might have to specify a size for larger LOBs. Joe Sam Joe Sam Shirah - http://www.conceptgo.com conceptGO - Consulting/Development/Outsourcing Java Filter Forum: http://www.ibm.com/developerworks/java/ Just the JDBC FAQs: http://www.jguru.com/faq/JDBC Going International? http://www.jguru.com/faq/I18N Que Java400? http://www.jguru.com/faq/Java400 ----- Original Message ----- From: "Ashish Kulkarni" <kulkarni_ash1312@xxxxxxxxx> To: <java400-l@xxxxxxxxxxxx> Sent: Friday, January 09, 2004 1:19 PM Subject: is it possible to store a xslt file in DB2 > Hi, > i was just curious if we can store files like XSLT, or > word or pdf in DB2, like read it as input stream and > write it to file, then read back the stream as create > a xslt file, > also if this is possible, can we modify this input > stream > The reason i am asking this is, i have work on version > control system, which will store xslt file etc, and > when ever the user checks it out,and checks it back > in, update the version number automatically > I am using VSS right now, but not sure if it goes in > the file and updates the version number inside the > file. > Regards > > Ashish >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.