Getting started with oracle 10g

hi everyone,i m trying to store n retrieve images thru JDBC to Oracle interMedia[i i m new to this...can anyone help in this by guiding how to make connectivity n other stuffs required..                                                                                                                                                                                                                                                                                                                                                                                                                                       

I've not used any of the InterMedia packages; I would guess that they're just more-or-less straight-forward stored procedure calls.
Oracle has lot of information on-line:
JDBC samples, many of which are complete working programs
http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html
JDBC Developers Guide and Reference
http://download-east.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm
Some other JDBC links and the driver compatability chart...
http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html
Also, you can download the JavaDocs for Oracle's extenstions to JDBC from the same place the drivers are available:
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
If you don't want/need to use Intermedia, the JDBC examples include storage and retriaval of an image as a BLOB, in the LOB example.

Similar Messages

  • Get Started with Oracle 9i

    I am requesting information on Getting Started with Oracle 9i. Like the information, you have on your website for Get Started with 10g.

    You may find the Oracle by Example module on Oracle9i Database helpful:
    http://www.oracle.com/technology/obe/obe9ir2/index.html
    Regards, OTN

  • Developerday  VM Ora-12505 Getting Started with Oracle SQL Developer 3.0

    Just downloaded the VM , Started the tutorial Getting Started with Oracle SQL Developer 3.0
    As mentioned in tutorial , I was trying to make a new connection and I am getting following error
    Ora - 12505 : TNS Listener doesn't currently know of SID
    I gave SID as orcl, and seems to be working OK, can I use orcl for this tutorial
    Edited by: OrcArgusDev on Apr 13, 2012 9:01 AM
    Edited by: OrcArgusDev on Apr 13, 2012 9:11 AM

    Thanks, I'll survive. Just my luck, the first item I try to anon. debug didn't work! :)
    thanks, hopefully this problem will be few and far between

  • Getting started with oracle and jdbc

    i have downloaded ojdbc14.zip from oracle.com
    it's documentation only tells you about the api and the packages and nothing about how to configure it.
    how do i get started? where do i unzip those files and what to do next?
    please help

    "The Old oracle.jdbc.driver Package Will Go Away Soon
    If you still have existing applications that use the
    old oracle.jdbc.driver
    package, now is the time to convert your code."
    And who is so foolish as to use concrete types
    instead of java.sql and javax.sql interfaces or embed
    driver class names in their code? Well, anybody who's more interested in optimal performance than being generic, and willing to put up with the headaches of that, such as providers of high-performance OR mapping tools or someone tuning a very heavily used bit. Or anybody working in a committed Oracle-only shop. It's not a one-size-fits-all world...
    Again, Oracle is evolving the standard. No, the standard is Sun's java.sql interface.Yea, Sun evolved Java, and Oracle is recommending the use of Datasources to keep step with that evolution...
    This still
    works, but Oracle is shifting away from <sid> and
    using <service name> instead. The alternate syntax
    for the URL is:
    String url=jdbc:oracle:thin:@<host>:<port>/<database>
    This has been true for as long as Oracle has had a
    thin, type IV JDBC driver. The URL syntax hasn't
    changed.
    Yes it has and Oracle says it has, here:
    http://download-west.oracle.com/docs/cd/B14117_01/java.101/b10979/urls.htm#BEIJFHHB
    Wherein it is written, in Section 3.2.1 of the Oracle� Database JDBC Developer's Guide and Reference, the sesction on the several supported URL formats for Oracle 10.1
    Notes:
    * Oracle Service IDs are no longer supported at 10g Release 1 (10.1).
    They go on to list three URL styles supported:
    Oracle Net connection descriptor - like an entry in tnsnames.ora (ick!)
    Thin-style service name - the most common, what was quoted above.
    LDAP syntax - for having an LDAP service resolve the database for you
    However, in the old 8.1.7 JDBC documentation, here:
    http://download-east.oracle.com/docs/cd/A87860_01/doc/java.817/a83724/basic1.htm#1006213
    Oracle lists support for:
    Net8 connection descriptor - Net8 is the old name for Oracle Net
    Thin-style sid name - what was quoted in the post to which I first responded.
    Thin-style sid name syntax has a colon between the port and the sid; thin-style service name syntax has a forward slash between the port and the service name. SIDs and service names are not the same thing, although they serve the same purpose in a URL (connecting you to the right instance) and often have the same value. However, a SID for a database is set at DB creation time, is unique to the DB, and cannot be changed easily. Multiple service names can be configured for a database, and they can easily be changed (if you're the DBA). Oracle is providing an additional leval of abstraction by moving to service names, to support additional features and choices. While many installations don't need all that and have in essence ignored the distinction bewteen SID and service name, some multi-database projects can benefit from it.
    >
    StuDerby, I think you should look into this a bit
    more. Your advice is far from optimal, IMO.
    Yeah, I could've taken the time to write a more generic, newbie friendly repsonse; instead, I lifted directly from the Oracle documentation that was cited earlier since newbies seem to have an aversion to reading documentation.

  • Getting started with Oracle 11g express edition

    I am currently in a college class doin SQL. I have downloaded oracle 11g express edition. I'm trying to get started and when I try to create a new connection it takes me to a screen where I have to sign in. When I use my oracle sign in and pass word it tells me it doesn't recognize it. No I know it works because I can sign in on the web site. But it won't connect me or allow me to make a new connection. I really don't understand what is going on. I can seriously use some help. Something that will take me step by step on what I need to do. I have to create a data base and I'm not sure how to do it.
    Thank You
    Carl Gavin

    Hello Carl,
    Something that will take me step by step on what I need to do.Sounds like what you are searching for is the [url http://docs.oracle.com/cd/E17781_01/admin.112/e18585/toc.htm]Getting Started Guide.
    If you need some advanced knowlege, there would be the "2 Day DBA Guide", which, among other topics, contains a section on [url http://docs.oracle.com/cd/E17781_01/server.112/e18804/connecting.htm#CEGIFAHF]Connecting to the Database. I think you'll find all necessary information (background and step by step description) you need.
    -Udo

  • Bad link Getting Started with Oracle AS Portal 10g

    The bottom next button will stay on the same page instead of advancing to the next page.
    http://www.oracle.com/technology/products/iportal/getstart/a_port05.htm
    -Henry Liao

    The next page goes back to page port5. Is this done for a good reason?
    http://www.oracle.com/technology/products/iportal/getstart/a_port06.htm
    -Henry Liao

  • General questions on how to get started with Oracle OEPE and databases

    My company has a server in the cloud, written using Ruby on Rails. The server is designed to work with a browser, so it communicates via standard HTTP.
    The server has an SQL database.
    The server sends and receives HTTP requests from clients, which are then used to either update the database or retrieve information from the database.
    The database can be edited from a separate admin dashboard.
    I have recently rewritten our client software as a native android app. The new app makes calls to the server that look like browser calls. I have used Eclipse to develop the Android app.
    Sounds pretty standard so far, right? :-)
    I now want to replace the Ruby on Rails server with a new Java server that I will write. I want to use Eclipse to develop the new server. During development, I want to be able to have the new Android app communicate with the development server software that will reside on my desktop.
    So I was thinking that Oracle's tools might be perfect for me, if only I knew which tools to use. There are lot to choose from. :-)
    I believe that all I need is OEPE and a database. I would like to keep it pretty simple. I don't want to learn 20 new tools. It will be enough effort to become proficient in OEPE and a database.
    I looked at "Oracle Database Tools >> Connecting to an Oracle database" in the help files for OEPE 12.1.1. I tried going through the help files for Database connections, but I got to a "New Connection Profile" form that asks me for a SID, a user name, a password, etc. I don't have any of those. I tried to enter some data in the forms and ping the database, but I could not get any results from the ping. So my first question is: Do I have to sign up for an Oracle database in the cloud or is there a database contained within the OEPE software that I just installed. I will have to do the former anyway when I eventually deploy my new server software, so maybe the right thing to do is sign up for the "database in the cloud" service now, and use it during development.
    The other question I have is about getting a simple application client and server application sample. I found a "hello world" example at http://docs.oracle.com/cd/E13224_01/wlw/docs103/guide/webapplications/workshopJSP/tutorialJSP/TutorialJSPMakeJSP.html, but that is for WLS 10.3 and it doesn't seem to match the 12.1.1 software very well.
    So does anybody know where I can find a simple client and server sample program for WLS 12.1.1?
    If I can get these two questions answered, I can start making some progress.
    Thanks in advance to anybody who can help me navigate this minefield.
    Jim

    I wanted to add some information to my previous posting.
    1. The server I will develop will communicate ONLY with Android and iOS native apps, so the interface will not be HTML or XML. The information sent by the server to the client will be JSON. The information sent by the client to the server will be HTTP parameters, usually in the form of URL-encoded form data. This is not a browser-to-server server interface, so JSP is probably not appropriate for the server. The communication protocol will be HTTP.
    2. I don't need anything fancy on the server side. The server will simply be a Java program that emits JSON responses to the client and receives URL-encoded form data from the client. The server program will also make database queries and update the database.
    3. I don't understand how my native Android app will be able to communicate with my development server code running on my desktop. I want that communication to be over the internet, but my desktop does not have a static IP address, so I don't see how the app will be able to address the development server software on my desktop PC. I don't want to deploy the server software into the cloud every time I start a debug run, but I don't see any other way for my app to be able to address the server code over the Internet.
    If anybody has any ideas, I would appreciate hearing them.

  • Getting Started with Oracle Spatial

    I am not sure if this is the appropriate forum for this question but here goes:
    I have just started using Spatial, and am
    trying to setup a simple within-distance query, following closely the html documentation.
    I create a parks table:
    CREATE TABLE parks (GID VARCHAR2(32), shape MDSYS.SDO_GEOMETRY);
    and then the geometry metadata table:
    INSERT INTO sdo_geom_METADATA VALUES ('parks', 'shape', MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X', 0, 100, 0.005), MDSYS.SDO_DIM_ELEMENT('Y', 0, 100, 0.005)));
    I insert some entries into my PARKS table:
    INSERT INTO parks VALUES ('park1', MDSYS.SDO_GEOMETRY(1,NULL,MDSYS.SDO_POINT_TYPE(1,1,NULL),NULL, NULL));
    INSERT INTO parks VALUES ('park2', MDSYS.SDO_GEOMETRY(1,NULL,MDSYS.SDO_POINT_TYPE(1,3,NULL),NULL, NULL))
    and create a spatial index:
    create index parks_fixed on parks(shape) indextype is mdsys.spatial_index parameters('SDO_LEVEL=8');
    Finally, I do my within-distance query:
    select parks.GID from TARGET parks where mdsys.sdo_within_distance(parks.shape,
    MDSYS.SDO_GEOMETRY(1,NULL,MDSYS.SDO_POINT_TYPE(1,1,NULL),NULL, NULL),
    'distance=2')='true';
    to find points within 2 units of (1,1).
    Unfortunately, I get the error:
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13207: incorrect use of the [SDO_WITHIN_DISTANCE] operator
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 73
    ORA-06512: at line 1
    So a few questions:
    1: What am I doing wrong?
    2: In 4.2.3 of the Oracle HTML documentation,
    the example query has SELECT A.Feature_ID
    FROM TARGET A . . . . . .
    What is TARGET?
    3: The documentation has many errors. Where can I find better documentation?
    Any help on any of these matters would be greatly appreciated!
    Sincerely Yours,
    Hirohisa

    I am not sure if this is the appropriate forum for this question but here goes:
    I have just started using Spatial, and am
    trying to setup a simple within-distance query, following closely the html documentation.
    I create a parks table:
    CREATE TABLE parks (GID VARCHAR2(32), shape MDSYS.SDO_GEOMETRY);
    and then the geometry metadata table:
    INSERT INTO sdo_geom_METADATA VALUES ('parks', 'shape', MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X', 0, 100, 0.005), MDSYS.SDO_DIM_ELEMENT('Y', 0, 100, 0.005)));
    I insert some entries into my PARKS table:
    INSERT INTO parks VALUES ('park1', MDSYS.SDO_GEOMETRY(1,NULL,MDSYS.SDO_POINT_TYPE(1,1,NULL),NULL, NULL));
    INSERT INTO parks VALUES ('park2', MDSYS.SDO_GEOMETRY(1,NULL,MDSYS.SDO_POINT_TYPE(1,3,NULL),NULL, NULL))
    and create a spatial index:
    create index parks_fixed on parks(shape) indextype is mdsys.spatial_index parameters('SDO_LEVEL=8');
    Finally, I do my within-distance query:
    select parks.GID from TARGET parks where mdsys.sdo_within_distance(parks.shape,
    MDSYS.SDO_GEOMETRY(1,NULL,MDSYS.SDO_POINT_TYPE(1,1,NULL),NULL, NULL),
    'distance=2')='true';
    to find points within 2 units of (1,1).
    Unfortunately, I get the error:
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13207: incorrect use of the [SDO_WITHIN_DISTANCE] operator
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 73
    ORA-06512: at line 1
    So a few questions:
    1: What am I doing wrong?
    2: In 4.2.3 of the Oracle HTML documentation,
    the example query has SELECT A.Feature_ID
    FROM TARGET A . . . . . .
    What is TARGET?
    3: The documentation has many errors. Where can I find better documentation?
    Any help on any of these matters would be greatly appreciated!
    Sincerely Yours,
    Hirohisa

  • Not getting connection with Oracle 10g

    Dear All,
    I have installed oracle 10 g on linux , but when I want to connect it gives error msg like this
    "Firefox can't establish a connection to the server at 127.0.0.1."
    Please give me reply

    user8451897 wrote:
    I have installed oracle 10 g on linux , but when I want to connect it gives error msg like this
    "Firefox can't establish a connection to the server at 127.0.0.1."What do you expect to access via HTTP on localhost (127.0.0.1)?
    Are you looking for Oracle's Enterprise Manager (OEM)? Are you looking for Oracle's XDB (XML database's webdav interface)? Are you looking for Apex (Oracle's Application Express)? Something else?
    Installing also does not mean that you have created any of these services. You typically needs to run dbca (Data Base Creation Assistant) to create a database instance first (which will also setup OEM for you). OEM, XDB and Apex also do not run on tcp port 80 as that requires root privs that the Oracle processes do not have.
    So you need to explain exactly what you are doing and what you are expecting.

  • Starting with oracle Reports

    Hi
    I am working on sql server reporting services with oracle 10g DB.I would like to learn oracle reports.I have just got it installed in my vista PC
    Ps guide me with links/docs so that i can get started with oracle reports.
    at the outset i would like to know the bleow
    can i use a procedure returning a refcursor to run a report?
    if so how?
    Regards,

    Hello,
    You'll find many doc, examples, demos ... on OTN :
    http://www.oracle.com/technology/products/reports/index.html
    http://www.oracle.com/technology/documentation/reports.html
    http://www.oracle.com/technology/products/reports/htdocs/search.html?cat=ALP&col=ALC&submit=Search
    For the Ref Cursors :
    Oracle® Reports Building Reports
    10g Release 2 (10.1.2)
    B13895-01
    40 Building a Paper Report with REF CURSORs
    Regards

  • Need schema files for tutorial in getting started with soasuite11gR1

    Hi
    I just started working on Getting started with Oracle SOA suite11gR1 book.
    I dont have schema files required for tutorial.
    Can an provide me the schema files.
    creditchecck.xsd
    fulfillment.xsd
    internalorder.xsd
    OrderBookingDiscount.xsd
    po.xsd

    This link: http://download.oracle.com/technology/products/soa/soasuite/books/SOA11g_GettingStarted.zip contains the good files
    Edited by: 851325 on 11 avr. 2011 05:04

  • Getting started with WebLogic Portal 11g

    Please can someone provide links to get started with Oracle WebLogic Portal 11g.

    There is no such thing as Weblogic Portal 11g. The latest release of WebLogic Portal is 10.3.2.
    Here is a link to the documentation page. Please review the Getting Started and Tutorials documents.
    http://download.oracle.com/docs/cd/E15919_01/index.htm
    Edited by: Brad Posner on Dec 9, 2010 2:15 PM

  • JDevloper and Getting Started with BPM 11g

    I have the latest version of Jdevloper 11.1.1.5, and I am not finding the BPM Application,
    as outlined in the Book Getting Started with Oracle BPM Suite 11gR1? The settings for the 'role" are just not there?
    Must I run Jdevloper 11.1.2.1? which then complains about the maintenance level.
    Can anyone comment on why, this feature would not be in 11.1.1.5 ?
    Edited by: user2738980 on Dec 7, 2011 9:35 PM
    Edited by: user2738980 on Dec 7, 2011 9:40 PM

    I attempted this option early on, an once again the BPM option was not in the update list, I install Spring, the tomcat ext... but there was no BPM ext. you do have a point here, is there a separate update center?
    I'm assuming that it would / should be in the default centers for the tool?
    Edited by: user2738980 on Dec 9, 2011 6:56 PM

  • Tips and advices on how to get started with coherence

    Hi,
    I am getting started with Oracle Coherence (for Java), but the start isn't so smooth:
    I don't find the documentation so useful for a really beginner user (even the getting started guide...It has a lot of information but doesn't really get you started in my opinion ... :) ).
    Can someone point me to some tutorial/doc that can help me ?
    Thanks in advance.
    Edited by: e.gherardini on 10-mar-2010 2.28

    Thank you.
    In fact I am reading also this:
    http://wiki.tangosol.com/display/COH35UG/Recommended+Reading
    and it seems really helpful.

  • Error: SAP installation of ERP Sr3 with ORACLE 10g on Windows 2008 server

    Dear all,
    while installaing SAP ERP SR3 with ORACLE 10g on windows 2008 server...
    we are getting error as not support.
    please confirm wether this version of OS is uspported or not.
    thanking you in all,
    by
    Animesh

    actualy we tried to change Oraparam.ini file in the installation folder...
    edited ...  windows= 5.0, 5.1, 6.0
    we had entered 6.0
    Yes - that is necessary.
    and started ... but after starting we are getting ERROR like unKNOWN and installation popup (OUI popup) exiting with .. error popup.
    Yes - because Oracle delivers its own Java version - which is too old to run on Windows 2008.
    if you suggest us to use 2003 64 bit for temporaray .... purpose.
    and is there any specified procedure to UPgrade OS.
    like... DB should be updated before OS upgradation.
    You can run 10.2.0.4 on Windows 2003 x64 nicely and upgrade to Windows 2008. Since there is no "upgrade" (it is the highest version supported) there´s no need to do anything.
    The question you have to ask is:
    Why do you need Windows 2008? Is there any technical implication?
    Markus

Maybe you are looking for