Storing Images in Oracle 11g

Hi everybody,
Can anybody tell me how to store the images in an oracle 11g database and i want it in forms 10g

Hi Friend,
Use this link to store the images into oracle DB
http://sureshvaishya.blogspot.in/2009/08/insert-blob-image-file-into-database.html
http://www.google.co.in/#safe=active&hl=en&sclient=psy-ab&q=how%20to%20store%20the%20image%20in%20oracle%20table&oq=&gs_l=&pbx=1&bav=on.2,or.r_qf.&bvm=bv.45960087,d.bmk&fp=102d4945c0f75701&biw=1280&bih=836&pf=p&pdl=300&safe=on
Once the images are stored in table then in form
Create a new item in form and type as Image and change the image format to what format u have stored in DB.
Now Compile the form and check whether the images are getting displayed in forms.
Thanks & Regards
Srikkanth

Similar Messages

  • Calling Stored procedure in Oracle 11g from Oracle forms developer 6i

    We have Oracle 11g (11.1.0.7.0 ) database (64 bit) installed on Windows Server 2008.
    In this database, we have stored procedure ABC(arg1) which is accesing a table in another instance through DB LINK. If we EXECUTE this procedure from SQL/TOAD. It runs successfully and generates the desired output.
    If we write the contents of the stored procedure in the PROGRAM UNIT / ANY TRIGGER in FORM 6i then also, It runs successfully and generates the desired output.
    It is also mentioned, that if we try to use any table in the same instance (and not through DBLINK) then it works fine.
    However, if we try to call this stored procedure (which is  accesing a table in another instance through DB LINK) from  ORACLE FORMS  6i  in WHEN-BUTTON-PRESSED trigger then the FORM BUILDER gets hanged while compiling the form developed in FORMS 6i.
    Please provide a solution to this problem.
    THANKS IN ADVANCE.
    Hemant Singh.
    Asstt. Manager(IT)
    Software development team.

    Forms 6i was never meant to run against a 11g database, this was not tested and is also not supported.Well, that is not completely true. Developer 6i is supported against a 11g database, but only for Oracle Apps R11. That means that for most other customers (not Apps) Forms 6i will work against an 11g database. However, only Apps R11 is supported, and patches are only created specifically for Apps. We are also running Forms 6i against an 11g database without (well, minor) problems.
    In this case, you need to find a solution. You can try to put the stored procedure in a package. The package body, with the reference to the remote table, will be hidden from Forms this way.

  • How to convert SQL server stored procedures to Oracle 11g

    Hi Experts,
    In SQL server 30 stored procedures are there how to convert all the stored procedure
    from SQL server to Oracle 11g.
    Please help me,
    Thanks.

    ramya_162 wrote:
    In SQL server 30 stored procedures are there how to convert all the stored procedure
    from SQL server to Oracle 11g.
    The single most fundamental concept you need to understand (grok in its fullness) is:
    ORACLE IS NOT SQL-SERVER
    There is very little, to NOTHING, in common between T-SQL (a language extension to SQL) and PL/SQL (integration of SQL with the language Ada, part of ALGOL family of languages that includes Pascal and C++).
    So taking a T-SQL procedure and porting it as is to PL/SQL is plain stupid.
    Why?
    Oracle sucks at trying to be SQL-Server.
    So how do you migrate from SQL-Server to Oracle?
    By taking the REQUIREMENTS that the T-SQL procedures address, and addressing these requirements using Oracle SQL and PL/SQL.

  • Storing Images In Oracle 9.2 Using Forms 6i

    When my database was 8.1.7, storing Images in the database in BLOB field worked fine through Form 6i. But when the database was upgraded to 9.2 then the images are not loaded in the database through Forms 6i.
    Kindly help
    Thanks

    Hi,
    I wanted to do the same thing and faced the same problem. I'm working on Forms 6i and Oracle 9i as backend.
    When an Image item is created on forms, it's datatype is set to Long Raw. You can see this by changing the type of the image item to text item. You'll see that the datatype is Long Raw. The idea of inserting the image would work perfectly if you set the datatype of the column to Long Raw in the backend.
    For using BLOB... I searched alot but all in vain. No answer as to how to handle BLOB in Forms 6i.
    Do let me know if you get a way out.

  • Invalid OCI Handle when storing Blob in Oracle 11g with OCCI

    Hi,
    I'm getting Invalid OCI Handle ORA-32102 while execute the following code:
    try
                   env=Environment::createEnvironment(Environment::OBJECT);
                   connPool = env->createConnectionPool(userName, password,
                             database, minConn, maxConn, incrConn);
                   conn=connPool->createConnection(userName,password);
                   Blob blobRequest(conn);
                   blobRequest.open(OCCI_LOB_WRITEONLY);
                   unsigned int bytesReqWritten = blobRequest.write((unsigned int)bytesOut, req_buffer, (unsigned int)bytesOut);
                   cout << "Request bytes written "<< bytesReqWritten << endl;
                   blobRequest.close();
                   Blob blobResponse(conn);
                   blobResponse.open(OCCI_LOB_WRITEONLY);
                   unsigned int bytesRespWritten = blobResponse.write((unsigned int)bytesAckOut, resp_buffer, (unsigned int)bytesAckOut);
                   cout << "Response bytes written "<< bytesRespWritten << endl;
                   blobResponse.close();
                   stmt = conn->createStatement("BEGIN STORE_REQUEST(:1,:2); END;");
                   stmt->setBlob(1,blobRequest); <------------------------- Blob here
                   stmt->setBlob(2,blobResponse); <------------------------- Blob here
                   stmt->executeUpdate();
    catch(SQLException &e)
                   cout << "Error in Constructor Call " << endl;
                   cout << "Error Number: " << e.getErrorCode() << endl;
                   cout << e.getMessage() << endl;
         conn->terminateStatement(stmt);
         connPool->terminateConnection (conn);
         env->terminateConnectionPool (connPool);
         Environment::terminateEnvironment(env);
    Anyone can help me? Please.
    Kind Regards, denis

    Hi,
    The correct code for insert blobs must be writed like this:
    try
    env=Environment::createEnvironment(Environment::OBJECT);
    connPool = env->createConnectionPool(userName, password,
    database, minConn, maxConn, incrConn);
    conn=connPool->createConnection(userName,password);
    //1. First insert empty blobs in tables...
    Blob blobRequest;
    blobRequest.setEmpty(conn);
    Blob blobResponse;
    blobResponse.setEmpty(conn);
    stmt = conn->createStatement("BEGIN STORE_REQUEST(:1,:2); END;");
    stmt->setBlob(1,blobRequest);
    stmt->setBlob(2,blobResponse);
    stmt->executeUpdate();
    //2.Select Blobs for update and commit
    stmt2 = conn->createStatement("SELECT REQUEST,RESPONSE FROM STORE WHERE ID=:ID FOR UPDATE");
    stmt2->setString(1,id.c_str());
    ResultSet *rs = stmt2->executeQuery();
    if(rs->next())
    blobRequest = rs->getBlob(1);
    blobRequest.write((unsigned int)bytesOut, req_buffer, (unsigned int)bytesOut);
    blobResponse = rs->getBlob(2);
    blobResponse.write((unsigned int)bytesAckOut, resp_buffer, (unsigned int)bytesAckOut);
    conn->commit();
    else
    conn->rollback();
    catch(SQLException &e)
    cout << "Error in Constructor Call " << endl;
    cout << "Error Number: " << e.getErrorCode() << endl;
    cout << e.getMessage() << endl;
    stmt2->closeResultSet(rs);
    conn->terminateStatement(stmt);
    conn->terminateStatement(stmt2);
    connPool->terminateConnection (conn);
    env->terminateConnectionPool (connPool);
    Environment::terminateEnvironment(env);

  • Is DDL is suported in ogg from sqlserver 2005  to oracle 11g xe

    Hi !
    i want to use ogg to trasfer all tables and sp from sql server 2005 to oracle 11g xe. (using windows 2008,ogg112101_ggs_Windows_x86_ora11g_32bit.zip)
    is it suported? becasue i read "Extraction or replication of DDL (data definition language) operations.Non-supported objects and operations for SQL Server" in
    from SQL Server Installation and Setup Guide
    11g Release 2 Patch Set 1 (11.2.1.0.1)
    yours sincerely

    Does that mean even i cant migragte MSSQL stored procedure to oracle 11g xe also?Correct. You can't do that with GoldenGate. However, as Steve mentioned, you should look into SQL Developer migration capabilities (formally Migration Workbench). It can convert some T-SQL to PL/SQL but you'll need to do some (probably a lot) of custom code changes. Porting application logic from one language to another is basically a holy grail for IT systems. OGG will convert datatypes on the fly but it will never port application logic on the fly.
    Good luck,
    -joe

  • Update jdk from Oracle 11g? (version is EOL)

    When does Oracle plan to update the jdk and jvm used in Oracle 11g stored procedures?
    Oracle 11g ships with java 1.5, which reached EOL in October, 2009.
    (See [http://www.oracle.com/technetwork/java/eol-135779.html] )
    Thus, the compiler and VM used to provide Java functionality in the Oracle Database are ~2.5 years beyond the era when they were officially supported.
    Edited by: 921895 on Mar 19, 2012 9:55 AM

    Currently , the java version in the database cannot be upgraded - this is being looked upon as a future option.
    OracleJVM Install and Upgrade FAQ [ID 825306.1]
    Possible to Upgrade JDK Classes Supplied with Database Version 8i-10g? [ID 342810.1]     
    HTH
    Srini

  • Accessing Image from oracle to VB.

    How can access the stored image in oracle 8.0 table to Visual BASIC 6.0.?
    PLease give me the help regarding to its supporting file , if it is using any file, like ocx, dll etc.
    And also give me the links for getting its ocx and dll files.

    Here's an Oracle Magazine article that illustrates how to display an image stored as a blob in the database on a Windows Form:
    http://www.oracle.com/technology/oramag/oracle/05-nov/o65odpnet.html
    Perhaps that will be enough to get you going in the right direction.
    - Mark

  • Export chksum of stored procs from Oracle Database

    Does anyone know how I would export a checksum of stored procedures and packages that are stored in a oracle 11g db?
    I need to extract this information and then with a script that I will create I need to compare a chksum of what is in my Liquibase. I need to create this to alert me when a dba or engineer makes a change in the database but does not make the same change in Liquibase.
    It was suggested to me that there might be some function I could use to do this or possibly use datapump in some way.
    Anyone have any ideas?
    Thanks

    RedDeuce wrote:
    Does anyone know how I would export a checksum of stored procedures and packages that are stored in a oracle 11g db?
    I need to extract this information and then with a script that I will create I need to compare a chksum of what is in my Liquibase. I need to create this to alert me when a dba or engineer makes a change in the database but does not make the same change in Liquibase.
    It was suggested to me that there might be some function I could use to do this or possibly use datapump in some way.
    Anyone have any ideas?
    ThanksHere is a timing problem.
    At some point in time, a change will exist within PROD & not in Liquibase.
    How much elapsed time is allowed between making 1st & doing Liquibase?
    How often should this comparison be done?

  • Image not displaying in pdf report using XSL-FO and using Oracle 11g databa

    Good Afternoon,
    I have created over 15 reports using XSL-fo, with the following syntax to display an image on the pdf:
    fo:block margin-left="0.24cm" margin-right="0.27cm" margin-top="0.0cm" ><fo:external-graphic content-width="scale-to-fit" content-height="scale-to-fit" width="1.73cm" height="1.57cm" >
    <xsl:attribute name="src">'url("http://readiness:7780/i/marforcom_symbol_rpts.gif")'</xsl:attribute></fo:external-graphic>
    </fo:block>
    This syntax works fine when using Oracle 10g, now my database has been upgraded to 11g and my image no longer displays in the reports. I have already upload the image into the database as a workspace image.
    I have tried to point the image @ the image by using url(#WORKSPACE_IMAGE#marforcom_symbol_rpts.gif)
    or <img src ="#IMAGE_PREFIX#marforcom_symbol_rpts.gif")
    and it still doesn't work.
    I have searched this forum trying to come up with a solution that will fix my problem and am unable to.
    Current config: Oracle 11g, using pl/sql gateway.
    I need to know how to point the xsl-fo file to the database, where the image now resides.
    Thanks,
    Mary
    Edited by: MaryM on Jul 25, 2012 3:15 PM
    Edited by: MaryM on Jul 25, 2012 3:51 PM

    Hi,
    I think you need load images to database XDB virtual directory /i/ and then use #IMAGE_PREFIX# substitution.
    This might help to access /i/
    http://www.apex-blog.com/oracle-apex/accessing-i-using-ftp-170.html
    Or use this to load images
    http://oracleinsights.blogspot.fi/2012/05/loading-images-into-oracle-xdb.html
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • MS SQL Server system stored procedures can't be migrated into Oracle 11g

    During database migration from MS SQL Server 2008 to Oracle 11g R2, if the application stored procedure invokes the MS SQL Server system stored procedures (for example: sp_getapplock, sp_releaseapplock ....), these SQL server system stored procedures can't be transferred. See following migrated Oracle application stored procedure for example:
    create or replace
    PROCEDURE spPwSysID_GetNextID
    v_ID OUT NUMBER,
    iv_SysType IN NVARCHAR2 DEFAULT NULL ,
    iv_Cnt IN NUMBER DEFAULT NULL
    AS
    v_SysType NVARCHAR2(50) := iv_SysType;
    v_Cnt NUMBER(10,0) := iv_Cnt;
    v_result NUMBER(10,0);
    BEGIN
    --SQL Server BEGIN TRANSACTION;
    utils.incrementTrancount;
    v_Systype := UPPER(v_Systype) ;
    IF v_Cnt < 1 THEN
    v_Cnt := 1 ;
    END IF;
    v_result :=sp_getapplock(v_Resource => v_Systype,
    v_LockMode => 'Exclusive') ;
    IF v_result >= 0 THEN
    BEGIN
    SELECT ID
    INTO v_ID
    FROM PWSYSID
    WHERE SysType = v_SysType;
    IF SQL%ROWCOUNT = 1 THEN
    UPDATE PwSysID
    SET ID = ID + v_cnt
    WHERE SysType = v_SysType;
    ELSE
    BEGIN
    INSERT INTO PwSysID
    ( ID, SysType )
    VALUES ( v_cnt + 1, v_SysType );
    v_ID := 1 ;
    END;
    END IF;
    v_result :=sp_releaseapplock(v_Resource => v_Systype) ;
    END;
    ELSE
    BEGIN
    raise_application_error( -20002, 'Lock failed to acquire to generate Cityworks Id.' );
    END;
    END IF;
    utils.commit_transaction;
    END;

    During database migration from MS SQL Server 2008 to Oracle 11g R2, if the application stored procedure invokes the MS SQL Server system stored procedures (for example: sp_getapplock, sp_releaseapplock ....), these SQL server system stored procedures can't be transferred. See following migrated Oracle application stored procedure for example:
    create or replace
    PROCEDURE spPwSysID_GetNextID
    v_ID OUT NUMBER,
    iv_SysType IN NVARCHAR2 DEFAULT NULL ,
    iv_Cnt IN NUMBER DEFAULT NULL
    AS
    v_SysType NVARCHAR2(50) := iv_SysType;
    v_Cnt NUMBER(10,0) := iv_Cnt;
    v_result NUMBER(10,0);
    BEGIN
    --SQL Server BEGIN TRANSACTION;
    utils.incrementTrancount;
    v_Systype := UPPER(v_Systype) ;
    IF v_Cnt < 1 THEN
    v_Cnt := 1 ;
    END IF;
    v_result :=sp_getapplock(v_Resource => v_Systype,
    v_LockMode => 'Exclusive') ;
    IF v_result >= 0 THEN
    BEGIN
    SELECT ID
    INTO v_ID
    FROM PWSYSID
    WHERE SysType = v_SysType;
    IF SQL%ROWCOUNT = 1 THEN
    UPDATE PwSysID
    SET ID = ID + v_cnt
    WHERE SysType = v_SysType;
    ELSE
    BEGIN
    INSERT INTO PwSysID
    ( ID, SysType )
    VALUES ( v_cnt + 1, v_SysType );
    v_ID := 1 ;
    END;
    END IF;
    v_result :=sp_releaseapplock(v_Resource => v_Systype) ;
    END;
    ELSE
    BEGIN
    raise_application_error( -20002, 'Lock failed to acquire to generate Cityworks Id.' );
    END;
    END IF;
    utils.commit_transaction;
    END;

  • How to migrate data fSQL server 2005 Tables with image column To ORACLE 11g

    Hi ....
    I am in the middle of migrating our database from sqlserver 2005 version to ORACLE 11g instance, and i'm facing a problem when trying to load data into one of the oracle table which has blob column and some more. The data file was extracted from sql server 2005 table which has image column and some more. All other columns are sinking with the migration as expected but the image column is not getting loaded into oralce blob.
    I tried loading data using sqlloader.
    Is there any other way to migrate data directly between these two versions of database?. Pls help...
    Edited by: user13310523 on 21-Jun-2010 23:48

    Welcome to the forum,
    Hi,
    To link Oracle with SQL Server follow this steps:
    1-Install Oracle ODBC drivers on the server (your local Oracle database) that will access the remote SQL Server database using the database link.
    2. Setup the ODBC connection on the local Oracle database using the Windows ODBC Data Source Administrator
    3. Test the ODBC drivers to ensure that connectivity is made to the SQL Server database.
    4. Ensure that your global_names parameter is set to False.
    5. Configure the Oracle Heterogeneous services by creating an initodbc.ora file within the Oracle database.
    7. Modify the Listener.ora file.
    SID_NAME is the DSN for the remote database.
    ORACLE_HOME is the actual Oracle home file path.
    PROGRAM tells Oracle to use heterogeneous services.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=Cas30C) -- Enter the DSN on this line
    (ORACLE_HOME = c:\oracle10gdb) -- Enter your Oracle home on this line
    (PROGRAM = hsodbc) ) )
    8. Modify the Tnsnames.ora file. This is the Oracle database installation accessed by the users to connect to the ODBC drivers
    (DESCRIPTION=
    (ADDRESS_LIST=
    (Address=(PROTOCOL=TCP)
    (HOST=
    -- (Server x)
    (PORT=1521))) -- Enter the port on which the server x Oracle installation
    -- is listening
    (CONNECT_DATA=(SID=Cas30c)) - Enter the DSN name
    (HS=OK) -- Enter this value. It tells Oracle to use hetergeneous services
    9. Reload the listener on local Oracle database
    10. Create a database link on the local Oracle installation that accesses the heterogeneous connection, which, in turn, connect to SQL Server.
    11. Run a SQL Server Select statement from the Oracle installation using the database link
    Thanks
    BelMan :)

  • Storing more than 2000 characters in a varchar2 column in Oracle 11g?

    We have a table in Oracle 11g with a varchar2 column. We use a proprietary programming language where this column is defined as string. Maximum we can store 2000 characters (4000 bytes) in this column. Now the requirement is such that the column needs to store more than 2000 characters. The DBAs don't like BLOB, CLOB or LONG datatypes for maintenance reasons.
    There are 2 solutions I can think of -
    1. Remove this column from the original table and have a separate table for this column and then store each character in a row, in order to get more than 2000 characters. This table will be joined with the original table for queries.
    2. If maximum I need is 8000 characters, can I just add 3 more columns so that I will have 4 columns with 2000 char each to get 8000 chars. So when the first column is full, values would be spilled over to the next column and so on.
    Which one is a better and easier approach? Please suggest.

    Visu - Some people also do not like to use LOBs because of difficulty in reclaiming space and ever increasing LOB segments. Some of these problems were caused by Oracle bugs (eg, Bug 2944866 Free space in LOB table / tablespace not reused with ASSM, Bug 3019979 Space may not be reused efficiently in a LOB segment) - albeit in 9.2. I've seen a few bug reports for similar things in 10.2 (don't have the references). Still, if there is a workaround/patch is this reason enough to steer the application development into a new direction?

  • Unable to view the image in Oracle Mapbuilder

    Hi,
    I am unable to view the image using oracle mapviewer.
    It stated that:
    No spatial data to render...
    INFO [oracle.sdovis.CacheMgr2] Spatial Data Cache opened. Region=SDOVIS_DATA.
    INFO [oracle.sdovis.CacheMgr2]      max_cache_size=32 MB.
    INFO [oracle.sdovis.CacheMgr2] sub region sdovis_subreg_ias_spatial_jdbc:oracle:thin:@dbdev:1521:orcl created in cache.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    INFO [oracle.sdovis.DBSRSCache] Loading SRS information from MDSYS.cs_srs (srid=8307).
    DEBUG [oracle.sdovis.DBSRSCache] Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-8
    FINEST [oracle.sdovis.theme.grtp] Theme definition SRID: 8307
    FINEST [oracle.sdovis.theme.grtp] Bands: Red - 1 Green - 1 Blue - 1
    DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.IMAGE from NYP_IMAGES grt where grt.IMAGE.rasterid = ? and grt.IMAGE.rasterdatatable = ?
    ERROR [oracle.sdovis.theme.grtp] java.lang.NullPointerException
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:589)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    ERROR [oracle.sdovis.ltd] Message:GeoRaster load Exception: null
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:855)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-10
    FINEST [oracle.sdovis.theme.grtp] Theme definition SRID: 8307
    DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.IMAGE from NYP_IMAGES grt where grt.IMAGE.rasterid = ? and grt.IMAGE.rasterdatatable = ?
    ERROR [oracle.sdovis.theme.grtp] java.lang.NullPointerException
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:589)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    ERROR [oracle.sdovis.ltd] Message:GeoRaster load Exception: null
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:855)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-12
    WARN [oracle.sdovis.theme.grtp] GeoRaster SRID can not be 0.
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-14
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: -Infinity,-Infinity,NaN,NaN
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: SELECT rowid, tb_prv.IMAGE.SPATIALEXTENT, 'dbdev_NYP_IMAGES_render', null, 'null', -1 FROM NYP_IMAGES tb_prv
    INFO [oracle.sdovis.CacheMgr2] Creating/replacing a geometry cache group: sdovis_subreg_ias_spatial_jdbc:oracle:thin:@dbdev:1521:orcl : NYP_IMAGES_IMAGE.SPATIALEXTENT_PDT_GEOM.
    DEBUG [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ] sql exec time: 16ms, total time loading 1 features: 78ms.
    FINEST [oracle.sdovis.MapMaker] mbr of all themes: java.awt.geom.Rectangle2D$Double[x=-330.05,y=-206.35000000000002,w=3308.6025,h=2565.5175]
    INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 78ms.
    FINEST [oracle.sdovis.RE] xfm: 0.15474460805665913 0.0 0.0 -0.15474460805665913 185.0792593502091 365.0684501275084
    DEBUG [oracle.sdovis.VectorRenderer] time to render theme NYP_IMAGES with 1 styled features: 16ms
    DEBUG [oracle.sdovis.VectorRenderer] time to label theme NYP_IMAGES with 1 styled features: 0ms
    INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 31ms
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-16
    WARN [oracle.sdovis.theme.grtp] GeoRaster SRID can not be 0.
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    FINEST [oracle.sdovis.SRS] *** isGeodetic=true, unit=DECIMAL DEGREE
    FINEST [oracle.sdovis.SRS] before adjusting: minX = -1196.0304250629722, maxX=3844.532925062972 minY=-206.3499999999999, maxY=2359.1675 w=5040.563350125944, h=2565.5175
    FINEST [oracle.sdovis.SRS] After adjusting: minX = 0.0, maxX=360.0 minY=-90.0, maxY=90.0 w=5040.563350125944, h=2565.5175
    WARN [oracle.sdovis.SRS] Resizing query window to be within valid bounds.
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-18
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: 0.0,-90.0,360.0,90.0
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: SELECT rowid, tb_prv.IMAGE.SPATIALEXTENT, 'dbdev_NYP_IMAGES_render', null, 'null', -1 FROM NYP_IMAGES tb_prv WHERE MDSYS.SDO_FILTER(tb_prv.IMAGE.SPATIALEXTENT, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    DEBUG [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ] sql exec time: 859ms, total time loading 1 features: 859ms.
    INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 859ms.
    FINEST [oracle.sdovis.RE] xfm: 2.1666666666666665 0.0 0.0 -2.1666666666666665 0.0 198.5
    DEBUG [oracle.sdovis.VectorRenderer] time to render theme NYP_IMAGES with 1 styled features: 16ms
    DEBUG [oracle.sdovis.VectorRenderer] time to label theme NYP_IMAGES with 1 styled features: 0ms
    INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 16ms
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    FINEST [oracle.sdovis.SRS] *** isGeodetic=true, unit=DECIMAL DEGREE
    FINEST [oracle.sdovis.SRS] before adjusting: minX = 3.173803526448353, maxX=356.82619647355165 minY=-90.0, maxY=90.0 w=353.6523929471033, h=180.0
    FINEST [oracle.sdovis.SRS] After adjusting: minX = 3.173803526448353, maxX=356.82619647355165 minY=-90.0, maxY=90.0 w=353.6523929471033, h=180.0
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-20
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: 3.173803526448353,-90.0,356.82619647355165,90.0
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: SELECT rowid, tb_prv.IMAGE.SPATIALEXTENT, 'dbdev_NYP_IMAGES_render', null, 'null', -1 FROM NYP_IMAGES tb_prv WHERE MDSYS.SDO_FILTER(tb_prv.IMAGE.SPATIALEXTENT, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    DEBUG [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ] sql exec time: 0ms, total time loading 1 features: 0ms.
    INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 16ms.
    FINEST [oracle.sdovis.RE] xfm: 2.2055555555555553 0.0 0.0 -2.2055555555555553 -6.99999999999992 198.50000000000003
    DEBUG [oracle.sdovis.VectorRenderer] time to render theme NYP_IMAGES with 1 styled features: 15ms
    DEBUG [oracle.sdovis.VectorRenderer] time to label theme NYP_IMAGES with 1 styled features: 0ms
    INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 31ms
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    FINEST [oracle.sdovis.DBMapMaker] adding predefined theme [name=GEORTHEME]
    FINEST [oracle.sdovis.ThemeTable] key_column using default: ROWID
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-22
    FINEST [oracle.sdovis.theme.grtp] Theme definition SRID: 8307
    FINEST [oracle.sdovis.theme.grtp] Bands: Red - 1 Green - 1 Blue - 1
    DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.IMAGE from NYP_IMAGES grt where grt.IMAGE.rasterid = ? and grt.IMAGE.rasterdatatable = ?
    ERROR [oracle.sdovis.theme.grtp] java.lang.NullPointerException
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:589)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    ERROR [oracle.sdovis.ltd] Message:GeoRaster load Exception: null
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:855)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-24
    WARN [oracle.sdovis.theme.grtp] GeoRaster SRID can not be 0.
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    FINEST [oracle.sdovis.SRS] *** isGeodetic=true, unit=DECIMAL DEGREE
    FINEST [oracle.sdovis.SRS] before adjusting: minX = 3.173803526448353, maxX=356.82619647355165 minY=-90.0, maxY=90.0 w=353.6523929471033, h=180.0
    FINEST [oracle.sdovis.SRS] After adjusting: minX = 3.173803526448353, maxX=356.82619647355165 minY=-90.0, maxY=90.0 w=353.6523929471033, h=180.0
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-26
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: 3.173803526448353,-90.0,356.82619647355165,90.0
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: SELECT rowid, tb_prv.IMAGE.SPATIALEXTENT, 'dbdev_NYP_IMAGES_render', null, 'null', -1 FROM NYP_IMAGES tb_prv WHERE MDSYS.SDO_FILTER(tb_prv.IMAGE.SPATIALEXTENT, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    DEBUG [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ] sql exec time: 765ms, total time loading 1 features: 765ms.
    INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 765ms.
    FINEST [oracle.sdovis.RE] xfm: 2.2055555555555553 0.0 0.0 -2.2055555555555553 -6.99999999999992 198.50000000000003
    DEBUG [oracle.sdovis.VectorRenderer] time to render theme NYP_IMAGES with 1 styled features: 31ms
    DEBUG [oracle.sdovis.VectorRenderer] time to label theme NYP_IMAGES with 1 styled features: 0ms
    INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 125ms
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    FINEST [oracle.sdovis.DBMapMaker] adding predefined theme [name=GEORTHEME]
    DEBUG [oracle.sdovis.ThemeTable] Got SRID for base table NYP_IMAGES from data source cache
    FINEST [oracle.sdovis.ThemeTable] key_column using default: ROWID
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-28
    FINEST [oracle.sdovis.theme.grtp] Theme definition SRID: 8307
    DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.IMAGE from NYP_IMAGES grt where grt.IMAGE.rasterid = ? and grt.IMAGE.rasterdatatable = ?
    ERROR [oracle.sdovis.theme.grtp] java.lang.NullPointerException
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:589)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    ERROR [oracle.sdovis.ltd] Message:GeoRaster load Exception: null
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:855)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    For the image i want to view, the data i got for the image that is being stored in the georaster object are:
    IMAGE(RASTERTYPE, SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELE
    SDO_GEORASTER(20001, SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003,
    1), SDO_ORDINATE_ARRAY(-180, -90, -180, 1073, -180, 2237, 1320, 2237, 2821, 223
    7, 2821, 1073, 2821, -90, 1320, -90, -180, -90)), 'NYP_IMAGES_RDT', 131, XMLTYPE
    (<georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
    <objectI))
    May i know whether the image is georeferenced?
    If it is successfully georeference, why does it stated that no spatial data to render?
    Regards,
    Esther

    IMAGE_ID IMAGE_DESCRIPTION
    IMAGE(RASTERTYPE, SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELE
    161 TIFF
    SDO_GEORASTER(20001, SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003,
    1), SDO_ORDINATE_ARRAY(-180, -90, -180, 1073, -180, 2237, 1320, 2237, 2821, 223
    7, 2821, 1073, 2821, -90, 1320, -90, -180, -90)), 'NYP_IMAGES_RDT', 131, XMLTYPE
    (<georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
    <objectInfo>
    <rasterType>20001</rasterType>
    <isBlank>false</isBlank>
    <defaultRed>1</defaultRed>
    <defaultGreen>1</defaultGreen>
    <defaultBlue>1</defaultBlue>
    </objectInfo>
    <rasterInfo>
    <cellRepresentation>UNDEFINED</cellRepresentation>
    <cellDepth>4BIT</cellDepth>
    <totalDimensions>2</totalDimensions>
    <dimensionSize type="ROW">
    <size>2327</size>
    </dimensionSize>
    <dimensionSize type="COLUMN">
    <size>3001</size>
    </dimensionSize>
    <ULTCoordinate>
    <row>0</row>
    <column>0</column>
    </ULTCoordinate>
    <blocking>
    <type>REGULAR</type>
    <totalRowBlocks>10</totalRowBlocks>
    <totalColumnBlocks>12</totalColumnBlocks>
    <rowBlockSize>256</rowBlockSize>
    <columnBlockSize>256</columnBlockSize>
    </blocking>
    <interleaving>BIP</interleaving>
    <pyramid>
    <type>DECREASE</type>
    <resampling>NN</resampling>
    <maxLevel>3</maxLevel>
    </pyramid>
    <compression>
    <type>NONE</type>
    </compression>
    </rasterInfo>
    <spatialReferenceInfo>
    <isReferenced>true</isReferenced>
    <isRectified>true</isRectified>
    <SRID>82394</SRID>
    <spatialResolution dimensionType="X">
    <resolution>28.5</resolution>
    </spatialResolution>
    <spatialResolution dimensionType="Y">
    <resolution>28.5</resolution>
    </spatialResolution>
    <modelCoordinateLocation>UPPERLEFT</modelCoordinateLocation>
    <modelType>FunctionalFitting</modelType>
    <polynomialModel rowOff="0" columnOff="0" xOff="0" yOff="0" zOff="0" rowScal
    e="1" columnScale="1" xScale="1" yScale="1" zScale="1">
    <pPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>-479.9329824561403 0 0.03508771929824561</polyno
    mialCoefficients>
    </pPolynomial>
    <qPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1</polynomialCoefficients>
    </qPolynomial>
    <rPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>43256.28210526316 -0.03508771929824561 0</polyno
    mialCoefficients>
    </rPolynomial>
    <sPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1</polynomialCoefficients>
    </sPolynomial>
    </polynomialModel>
    </spatialReferenceInfo>
    <layerInfo>
    <layerDimension>BAND</layerDimension>
    <subLayer>
    <layerNumber>1</layerNumber>
    <layerDimensionOrdinate>0</layerDimensionOrdinate>
    <layerID>subLayer1</layerID>
    <colorMap>
    <colors>
    <cell value="0" blue="0" red="0" green="0" alpha="255"/>
    <cell value="1" blue="20" red="20" green="20" alpha="255"/>
    <cell value="2" blue="36" red="36" green="36" alpha="255"/>
    <cell value="3" blue="48" red="48" green="48" alpha="255"/>
    <cell value="4" blue="52" red="52" green="52" alpha="255"/>
    <cell value="5" blue="72" red="72" green="72" alpha="255"/>
    <cell value="6" blue="121" red="121" green="121" alpha="255"/>
    <cell value="7" blue="133" red="133" green="133" alpha="255"/>
    <cell value="8" blue="153" red="153" green="153" alpha="255"/>
    <cell value="9" blue="178" red="178" green="178" alpha="255"/>
    <cell value="10" blue="178" red="178" green="186" alpha="255"/>
    <cell value="11" blue="186" red="186" green="186" alpha="255"/>
    <cell value="12" blue="198" red="198" green="214" alpha="255"/>
    <cell value="13" blue="230" red="230" green="234" alpha="255"/>
    IMAGE_ID IMAGE_DESCRIPTION
    IMAGE(RASTERTYPE, SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELE
    <cell value="14" blue="242" red="242" green="242" alpha="255"/>
    <cell value="15" blue="255" red="255" green="255" alpha="255"/>
    </colors>
    </colorMap>
    </subLayer>
    </layerInfo>
    </georasterMetadata>
    Is this being georeferenced?

  • What should i do with an Oracle 11g Database, MySQL database and a dump file.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
    I have another Sever test that already set up MySQL database, and a dump file from the system.
    So I want to ask these 2 questions :
    1. How to create an new Oracle Database from that dump file ?
    2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
    Thanks alot.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
    As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision

Maybe you are looking for

  • Getting an error while importng a cd

    Every time i try to import a cd i get an error from microsoft that says an error has occured and it needs to close itunes. Why is this happening?

  • Help! My Today view Widgets are not working properly!

    I have an iPhone 6 Plus on iOS 8.1 and I thought upgrading from 8.0.2 would fix this problem but it didn't. My Today widgets don't seem to work properly. The Yahoo Weather widget is empty and randomly flashes what it is supposed to display correctly,

  • 11.2.0.3 dbca 建库时报ORA-704

    在安装RMS过程中,11.2.0.3的数据库DBCA时使用自带的模板克隆数据库时报: ORA-00704: bootstrap process failure ORA-39700: database must be opened with UPGRADE option alert 日志: ORACLE_BASE from environment = /u01/app/oracle Tue Sep 18 10:40:10 2012 Create controlfile reuse set data

  • Using PKI to secure our infrastructure

    Hi, We have 300 employees in our organization and now we'd like to provide them new services, but keep their devices under our control. Main questions are: - due work activities and our job structure, a lot of employees are working at home. Some of t

  • Oracleoms10gASControl windows service is not starting 10.2.0.5

    Hi I am having an issue with my Grid Control installation. the Oracleoms10gASControl service will not start when checking the windows event log I can see the following error: An error occurred while trying to initialize the service. this error was no