Force Synonym

Hi,
Oracle give creation of view with the option Force and Noforce by default it is no force. so why not oracle has given same facility to Synonym. what i understand with the force option of View oracle check the existence of the view when any dml is fired on that view , same could be done with the synonym.

Hi and welcome to the forum!
FORCE
*Specify FORCE if you want to create the view regardless of whether the base tables of the view or the referenced object types exist or the owner of the schema containing the view has privileges on them.* These conditions must be true before any SELECT, INSERT, UPDATE, or DELETE statements can be issued against the view.If the view definition contains any constraints, CREATE VIEW ... FORCE will fail if the base table does not exist or the referenced object type does not exist. CREATE VIEW ... FORCE will also fail if the view definition names a constraint that does not exist.>
[For Clause of Create Synonym|http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7001.htm#CJAJCDDF]
Specify the object for which the synonym is created. The schema object for which you are creating the synonym can be of the following types:* Table or object table
* View or object view
* Sequence
* Stored procedure, function, or package
* Materialized view
* Java class schema object
* User-defined object type
* Synonym
The schema object need not currently exist and you need not have privileges to access the object.>
What is your question exactly?

Similar Messages

  • Dbms_java.dropjava

    I'm trying to execute the following
    call dbms_java.dropjava('-force -synonym C:\oracle\product\10.1.0\db_1\olap\api\libawxml.jar');
    call dbms_java.dropjava('-force -synonym C:\oracle\product\10.1.0\db_1\olap\api\olap_api_spl.jar');
    call dbms_java.loadjava('-force -resolve -grant PUBLIC -synonym C:\oracle\product\10.1.0\db_1\olap\api\olap_api_spl.jar');
    call dbms_java.loadjava('-force -resolve -grant PUBLIC -synonym C:\oracle\product\10.1.0\db_1\olap\api\awxml.jar');
    and for each one of them (if i execute them independently) is giving me
    call dbms_java.dropjava('-force -synonym C:\oracle\product\10.1.0\db_1\olap\api\
    libawxml.jar')
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Do you know what is causing this and how can i fix it.
    Thanks

    The ORA error message says:
    ORA-03113: end-of-file on communication channel
    Cause: The connection between Client and Server process was broken.
    Action: There was a communication error that requires further investigation. First, check for network problems and review the SQL*Net setup. Also, look in the alert.log file for any errors. Finally, test to see whether the server process is dead and whether a trace file was generated at failure time.
    Don't know if that helps!
    Regards,
    Lisa

  • ORA-29516: Ausführung von Aurora .. Assertion failure at eox.c:232

    I am trying to use developer-depoly an to load/deploy some java class to oracle 9.2.0.1.0 on Suse-Linux 8 Java 1.3 platform
    However I got the following error, what am I missing here? (On Windows 2000 is no problem).
    I have the same Problem with Oracle Enterprise Manager Console too!
    What kind of permissions are needed? And, how
    to grant these permissions?
    Invoking loadjava on connection 'Connection1' with arguments:
    -order -resolve -noverify -debug -definer -force -thin -synonym -verbose
    creating : resource connections.xml
    loading : resource connections.xml
    Error while creating resource connections.xml
    ORA-29516: Ausf�hrung von Aurora nicht erfolgreich: Assertion failure at eox.c:232
    Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
    java.sql.SQLException: ORA-29516: Ausf�hrung von Aurora nicht erfolgreich: Assertion failure at eox.c:232
    Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
              DBError.java:187
         void oracle.jdbc.ttc7.TTIoer.processError()
              TTIoer.java:241
         void oracle.jdbc.ttc7.Oall7.receive()
              Oall7.java:543
         void oracle.jdbc.ttc7.TTC7Protocol.doOall7(byte, byte, int, byte[], oracle.jdbc.dbaccess.DBType[], oracle.jdbc.dbaccess.DBData[], int, oracle.jdbc.dbaccess.DBType[], oracle.jdbc.dbaccess.DBData[], int)
              TTC7Protocol.java:1477
         int oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(oracle.jdbc.dbaccess.DBStatement, byte, byte[], oracle.jdbc.dbaccess.DBDataSet, int, oracle.jdbc.dbaccess.DBDataSet, int)
              TTC7Protocol.java:890
         void oracle.jdbc.driver.OracleStatement.executeNonQuery(boolean)
              OracleStatement.java:2004
         void oracle.jdbc.driver.OracleStatement.doExecuteOther(boolean)
              OracleStatement.java:1924
         void oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout()
              OracleStatement.java:2562
         boolean oracle.jdbc.driver.OracleStatement.execute(java.lang.String)
              OracleStatement.java:1038
         void oracle.aurora.server.tools.loadjava.JdbcOperations.executeDDL(java.lang.String)
              JdbcOperations.java:373
         boolean oracle.aurora.server.tools.loadjava.JdbcOperations.executeDDL(java.lang.String, java.lang.String)
              JdbcOperations.java:358
         boolean oracle.aurora.server.tools.loadjava.SchemaObject.executeDDL(java.lang.String, java.lang.String)
              SchemaObject.java:598
         boolean oracle.aurora.server.tools.loadjava.ClientResourceObject.create()
              ClientResourceObject.java:28
         boolean oracle.aurora.server.tools.loadjava.SchemaObject.process1()
              SchemaObject.java:161
         void oracle.aurora.server.tools.loadjava.LoadJava.add(oracle.aurora.server.tools.loadjava.SchemaObject)
              LoadJava.java:488
         void oracle.aurora.server.tools.loadjava.LoadJava.addObject(int, java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:474
         void oracle.aurora.server.tools.loadjava.LoadJava.add(int, java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:425
         void oracle.aurora.server.tools.loadjava.LoadJava.add(java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:356
         void oracle.aurora.server.tools.loadjava.LoadJava.addJar(java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:633
         void oracle.aurora.server.tools.loadjava.LoadJava.add(int, java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:407
         void oracle.aurora.server.tools.loadjava.LoadJava.add(java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:356
         void oracle.aurora.server.tools.loadjava.LoadJava.add(java.io.InputStream, java.lang.String)
              LoadJava.java:325
         void oracle.aurora.server.tools.loadjava.LoadJava.add(java.io.File)
              LoadJava.java:590
         void oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles()
              LoadJava.java:562
         void oracle.aurora.server.tools.loadjava.LoadJava.process()
              LoadJava.java:674
         void oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(java.lang.String, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.lang.String, java.io.PrintWriter)
              OracleLoadjava.java:116
         void oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(java.lang.String, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.net.URL, java.io.PrintWriter)
              OracleLoadjava.java:46
         void oracle.jdevimpl.deploy.OracleDeployer.deploy(java.net.URL, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.lang.String[], java.lang.String, java.io.PrintWriter)
              OracleDeployer.java:97
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.jdeveloper.deploy.sp.StoredProcProfile, java.lang.String, oracle.jdeveloper.model.JProject, java.net.URL, java.io.PrintWriter)
              StoredProcHandler.java:428
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.ide.addin.Context, java.lang.String, java.io.PrintWriter)
              StoredProcHandler.java:315
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.ide.addin.Context, java.lang.String)
              StoredProcHandler.java:257
         void oracle.jdevimpl.deploy.StoredProcProfileDt$3.run()
              StoredProcProfileDt.java:370
    The following operations failed
    resource connections.xml: creation
    oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
         void oracle.aurora.server.tools.loadjava.LoadJava.process()
              LoadJava.java:700
         void oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(java.lang.String, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.lang.String, java.io.PrintWriter)
              OracleLoadjava.java:116
         void oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(java.lang.String, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.net.URL, java.io.PrintWriter)
              OracleLoadjava.java:46
         void oracle.jdevimpl.deploy.OracleDeployer.deploy(java.net.URL, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.lang.String[], java.lang.String, java.io.PrintWriter)
              OracleDeployer.java:97
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.jdeveloper.deploy.sp.StoredProcProfile, java.lang.String, oracle.jdeveloper.model.JProject, java.net.URL, java.io.PrintWriter)
              StoredProcHandler.java:428
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.ide.addin.Context, java.lang.String, java.io.PrintWriter)
              StoredProcHandler.java:315
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.ide.addin.Context, java.lang.String)
              StoredProcHandler.java:257
         void oracle.jdevimpl.deploy.StoredProcProfileDt$3.run()
              StoredProcProfileDt.java:370
    #### Deployment incomplete. #### 01.12.2003 16:52:19

    I have Oracle-DB Server on Linux and Windows-2000.
    I try to deploy the Java-Function to Oracle-DB with JDevelopr.
    My Email: [email protected]
    Here are my deploy-Preview:
    -user
    <connect string>
    -order
    -resolve
    -noverify
    -debug
    -definer
    -force
    -synonym
    -verbose
    thanks
    MZ

  • Loadjava gives ORA-29516: Assertion failure at eox.c:232

    I was trying to test on the loadjava and Java Stored Procedure capabilities on Oracle 9i Release 2.
    I ran into the following error when I tried to load a number of Oracle jar library files into the database (in order to resolve my class using org.apache.soap packages).
    Error while computing shortname of org/apache/soap/Utils
    ORA-29516: Aurora assertion failure: Assertion failure at eox.c:232
    Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
    ORA-06512: at "SYS.DBMS_JAVA", line 213
    ORA-06512: at line 1
    I ran the following command:
    loadjava -thin -user system/manager@<host>:1521:local -resolve -synonym -verbose -grant public
    D:/jdev9i/soap/lib/soap.jar D:/jdev9i/lib/dms.jar D:/jdev9i/jlib/javax-ssl-1_1.jar
    C:/ora81/lib/servlet.jar D:/jdev9i/jdk/jre/lib/ext/mail.jar
    Does anyone has any idea how I can resolve this problem? Response is appreciated. Thanks!

    I have Oracle-DB Server on Linux and Windows-2000.
    I try to deploy the Java-Function to Oracle-DB with JDevelopr.
    My Email: [email protected]
    Here are my deploy-Preview:
    -user
    <connect string>
    -order
    -resolve
    -noverify
    -debug
    -definer
    -force
    -synonym
    -verbose
    thanks
    MZ

  • Export method on blob

    Hi,
    I am loading images from file server, convert/process with intermedia then export back to a file server
    I'm having problems with exporting.
    I have a test table with 1 record and 1 vaild blob image
    I cannot export the image
    This is what I did:
    connect ordsys
    execute dbms_java.loadjava('force -synonym -resolve -grant PUBLIC ord/jlib/ordimssvr.jar');
    connect system
    execute DBMS_JAVA.GRANT_PERMISSION( 'ORDSYS',
    'java.io.FilePermission',
    '<<ALL FILES>>',
    'read,write');
    execute DBMS_JAVA.GRANT_PERMISSION( 'WILTOND',
    'java.io.FilePermission',
    '/wiltond/*',
    'read,write');
    create or replace directory IMAGES AS '/wiltond/';
    grant read on directory IMAGES to wiltond;
    PROCEDURE FILE_EXPORT_IMAGES IS
    v_image Ordsys.ORDImage := ORDSYS.ORDImage.init();
    ctx RAW(4000) := NULL;
    BEGIN
    -- image_data is a blob not an intermedia image
    SELECT image_data
    INTO v_image.source.localdata
    FROM wiltond.temp_blob
    WHERE id = 1;
    v_image.export(ctx,'FILE','IMAGES','test.tif');
    commit;
    EXCEPTION
    WHEN ORDSYS.ORDSourceExceptions.METHOD_NOT_SUPPORTED THEN
    dbms_output.put_line('Source METHOD_NOT_SUPPORTED caught');
    WHEN ORDSYS.ORDSourceExceptions.SOURCE_PLUGIN_EXCEPTION THEN
    dbms_output.put_line('Source SOURCE_PLUGIN_EXCEPTION caught');
    WHEN OTHERS THEN
    dbms_output.put_line(SQLERRM);
    COMMIT;
    END FILE_EXPORT_IMAGES;
    I always get source_plugin_exception
    Do you see what I'm doing wrong?
    Thank you
    David Wilton
    [email protected]

    Should not:
    execute dbms_java.loadjava('force -synonym -resolve -grant PUBLIC ord/jlib/ordimssvr.jar');
    Be
    execute dbms_java.loadjava('-force -synonym -resolve -grant PUBLIC ord/jlib/ordimsvr.jar');
    This is the class that is missing....... Make sure that you are in ORACLE_HOME or you specify the entire path for ord/jlib/ordimsvr.jar.
    Or youy might want to use the command line loadjava tool.
    Larry
    Checking Upload Results
    To check upload results, you can query the database view USER_OBJECTS, which contains information about schema objects owned by the user (SCOTT in this case). For example, the following SQL*Plus script formats and displays useful information about Java source, class, and resource schema objects:
    SET SERVEROUTPUT ON
    SET VERIFY OFF
    PROMPT A)ll or J)ava only?
    ACCEPT x CHAR PROMPT 'Choice: '
    DECLARE
    choice CHAR(1) := UPPER('&x');
    printable BOOLEAN;
    bad_choice EXCEPTION;
    BEGIN
    IF choice NOT IN ('A', 'J') THEN RAISE bad_choice; END IF;
    DBMS_OUTPUT.PUT_LINE(CHR(0));
    DBMS_OUTPUT.PUT_LINE('Object Name ' ||
    'Object Type Status Timestamp');
    DBMS_OUTPUT.PUT_LINE('------------------------------ ' ||
    FOR i IN (SELECT object_name, object_type, status, timestamp
    FROM user_objects ORDER BY object_type, object_name)
    LOOP
    /* Exclude objects generated for loadjava and dropjava. */
    printable := i.object_name NOT LIKE 'SYS_%'
    AND i.object_name NOT LIKE 'CREATE$%'
    AND i.object_name NOT LIKE 'JAVA$%'
    AND i.object_name NOT LIKE 'LOADLOB%';
    IF choice = 'J' THEN
    printable := i.object_type LIKE 'JAVA %';
    END IF;
    IF printable THEN
    DBMS_OUTPUT.PUT_LINE(RPAD(i.object_name,31) ||
    RPAD(i.object_type,14) ||
    RPAD(i.status,8) || SUBSTR(i.timestamp,1,16));
    END IF;
    END LOOP;
    EXCEPTION
    WHEN bad_choice THEN
    DBMS_OUTPUT.PUT_LINE('Bad choice');
    END;
    You can choose to display all your schema objects or only the Java objects:
    SQL> @usr_obj
    A)ll or J)ava only?
    Choice: a
    Object Name Object Type Status Timestamp
    Alerter JAVA CLASS VALID 1998-10-08:13:42
    POManager JAVA CLASS VALID 1998-10-08:17:14
    Alerter JAVA SOURCE VALID 1998-10-08:13:42
    POManager JAVA SOURCE VALID 1998-10-08:17:11
    BONUS TABLE VALID 1998-10-08:14:02
    DEPT TABLE VALID 1998-10-08:14:02
    EMP TABLE VALID 1998-10-08:14:02
    SALGRADE TABLE VALID 1998-10-08:14:02
    SQL> @usr_obj
    A)ll or J)ava only?
    Choice: j
    Object Name Object Type Status Timestamp
    Alerter JAVA CLASS VALID 1998-10-08:13:42
    POManager JAVA CLASS VALID 1998-10-08:17:14
    Alerter JAVA SOURCE VALID 1998-10-08:13:42
    POManager JAVA SOURCE VALID 1998-10-08:17:11

  • Audit logs found on Oracle 9.2.0.5

    Hi,
    We can see files being generated in the ORACLE_HOME/rdbms/audit directory but the audit_sys_operations is set to FALSE. How is this possible?
    $> ls -ltr |head
    total 14960
    -rw-r----- 1 oracle dba 641 Oct 13 08:20 ora_19253.aud
    -rw-r----- 1 oracle dba 642 Oct 13 08:20 ora_19471.aud
    -rw-r----- 1 oracle dba 642 Oct 13 08:20 ora_19584.aud
    -rw-r----- 1 oracle dba 642 Oct 13 08:20 ora_19729.aud
    -rw-r----- 1 oracle dba 642 Oct 13 08:20 ora_19662.aud
    -rw-r----- 1 oracle dba 641 Oct 13 08:20 ora_19642.aud
    -rw-r----- 1 oracle dba 642 Oct 13 08:20 ora_19754.aud
    -rw-r----- 1 oracle dba 642 Oct 13 08:20 ora_19763.aud
    -rw-r----- 1 oracle dba 642 Oct 13 08:20 ora_19773.aud
    SQL> sho parameter audi
    NAME TYPE VALUE
    audit_file_dest string ?/rdbms/audit
    audit_sys_operations boolean FALSE
    audit_trail string NONE
    transaction_auditing boolean TRUE
    Regards,
    Anirban

    wynandf,
    <br>The following always works for me:
    <ol>
    <li>Write the source code for your java class outside of the database.</li>
    <li>Compile your java source to be compatible with target JVM.<br>
    (For Oracle 9i this is java 1.3.)</li>
    <li>Place compiled class file on host machine running Oracle database server.</li>
    <li>Use loadjava to load class into database.</li>
    </ol>
    Since compiled class is on same machine as database server, I use the following loadjava command:
    <p>
    loadjava -user xxxxxx/xxxxxx -verbose -force -synonym -resolve zzzzzz.class</p>
    Good Luck,<br>
    Avi.

  • XML SQL Utility - OracleXMLStore?

    I am stepping thru the release notes for the "Oracle XML SQL
    Utility for Java". I have incorporated the env.csh into my
    .cshrc file as shown below. I am currently trying to "Load the
    Oracle XML SQL Utility for Java into an Oracle DB". I am having
    problems running the oraclexmlsqlload.csh. It seems to run
    @xmlgenpkg.sql without errors; however, the
    @oraclexmlsqltest.sql produces the following error:
    ERROR at line 1
    class OracleXMLStore does not exist
    at SCOTT.XMLGEN line 32
    at line 38
    class OracleXMLStore does not exist
    Here is my .cshrc file
    # @(#)cshrc 1.11 89/11/29 SMI
    umask 022
    set path=( /bin /usr/bin /usr/ucb /etc /usr/openwin/bin
    /usr/local/bin /usr/sbin /usr/ccs/bin .)
    if ( $?prompt ) then
    set history=32
    endif
    #setenv ORACLE_HOME /usr/oracle-home
    setenv ORACLE_BASE /usr/oracle
    setenv ORACLE_HOME /usr/oracle/8.1.5
    set path = ( $path $ORACLE_HOME/bin )
    #setenv PATH $PATH:$ORACLE_HOME/bin:/usr/openwin/bin:/usr/sbin
    setenv LD_LIBRARY_PATH $ORACLE_HOME/lib
    setenv ORACLE_SID p
    setenv ORA_NLS33 $ORACLE_HOME/ocommon/nls/admin/data
    setenv PD $ORACLE_HOME/OracleXSU
    setenv CLASSPATHJ $ORACLE_HOME/jdbc/lib/classes111.zip
    setenv XMLSQL_DIR $PD/lib/oraclexmlsql.jar:$PD
    setenv ORACLE_PARSER $PD/lib/xmlparser.jar
    setenv JDK_HOME /usr/java1.1
    set CLASSPATH = ($ORACLE_PARSER $CLASSPATHJ $JDK_HOME
    $XMLSQL_DIR)
    setenv TNS_ADMIN $ORACLE_HOME/network/admin
    setenv ORACLE_TERM sun5
    echo 'Running .cshrc...'
    alias ls ls -F
    null

    Oracle XML Team,
    After running the initjvm script and re-executing
    oraclexmlsqlload, no errors occurred. Also, the sample java
    files which come with the kit worked correctly. Thanks for all
    the help that you have provided. The support was fantastic!
    Oracle XML Team wrote:
    : Hello Ron,
    : It sounds more and more like your db is not java enabled. To
    : java enable it connect to it using server manager as internal
    and
    : then run the initjvm script (goto javavm/install directory and
    : you should see the initjvm script). The other option which
    would
    : make life easier is for you to contact your dba. Let me know
    how
    : things go.
    : Ron Newby (guest) wrote:
    : : Ahhhh, executing the script with csh started several
    loading...
    : : and creating... commands; however, an error did occur:
    : : Creating xmlparser _2.0.0.1.0_beta
    : : Error creating xmlparser _2.0.0.1.0_beta
    : : ORA-29547 Java system class not available
    : : oracle/aurora/rdbms/Compiler
    : : After this error, several "ORA-29534 referenced object...
    could
    : : not be resolved" errors occured.
    : : Oracle XML Team wrote:
    : : : Your db might be already java initialized (if not, please
    : : look
    : : : at your documentation on how to do this). One problem that
    I
    : : did
    : : : notice is that you are trying to execute a csh script in
    sh.
    : : : Please try
    : : : $ csh oraclexmlsqlload.csh
    : : : or
    : : : $ tcsh oraclexmlsqlload.csh
    : : : Let me know the outcome.
    : : : Ron Newby (guest) wrote:
    : : : : After a closer look at the output from running
    : : : oraclexmlsqlload,
    : : : : it doesn't look like the loadjava worked correctly. We
    are
    : : : : running Oracle 8.1.5. What is required to make the db
    java
    : : : : enabled? I have run the examples using the thin driver
    : which
    : : : : worked correctly. Below are the results of running
    : : : : oraclexmlsqlload.csh.
    : : : : $ sh oraclexmlsqlload.csh
    : : : : Loading jar files...
    : : : : Loading xmlparser...
    : : : : loadjava: Usage: loadjava [-user user/password@database]
    : : [-oci8
    : : : |
    : : : : -thin] [-help]
    : : : : [-verbose] [-resolve] [-andresolve] [-force] [-synonym]
    : : : : [-definer] [-resolver r
    : : : : esolver] [-grant user,user...] [-schema schema] [-debug]
    : : : : [-oracleresolver] class
    : : : : es..jars..resources..properties...
    : : : : Loading oraclexmlsql.jar...
    : : : : loadjava: Usage: loadjava [-user user/password@database]
    : : [-oci8
    : : : |
    : : : : -thin] [-help]
    : : : : [-verbose] [-resolve] [-andresolve] [-force] [-synonym]
    : : : : [-definer] [-resolver r
    : : : : esolver] [-grant user,user...] [-schema schema] [-debug]
    : : : : [-oracleresolver] class
    : : : : es..jars..resources..properties...
    : : : : Cleaning up...
    : : : : dropjava: Usage: dropjava [-user user/password@database]
    : : [-oci8
    : : : |
    : : : : -thin] [-help]
    : : : : [-verbose] [-schema schema] [-debug]
    : : : : classes..jars..resources..properties...
    : : : : Completed loading classes
    : : : : Creating functions...
    : : : : SQL*Plus: Release 8.1.5.0.0 - Production on Fri Nov 26
    : : 10:03:37
    : : : : 1999
    : : : : (c) Copyright 1999 Oracle Corporation. All rights
    : reserved.
    : : : : Enter password:
    : : : : Oracle XML Team wrote:
    : : : : : Hi Ron.
    : : : : : Before creating the xmlgen pkg, oraclexmlsqlload.csh
    : : tries
    : : : to
    : : : : : load the oracle xml parser and the oraclexmlsql.jar
    into
    : : your
    : : : : db
    : : : : : (i.e. it does a "loadjava..."). Is that part finishing
    : : : : properly?
    : : : : : Realize that to be able to run the utility within the
    : db
    : : : you
    : : : : : need to have at least Oracle 8.1.5 and have it java
    : : enabled.
    : : : : If
    : : : : : you don't have this you can always run the utility as a
    : : : client
    : : : : : connecting via the Oracle JDBC1.22 compliant drivers.
    : : : : : Ron Newby (guest) wrote:
    : : : : : : I am stepping thru the release notes for the "Oracle
    : XML
    : : : SQL
    : : : : : : Utility for Java". I have incorporated the env.csh
    : into
    : : my
    : : : : : : .cshrc file as shown below. I am currently trying to
    : : "Load
    : : : : the
    : : : : : : Oracle XML SQL Utility for Java into an Oracle DB".
    I
    : am
    : : : : : having
    : : : : : : problems running the oraclexmlsqlload.csh. It seems
    to
    : : run
    : : : : : : @xmlgenpkg.sql without errors; however, the
    : : : : : : @oraclexmlsqltest.sql produces the following error:
    : : : : : : ERROR at line 1
    : : : : : : class OracleXMLStore does not exist
    : : : : : : at SCOTT.XMLGEN line 32
    : : : : : : at line 38
    : : : : : : class OracleXMLStore does not exist
    : : : : : : Here is my .cshrc file
    : : : : : : # @(#)cshrc 1.11 89/11/29 SMI
    : : : : : : umask 022
    : : : : : : set path=( /bin /usr/bin /usr/ucb /etc
    /usr/openwin/bin
    : : : : : : /usr/local/bin /usr/sbin /usr/ccs/bin .)
    : : : : : : if ( $?prompt ) then
    : : : : : : set history=32
    : : : : : : endif
    : : : : : : #setenv ORACLE_HOME /usr/oracle-home
    : : : : : : setenv ORACLE_BASE /usr/oracle
    : : : : : : setenv ORACLE_HOME /usr/oracle/8.1.5
    : : : : : : set path = ( $path $ORACLE_HOME/bin )
    : : : : : : #setenv PATH
    : : : : $PATH:$ORACLE_HOME/bin:/usr/openwin/bin:/usr/sbin
    : : : : : : setenv LD_LIBRARY_PATH $ORACLE_HOME/lib
    : : : : : : setenv ORACLE_SID p
    : : : : : : setenv ORA_NLS33 $ORACLE_HOME/ocommon/nls/admin/data
    : : : : : : setenv PD $ORACLE_HOME/OracleXSU
    : : : : : : setenv CLASSPATHJ
    $ORACLE_HOME/jdbc/lib/classes111.zip
    : : : : : : setenv XMLSQL_DIR $PD/lib/oraclexmlsql.jar:$PD
    : : : : : : setenv ORACLE_PARSER $PD/lib/xmlparser.jar
    : : : : : : setenv JDK_HOME /usr/java1.1
    : : : : : : set CLASSPATH = ($ORACLE_PARSER $CLASSPATHJ $JDK_HOME
    : : : : : : $XMLSQL_DIR)
    : : : : : : setenv TNS_ADMIN $ORACLE_HOME/network/admin
    : : : : : : setenv ORACLE_TERM sun5
    : : : : : : echo 'Running .cshrc...'
    : : : : : : alias ls ls -F
    : : : : : Oracle Technology Network
    : : : : : http://technet.oracle.com
    : : : Oracle Technology Network
    : : : http://technet.oracle.com
    : Oracle Technology Network
    : http://technet.oracle.com
    null

  • Force the use of synonym (database link)

    Hello,
    I'm on a database DB_1 with the user NP.
    In the NP schema I have a table TEST_TABLE.
    I create a public synonym on TEST_TABLE referencing a table named TEST_TABLE in a database DB_2 (*the synonym use a dblink*).
    In my DB_1 instance connected with NP user, when I run "SELECT * FROM TEST_TABLE", the result is the content of TEST_TABLE in DB_1.
    Connected with NP user on DB1_instance, how can i force the use of the synonym to get the content of TEST_TABLE in DB_2 instance ? Is it possible ?
    Thanks...

    Pl post details of OS and database versions.
    I do not believe you can achieve your requirement, unless you name the synonym something other than "TEST_TABLE". The resolution to "TEST_TABLE" will always result in the local table first - the synonym will not be included in the name resolution.
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/sql_elements009.htm#SQLRF51134
    HTH
    Srini

  • Mv references a synonym in the FROM list

    i want to create fast refreshable MV using synonym.
    First of all it does allow to create fast refreshable MV using synonym.
    I have created MV using force option.
    While using DBMS_MVIEW.EXPLAIN_MVIEW to know capability of the MV , i found that "REFRESH_FAST" is not possible due to "mv references a synonym in the FROM list" .
    But while i communicated with Metalink it answered me that "There is no indication that use of a synonym is restricted in this case. "
    So i need help here .
    Would it be possible to create fast refreshable MV using synonym or any other way around ?

    Yes i reported this fact that fast refreshable MV is not allowed on synonym in 9.2 but at first communication they said that there is no such restriction, but when sent output of MV_CAPABILITIES_TABLE for that MV when restriction was mentioned like fast refresh not allowed due synonym then they lastly said that this restriction is there in 9i and even in 10.1 release. in 10.2 it has been removed.
    Anyways Thanks for your reply.

  • [MaterializedView] : "mv references a synonym in the FROM list "

    I want to create fast refreshable MV using synonym.
    First of all it does allow to create fast refreshable MV using synonym.
    I have created MV using force option.
    While using DBMS_MVIEW.EXPLAIN_MVIEW to know capability of the MV , i found that "REFRESH_FAST" is not possible due to "mv references a synonym in the FROM list" .
    But while i communicated with Metalink it answered me that "There is no indication that use of a synonym is restricted in this case. "
    So i need help here .
    Would it be possible to create fast refreshable MV using synonym or any other way around ?

    Yes i reported this fact that fast refreshable MV is not allowed on synonym in 9.2 but at first communication they said that there is no such restriction, but when sent output of MV_CAPABILITIES_TABLE for that MV when restriction was mentioned like fast refresh not allowed due synonym then they lastly said that this restriction is there in 9i and even in 10.1 release. in 10.2 it has been removed.
    Anyways Thanks for your reply.

  • ORA-01775: looping chain of synonyms

    Hello,
    I had some issues with the database and then we need to force this database open.
    After opening it we need to take the full export of the database which I took.
    Then I recreate the database and ran ran catalog, catproc and other component's cripts.
    I created additional tablespaces and users.
    Later I imported the database -
    imp full=y file=full_tlsbx01_20100127.dmp log=imp_tlsbx01_20100127.log ignore=Y
    But import gave me lot of errors like ORA errors like -
    ORA-04055, ORA-06550,ORA-00001,ORA-02264,ORA-20000
    and some IMP erros like -
    IMP-00061,IMP-00041,IMP-00003,IMP-00003,IMP-00017,IMP-00019,IMP-00032,IMP-00008.
    While looking at the INVALID objects I can see number of SYSMAN objects are in invalid state -
    SQL> select owner,count(*) from dba_objects where status='INVALID' group by owner;
    OWNER COUNT(*)
    SYSTEM 3
    PUBLIC 4
    SYSMAN 96
    while trying to look at these objects I found that some of the objects are created error -
    ORA-01775: looping chain of synonyms
    Problem is with the SYSMAN (GRID)
    Looking forward to your advice/recommendations.

    Database is working fine. I have a RMAN catalog which is working fine but getting problem while starting the grid, I am getting following error -
    ORA-06508: PL/SQL: could not find program unit being called: "SYSMAN.MGMT_USER"
    ORA-06512: at "SYSMAN.SETEMUSERCONTEXT", line 17
    ORA-06512: at line 1
    When tried to compile this package then it gace an error that package EMP_NOTIFICATION is INVALID and then when tried to ciompile this package it gave an error PLS-00421: Circular Synonym 'PUBLIC.MGMT_MATRICS_RAW'.

  • How to Force Canon Pixma MX870 to Print Black

    How do you force the MX870 to print black and to use the big black ink tank when printing all text and documents? Is there a specific setting that does this? Isn't the big black tank supposed to be used for text printing and the smaller black tank is used for high quality photo printing? Or do I have all this backward?
    Why is printing so overly complicated and expensive? Scratch that! Sorry for the rant!
    Thanks,
    Steve M.

    Steve M. wrote:
    So for us MX870 users on a Mac, is Grayscale synonymous with Black for all practical purposes? Can we choose Grayscale to force a colored document to be printed with only black ink?
    In theory, using the Grayscale setting will print a document containing an image using black only. However I believe there has been several users claiming that this does not occur. In practical terms I believe that the printer uses magenta mixed with black to make gray. So instead of using only black for an image, which would require some form of line screening which inkjets don't typically employ, the use of magenta could be occurring. I think I will have to get back to you on this after some testing because I feel that the operation of the grayscale setting could still use at least one other colour.
    Is there a distinction between a text document and an image document and are colors treated differently for these?
    A text document would typically contain no image. Yet it is worth noting that some text items, such as bullet points, are graphical and therefore can be treated by the printer as an image. So it is difficult to be completely accurate about what constitutes a text document. But for your home use I think you would get the most yield from your inks if you did employ the grayscale setting as a default.

  • Performance of DB Link VS Public Synonyms

    1) In a single database(Oracle 9.2) , I have multiple schema say a, b ,c d ,e etc.Currently we are using public synonyms to access tables of other schema.There is a plan to split the database into two or three DB and to use db links instead of public synonyms.So what would be impact on performance?
    2) In a same database for accessing multiple schema objects which one between DB link and Synonym is a better approach and why? How are the working mechanism for each of them?
    Appreciate your quick response.

    MSINHA wrote:
    No, on the same server we will have different instances. We are trying to split the schema into separate DB so as to independently upgrade them as they are for different applications and modules but some of the tables are common and being accessed using public synonym.Horrible idea to run multiple database instances on a single server. This is not how servers scale.
    Oracle scales by adding more servers to a single database - this is called RAC.
    Your approach is the exact opposite. Adding more databases to a single server.
    That approach seldom makes any technical sense - and is usually forced by circumstances (like running 2 different Oracle versions) and not by sound technical, performance and scalability reasons.
    Keep in mind that an Oracle database is NOT architecturally and technically the same as a mySQL or SQL-Server database. A mySQL/SQL-Server database is called a schema in the Oracle environment.

  • Forcing crop tool to not move image

    In previous version of Photoshop, when you used the crop tool, it did not move your image around on-screen, so why is it doing it now? Is there a way to force the crop tool to act like the previous versions? It is very confusing to try to crop something now with everything moving around on screen.

    Thank you very much, "C". I thought we had to live with this odd behaviour.
    Not everybody might know what cog means. Here are some synonyms:
    http://dict.leo.org/ende/index_de.html#/search=Zahnrad&searchLoc=0&resultOrder=basic&multi wordShowSingle=on
    Nevertheless, the connection between cogs and image processing is still dubious...
    Best regards --Gernot Hoffmann

  • Recreation of Public Synonym

    Database version 11g. (11.1.0.7)
    Please advise. We had a customer at one of our companies that said they were forced to do a "CREATE OR REPLACE" on a couple Public Synonyms this past weekend that was marked as "VALID" according to DBA_OBJECTS. The synonyms and the objects they pointed to were still in existance. They are using an older version of Oracle Forms which stopped working this past weekend. They did a "CREATE OR REPLACE" on the synonym and fixed their problem.
    I am trying to think of possible reasons why they would have needed to do the "CREATE OR REPLACE" on a "VALID" synonym. Any advice?
    I understand why a synonym can become invalid when the underlying object goes away or permissions change.

    Hi,
    You can write a script to spool the list of public synonyms.
    set feedback off
    set trimspool on
    set pagesize 1000
    set linesize 1000
    set heading off
    spool public_synonyms.txt
    select      'create public synonym ' || table_name || ' for ' || table_owner || '.' || table_name || ';'
    from      dba_synonyms
    where
         owner='PUBLIC' and table_owner not in ('SYS', 'SYSTEM')
    order by
         table_owner;
    spool off
    exit
    Hope it helps.
    Regards,
    Z.K.

Maybe you are looking for

  • Can you resize Video Skins in Flash CS3

    I am inserting a Flash Video into a file and trying to include the automatic skin from the import dialogue box. If I have a small video (say around 180 pixels wide), the skin juts out obtrusively off to the sides. Is there a way to manage the size of

  • Error when updating Folio in CS6

    I have a Folio that I built in CS5 published and everything, but I want to update it.  I updated in CS6 re-saved all of the files and links, but I still get an error when I try to  "update" in the Folio Builder. Content generation error. Failed to op

  • 1 year warranty expi

    My zen touch's hard dri've got destroyed when my overweight sister messed around with it and its broken. Anyway i have been busy lately and couldnt find my proof of purchase paper so i finally found it but im over the warranty by like a year and a mo

  • Plz tell me about  different types of derived classes used in Java program

    i wan't to learn about different types of derived classes used in Java programming

  • Beeping doing my beeping head in

    I'm brand new to the world of garage band and have a couple of issues when recording guitar, latency is the first problem but i'v found a few suggestions for this by trawling through the forums that I'm gonna try. The other issue is a fast constant b