Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: where is a webdav resource stored
Thank You!!
i do it by this way: (java source)
OracleResultSet rset =
(OracleResultSet)stmt.executeQuery(
"SELECT sys.UriFactory.getUri('/home/SCOTT/file.pdf').getClob() as CLOB
FROM dual");
if(rset.next()) {
CLOB clob=rset.getCLOB("clob");
java.io.InputStream in=clob.binaryStreamValue();
byte[] buf=new byte[1024];
int len;
while ((len = in.read(buf)) != -1) {
System.out.write(buf, 0, len); }
-- Dimitri Kleyn <dem_at_deminator.de> "Jusung Yang" <JusungYang_at_yahoo.com> schrieb im Newsbeitrag news:130ba93a.0308281053.141bb2b9_at_posting.google.com...Received on Fri Aug 29 2003 - 06:34:29 CDT
> Well, once you have the path(or URI) to the resource (as shown in
> path_view or resource_view), you can view the content with xdburitype.
> Do a desc xdburitype from SQL*PLUS to see all methods within
> xdburitype. Look into the "getcolb" method. This would work regardless
> of whether the documnet is in XML format or not.