Java to store formatted doc in Oracle
How can we store a formatted word document in Oracle database through JAVA.
And then retrieve the same formatted doc .
If someone can help in this regard.
but plz dont send internet links to solve this prob bcoz i have already searched and tried alot.
If java has any API or packages plz tell me soon.
Java has a standard API called "JDBC", which allows you to connect and work with any databases. See:
http://java.sun.com/javase/technologies/database/
Which database are supported by your Java depends on the supplied JDBC-drivers. Surely, a driver for Oracle must be the first among them!
If you need just to store some RTF documents in you database and then to retrieve them (without any intermediate processing), there is nothing special about RTF at all.
RTF is basically a plain-text file (with the text interlaced with various markup control words). So, you need to treat it as a simple text file. Therefore, you can store it, for instance, in a 'TEXT' field of some table in your SQL database (or in a 'BLOB' field, if you wish). There's nothing special about it...
Regards,
Leonid Rudy
http://www.docflex.com
Similar Messages
-
How to Store word doc in oracle using java
hi
toall
can any one tell me how to store word doc in oracle9i using java
byePlease refer to
http://www.databasejournal.com/features/oracle/article.php/3305771 -
How to Store word doc in java using oracle
hi my name is jagapathi raju i am working in Niit LTD
can any one tell me how to store A word doc in oracle using javaHi Jagapathi
You can store text/doc files in Database using CLOB/BLOB columns. Let me check if there are any samples...
Thanks
Srinivas -
How to Store word doc in java using oracle9i
hi
my name is jagapathi raju i whant a pice of code that will help me to store word doc in oracle9i please do this for me
byei whant a pice of code that will help me to store word doc in oracle9i please do > this for me Nope, imagine we are consultants who just provide you with a direction to your
investigation.
There's a few approachs...
1. You store the entire word document ( or any arbitrary binary file ) in a BLOB
field. ( binary large object ).
Have a search for Oracle, JDBC and BLOB.
2. You somehow extract the text from the Word document, losing all formating,
and store the text in a database field. ( CLOB ) Character large object.
regards,
Owen -
Trying to store XML documents in Oracle XML repository using Java
Hi,
I am trying to store XML documents in Oracle XML Repository using a Java program. i just need a functionality to be able to store XML files and retrieve them.
Can anybody PLEASE provide me some sample code.
Thanks in Advance
SashaDid you ever get any samples on doing this and if so could you pass it on to me.
Thanks -
How do I remove the Java 1.6.0_41 update from App Store updates list without actually installing it? I don't want to revert to an older Java than what I got from Oracle just a week ago (Java "1.7.0_11").
PS, I thought Apple was no longer doing its own Java version anymore and that maintenance for Java for Mac was now in Oracle's hands. What gives?dominique99 wrote:
How do I remove the Java 1.6.0_41 update from App Store updates list without actually installing it? I don't want to revert to an older Java than what I got from Oracle just a week ago (Java "1.7.0_11").
You should not ignore it as that will leave you with an unsafe version of Java SE 6 integrated into your system. If you shoud ever need to revert from Java 7 to Java 6 (which many users have found necessary for compatibility reasons) that would leave you open to attack. It's very difficult to remove Java 6 so you might as well keep it up-to-date.
I thought Apple was no longer doing its own Java version anymore and that maintenance for Java for Mac was now in Oracle's hands. What gives?
The agreement was that Apple would continue to update Java 6 and Oracle would take over at Java 7. Both can exist on your computer, though in general, only one will be active at any given time. Oracle's public support for Java 6 ends this month and without it Apple will be hard pressed to continue after that date, but we'll all just have to wait and see how that goes. -
Needed help regarding converting string to java.sql.Date format
I have a a function which returns a calendar object. The date must be inserted to Oracle DB using java.sql.Date format.
So i have converted the Calendar object to java.sql.Date format using the following code
java.sql.Date publicationDate = new java.sql.Date(book.getPublicationDate().getTime().getTime());But while getting inserted into the DB it was in mm/dd/yyyy format whereas i wanted dd/mm/yyyy format
Can any body please help out how to store the date in dd/mm/yyyy format ?Can u please explain this a bit
This is my code
public int addBook(List<Book> BookList) throws SQLException, ParseException{
System.out.println("Hi there");
Book book = new Book();
BookDB bookDb = new BookDB();
//listLength = BookList.length;
String bookId = null;
try{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
con = DriverManager.getConnection("jdbc:oracle:thin:@10.123.79.195:1521:findb01","e115314", "e115314");
addBook = con.prepareStatement("insert into ABC_Book values(?,?,?,?,?,?,?)");
Iterator<Book> iterator = BookList.iterator();
while(iterator.hasNext()){
book = (Book)iterator.next();
System.out.println(book.getBookId());
addBook.setString(1,book.getBookId());
addBook.setString(2,book.getTitle());
addBook.setString(3,book.getAuthor());
addBook.setString(4,book.getPublisher());
System.out.println(book.getPublicationDate());
System.out.println("Before Date");
System.out.println("book.getPublicationDate().getTime()"+book.getPublicationDate().getTime());
java.sql.Date publicationDate = new java.sql.Date(book.getPublicationDate().getTime().getTime());
SimpleDateFormat formatter = new SimpleDateFormat("dd/mm/yyyy");
dateString = formatter.format(publicationDate);
System.out.println("Today is"+dateString);
java.sql.Date date = (java.sql.Date)formatter.parse(dateString);
System.out.println("date"+date);
//java.sql.Date publicationDate = (Date)book.getPublicationDate().getTime();
//System.out.println("Value of date is"+publicationDate);
System.out.println("After Date");
addBook.setDate(5,publicationDate);
addBook.setString(6,book.getCountry());
addBook.setString(7,book.getLanguage());
rs = addBook.executeQuery();
//con.commit();
rowCount = rowCount + rs.getRow();
return rowCount;
catch(SQLException se){
se.printStackTrace();
finally{
con.close();
System.out.println("After adding ");
return 0;
} -
I want store JMS queue in oracle database..
Hi all,
I want store JMS queue in oracle database..
How can i configure my jboss 3.0.1
Thanks,
ThilsenOracle provides this functionality with Advanced Queues
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96587/qintro.htm
Although the API is JMS-compliant, the administration can be quite burdensome. -
How to store XML data into Oracle Table
I had trouble to store XML data into Oracle Table with XDK (Oracle 8.1.7 ). The error is:
C:\XDK_Java_9_2\xdk\demo\java\Test>java testInsert Dept.xml
<Line 1, Column 1>: XML-0108: (Fatal Error) Start of root element expected.
Exception in thread "main" oracle.xml.sql.OracleXMLSQLException: Start of root element expected.
at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:2263)
at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:1333)
at testInsert.main(testInsert.java:8)
Here is my xml file:
<?xml version = '1.0'?>
<ROWSET>
<ROW num="1">
<DEPTNO>10</DEPTNO>
<DNAME>ACCOUNTING</DNAME>
<LOC>NEW YORK</LOC>
</ROW>
<ROW num="2">
<DEPTNO>20</DEPTNO>
<DNAME>RESEARCH</DNAME>
<LOC>DALLAS</LOC>
</ROW>
<ROW num="3">
<DEPTNO>30</DEPTNO>
<DNAME>SALES</DNAME>
<LOC>CHICAGO</LOC>
</ROW>
<ROW num="4">
<DEPTNO>40</DEPTNO>
<DNAME>OPERATIONS</DNAME>
<LOC>BOSTON</LOC>
</ROW>
</ROWSET>
and here is structure of table:
Name Null? Type
DEPTNO NOT NULL NUMBER(2)
DNAME VARCHAR2(14)
LOC VARCHAR2(13)
and here is my Java Code:
import java.sql.*;
import oracle.xml.sql.dml.OracleXMLSave;
public class testInsert{
public static void main(String[] args) throws SQLException{
Connection conn = getConnection();
OracleXMLSave sav = new OracleXMLSave(conn,"scott.tmp_dept");
sav.insertXML(args[0]);
sav.close();
conn.close();
private static Connection getConnection()throws SQLException{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@amt-ebdev01:1521:mydept","scott","tiger");
return conn;
Could you help me ? Thanks !The problem is that you need to pass avalid URL , Document...
Please try this code instead:
import java.net.*;
import java.sql.*;
import java.io.*;
import oracle.xml.sql.dml.OracleXMLSave;
public class testInsert
public static void main(String[] args) throws SQLException{
Connection conn = getConnection();
OracleXMLSave sav = new OracleXMLSave(conn,"scott.temp_dept");
URL url = createURL(args[0]);
sav.insertXML(url);
sav.close();
conn.close();
private static Connection getConnection()throws SQLException{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@dlsun1982:1521:jwxdk9i","scott","tiger");
return conn;
// Helper method to create a URL from a file name
static URL createURL(String fileName)
URL url = null;
try
url = new URL(fileName);
catch (MalformedURLException ex)
File f = new File(fileName);
try
String path = f.getAbsolutePath();
// This is a bunch of weird code that is required to
// make a valid URL on the Windows platform, due
// to inconsistencies in what getAbsolutePath returns.
String fs = System.getProperty("file.separator");
if (fs.length() == 1)
char sep = fs.charAt(0);
if (sep != '/')
path = path.replace(sep, '/');
if (path.charAt(0) != '/')
path = '/' + path;
path = "file://" + path;
url = new URL(path);
catch (MalformedURLException e)
System.out.println("Cannot create url for: " + fileName);
System.exit(0);
return url; -
how product.screen,main.screen,item.screen and so on ,these are handled in java pet store source code?
Todd,
SQL*Plus is a utility that is bundled with the Oracle database server.
Yes, you start it with the "sqlplus" command. Seeing as you seem to
also be in charge of setting up the Oracle database server, that means
you (inevitably) have to do some "DBA" type work. Since you say that
you are new to this, I suggest reading the documentation for the Oracle
database server -- which is available from:
http://tahiti.oracle.com
Of-course, your other option would be to find an experienced DBA to
handle the database stuff for you.
By the way, you can use the "lsnrctl" utility (also bundled with the
database server product) to start, test, and stop the database "listener".
The command is "lsnrctl". There is also documentation available for
it (from the same URL as shown above).
Good Luck,
Avi. -
Java Pet Store deployathlon...
Hello all,
I've installed WebLogic 6.1 (on win2k) for the first time today. No problems
here.
Then I downloaded the Java Pet Store (JPS) and followed the instructions on <a
href="http://e-docs.bea.com/wls/docs61/petstore/bea_deployathon.html#petstore">BEAs
deployathlon page</a>. I followed succesfully the instructions 1-11, but step
13 (run the petstore) results in an error 500 (internal server error). The server
console doesn't output any exceptions.
What could be the problem?
I would really appreciate your help, since I'm on a very tight schedule for my
thesis...
Final note:
During the installation, I noted the following warning:
[jar] Building jar: C:\Documents and Settings\Administrator\Mijn documenten\uia\thesis\binaries\java
pet store\jps1.1.2\src\petstore\build\std_petstoreEjb.jar
[jar] Warning: selected jar files include a META-INF/MANIFEST.MF which will
be ignored (please use manifest attribute to jar task)"Pieter Van Gorp" <[email protected]> wrote:
>
Hello all,
I've installed WebLogic 6.1 (on win2k) for the first time today. No
problems
here.
Then I downloaded the Java Pet Store (JPS) and followed the instructions
on <a
href="http://e-docs.bea.com/wls/docs61/petstore/bea_deployathon.html#petstore">BEAs
deployathlon page</a>. I followed succesfully the instructions 1-11,
but step
13 (run the petstore) results in an error 500 (internal server error).
The server
console doesn't output any exceptions.
What could be the problem?
I would really appreciate your help, since I'm on a very tight schedule
for my
thesis...
Final note:
During the installation, I noted the following warning:
[jar] Building jar: C:\Documents and Settings\Administrator\Mijn
documenten\uia\thesis\binaries\java
pet store\jps1.1.2\src\petstore\build\std_petstoreEjb.jar
[jar] Warning: selected jar files include a META-INF/MANIFEST.MF
which will
be ignored (please use manifest attribute to jar task)------------
Ouch... I seem to have overlooked some errormessages...
Here they are:
[delete] Could not find file C:\Documents and Settings\Administrator\Mijn doc
umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstoreE
jb.jar to delete.
[delete] Could not find file C:\Documents and Settings\Administrator\Mijn doc
umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\std_petst
oreEjb.jar to delete.
[jar] Building jar: C:\Documents and Settings\Administrator\Mijn documente
n\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\std_petstoreEjb
.jar
[jar] Warning: selected jar files include a META-INF/MANIFEST.MF which wil
l be ignored (please use manifest attribute to jar task)
[java] <10-okt-01 17:58:11 CEST> <Warning> <EJB> <EJB Deployment: TheShoppi
ngClientController has a class com.sun.j2ee.blueprints.petstore.control.ejb.Shop
pingClientControllerEJB which is in the classpath. This class should only be loc
ated in the ejb-jar file.>
[java] <10-okt-01 17:58:11 CEST> <Warning> <EJB> <EJB Deployment: TheShoppi
ngClientController has a class com.sun.j2ee.blueprints.petstore.control.ejb.Shop
pingClientControllerHome which is in the classpath. This class should only be
lo
cated in the ejb-jar file.>
[java] <10-okt-01 17:58:11 CEST> <Warning> <EJB> <EJB Deployment: TheShoppi
ngClientController has a class com.sun.j2ee.blueprints.petstore.control.ejb.Shop
pingClientController which is in the classpath. This class should only be locate
d in the ejb-jar file.>
[java] error: cannot read: C:\Documents and Settings\Administrator\Mijn doc
umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\src\ejbcgen\com
\sun\j2ee\blueprints\petstore\control\ejb\*.java
[java] 1 error
[java] Exec failed .. exiting
[java] Java Result: 1
[delete] Deleting directory C:\Documents and Settings\Administrator\Mijn docu
menten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\ejbjar
ear:
[delete] Could not find file C:\Documents and Settings\Administrator\Mijn doc
umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore.
ear to delete.
[mkdir] Created dir: C:\Documents and Settings\Administrator\Mijn documenten
\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tmp
[copy] Copying 1 file to C:\Documents and Settings\Administrator\Mijn docum
enten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tm
p
[copy] Copying 1 file to C:\Documents and Settings\Administrator\Mijn docum
enten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tm
p
[copy] Copying 1 file to C:\Documents and Settings\Administrator\Mijn docum
enten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tm
p
[copy] Copying 1 file to C:\Documents and Settings\Administrator\Mijn docum
enten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tm
p
[copy] Copying 1 file to C:\Documents and Settings\Administrator\Mijn docum
enten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tm
p
[copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstoreE
jb.jar to copy.
[copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\components\mail\build\ma
ilerEjb.jar to copy.
[copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\components\inventory\bui
ld\inventoryEjb.jar to copy.
[copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\components\customer\buil
d\customerEjb.jar to copy.
[copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\components\personalizati
on\build\personalizationEjb.jar to copy.
[copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\components\shoppingcart\
build\shoppingcartEjb.jar to copy.
[copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\components\signon\build\
signonEjb.jar to copy.
[copy] Copying 1 file to C:\Documents and Settings\Administrator\Mijn docum
enten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tm
p\META-INF
[jar] Building jar: C:\Documents and Settings\Administrator\Mijn documente
n\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore.ear
[delete] Deleting directory C:\Documents and Settings\Administrator\Mijn docu
menten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_t
mp
core:
BUILD SUCCESSFUL
Total time: 3 minutes 12 seconds -
Store PDF File in Oracle database 10g
Hi all,
I want to store PDF File in Oracle database 10g,
and then I want to access the pdf file using Oracle Developer 6i
can anyone tell me how to do this,
thanks in advance.This question has already been posted a lot of times.....
See the following:
http://forums.oracle.com/forums/search.jspa?threadID=&q=pdf+file&objID=f82&dateRange=lastyear&userID=&numResults=15
Greetings,
Sim -
How do i change a .pages to a .doc format when i don;t have microsoft. I've tried file>format>.doc, though all selections are grey as in a cant't select them? Please help.
I can't afford microsoft yet and this is a new macso im very new to this and have had so much trouble with this sort of stuff. ive googled it but nothing seems to work!!
Thanks in advanceExport the document...there are several formatting options.
Barry -
Java function call from Trigger in Oracle
Moderator edit:
This post was branched from an eleven-year-old long dead thread
Java function call from Trigger in Oracle
@ user 861498,
For the future, if a forum discussion is more than (let's say) a month old, NEVER resurrect it to append your new issue. Always start a new thread. Feel free to include a link to that old discussion if you think it might be relevant.
Also, ALWAYS use code tags as is described in the forum FAQ that is linked at the upper corner of e\very page. Your formulae will be so very much more readable.
{end of edit, what follows is their posting}
I am attempting to do a similar function, however everything is loaded, written, compiled and resolved correct, however, nothing is happening. No errors or anything. Would I have a permission issue or something?
My code is the following, (the last four lines of java code is meant to do activate a particular badge which will later be dynamic)
Trigger:
CREATE OR REPLACE PROCEDURE java_contact_t4 (member_id_in NUMBER)
IS LANGUAGE JAVA
NAME 'ThrowAnError.contactTrigger(java.lang.Integer)';
Java:
CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "ThrowAnError" AS
// Required class libraries.
import java.sql.*;
import oracle.jdbc.driver.*;
import com.ekahau.common.sdk.*;
import com.ekahau.engine.sdk.*;
// Define class.
public class ThrowAnError {
// Connect and verify new insert would be a duplicate.
public static void contactTrigger(Integer memberID) throws Exception {
String badgeId;
// Create a Java 5 and Oracle 11g connection.
Connection conn = DriverManager.getConnection("jdbc:default:connection:");
// Create a prepared statement that accepts binding a number.
PreparedStatement ps = conn.prepareStatement("SELECT \"Note\" " +
"FROM Users " +
"WHERE \"User\" = ? ");
// Bind the local variable to the statement placeholder.
ps.setInt(1, memberID);
// Execute query and check if there is a second value.
ResultSet rs = ps.executeQuery();
while (rs.next()) {
badgeId = rs.getString("Note");
// Clean up resources.
rs.close();
ps.close();
conn.close();
// davids badge is 105463705637
EConnection mEngineConnection = new econnection("10.25.10.5",8550);
mEngineConnection.setUserCredentials("choff", "badge00");
mEngineConnection.call("/epe/cfg/tagcommandadd?tagid=105463705637&cmd=mmt%203");
mEngineConnection.call("/epe/msg/tagsendmsg?tagid=105463705637&messagetype=instant&message=Hello%20World%20from%20Axium-Oracle");
Edited by: rukbat on May 31, 2011 1:12 PMTo followup on the posting:
Okay, being a oracle noob, I didn't know I needed to tell anything to get the java error messages out to the console
Having figured that out on my own, I minified my code to just run the one line of code:
// Required class libraries.
import java.sql.*;
import oracle.jdbc.driver.*;
import com.ekahau.common.sdk.*;
import com.ekahau.engine.sdk.*;
// Define class.
public class ThrowAnError {
public static void testEkahau(Integer memberID) throws Exception {
try {
EConnection mEngineConnection = new EConnection("10.25.10.5",8550);
} catch (Throwable e) {
System.out.println("got an error");
e.printStackTrace();
}So, after the following:
SQL> {as sysdba on another command prompt} exec dbms_java.grant_permission('AXIUM',"SYS:java.util.PropertyPermission','javax.security.auth.usersubjectCredsOnly','write');
and the following as the user
SQL> set serveroutput on
SQL> exec dbms_java.set_output(10000);
I run the procedure and receive the following message.
SQL> call java_contact_t4(801);
got an error
java.lang.NoClassDefFoundError
at ThrowAnError.testEkahau(ThrowAnError:13)
Call completed.
NoClassDefFoundError tells me that it can't find the jar file to run my call to EConnection.
Now, I've notice when I loaded the sdk jar file, it skipped some classes it contained:
c:\Users\me\Documents>loadjava -r -f -v -r "axium/-----@axaxiumtrain" ekahau-engine-sdk.jar
arguments: '-u' 'axium/***@axaxiumtrain' '-r' '-f' '-v' 'ekahau-engine-sdk.jar'
creating : resource META-INF/MANIFEST.MF
loading : resource META-INF/MANIFEST.MF
creating : class com/ekahau/common/sdk/EConnection
loading : class com/ekahau/common/sdk/EConnection
creating : class com/ekahau/common/sdk/EErrorCodes
loading : class com/ekahau/common/sdk/EErrorCodes
skipping : resource META-INF/MANIFEST.MF
resolving: class com/ekahau/common/sdk/EConnection
skipping : class com/ekahau/common/sdk/EErrorCodes
skipping : class com/ekahau/common/sdk/EException
skipping : class com/ekahau/common/sdk/EMsg$EMSGIterator
skipping : class com/ekahau/common/sdk/EMsg
skipping : class com/ekahau/common/sdk/EMsgEncoder
skipping : class com/ekahau/common/sdk/EMsgKeyValueParser
skipping : class com/ekahau/common/sdk/EMsgProperty
resolving: class com/ekahau/engine/sdk/impl/LocationImpl
skipping : class com/ekahau/engine/sdk/status/IStatusListener
skipping : class com/ekahau/engine/sdk/status/StatusChangeEntry
Classes Loaded: 114
Resources Loaded: 1
Sources Loaded: 0
Published Interfaces: 0
Classes generated: 0
Classes skipped: 0
Synonyms Created: 0
Errors: 0
.... with no explanation.
Can anyone tell me why it would skip resolving a class? Especially after I use the -r flag to have loadjava resolve it upon loading.
How do i get it to resolve the entire jar file?
Edited by: themadprogrammer on Aug 5, 2011 7:15 AM
Edited by: themadprogrammer on Aug 5, 2011 7:21 AM
Edited by: themadprogrammer on Aug 5, 2011 7:22 AM
Edited by: themadprogrammer on Aug 5, 2011 7:23 AM
Edited by: themadprogrammer on Aug 5, 2011 7:26 AM -
How to store the images in Oracle?
Hi,
I am a new developer, trying to find out how to store the images in Oracle. Is there anyway that I can store the images in Oracle and insert them into my html file?
Thanks!
SarahThere is a simple image example available from OTN.
From the OTN main page, go to Products --> interMedia --> Sample Code. The name of the example is "Load rich media content with a browser."
This example loads and retrieves an image from an Oracle8i database through a web page using the Oracle interMedia Web Agent.
Hope this helps.
null
Maybe you are looking for
-
How many key fields can we have in a DSO?
Hi, how many key fields can we have in a DSO.is it 16 or any number of key fields can be used? If only 16 are allowed pls let me know how to add more key fileds (my requirement is 21 keyfields) . Thanks in advance, Praveen
-
System Update error "An error occurred while gathering user informatio​n"
I honestly think that i'm never going to stop running into issues with Lenovos software.... Anyways, i've reinstalled countless times trying every way to fix things and nothing works. I will post my log for others to look at and hopefully help me out
-
hi friends, how to create alv report in dynamically. regards, jai
-
Re-installing OS issues...
alright, so I may have screwed something up big time, but hopefully someone can help. I got my macbook fall 2007 and am currently still using Tiger as it does what I need it to do. I had a lot of useless things slowing my mac down so I decided to try
-
What File Type we have to pass to get the pipe delimeter ?
Hi Sir, Am fetching data from sap and downloading it on to the desktop or any drive, here am using GUI_DOWNLOAD function module in the am passing separetor = '|' filetype = 'ASC' but in output file am not getting the pipes, see the following code. *F