ORA-01005: password none given; logon denied. java.lang.NullPointerExceptio

Hello world

I'm developing a portal with Jdev 11.1.1.6.0 webcenter application v and Oracle 11 g database.

In the application, I have some electronic forms with interacts with the database. In my local computer, the forms run correctly, without exception. But after that I deployed a server weblogic on a remote machine, I try to access the forms. the application server throws me:

ORA-01005: password none given; logon denied.
java.lang.NullPointerException

Locally, there is no problem, but the remote server 'Impossible '.

Note: The remote server contains cluster. It is about my problem, I don't know.

I searched the forum. There are a few messages with the same subject, but it did not help me. Anyone help me on this problem?

Help will be appreciated.

Yacouba

have you changed the data source in AppModule?
Since Jdbc url of jdbc data source?

If not-> App open adf-> module app go go-> right click Choose module app-> configurations of-> click on modify-> change jdbcURL Jdbc DataSource
and in the corresponding column, it will be like com/env/etc just change your server Eg JNDI name: jdbc/webcenter/Portal

And make sure that the data source that you select here is available in the Remote Machine

Tags: Fusion Middleware

Similar Questions

  • ADF app on autonomous WLS: ORA-01005: password null; connection refused

    Hello!


    I managed to deploy ADF 11 g application on stand-alone WLS 10.3.3. When the application is executed, ORA-01005 error: password null; denied logon is thrown with the stacktrace.

    -WLS runs in a mode of production, so the solution proposed here http://radalcove.com/blog/?p=34 does not apply
    -J' read note metalink running an ADF Application standalone WLS fails with errors Houston-26061 ORA-01005 [ID 958650.1] which suggests that if the WLS is in production mode, then I must create a data source in the WLS I did. Needless to say, DS is applied to existing server instance
    -Jdeveloper ADF 11 g application is configured for deployment with ' Auto generate and Synchronize weblogic - jdbc.xml deployment descriptors
    -Needless to say, the application works fine in JDeveloper WLS
    -One thing that cought my eye is that in the WLS under "Deployments",-> myApplication, console there is a myDBconn of type JDBC Configuration module, which is a database connection created in JDeveloper. So, seems that this application is deployed is still using the JDBC connection and not the source of data in WLS?

    Any help is appreciated

    Rade,

    Have you changed the configuration of the application module to use an instead of the url before you deployed jdbc data source? Click the am right, choose settings, and then click change

    John

  • Failed to get the connection-; First exception is: java.lang.NullPointerExceptio

    Hello:

    When I got to connection requests, click any OAM following errors. All forms are good.
    An error has occurred!
    Failed to get the connection-; First exception is: java.lang.NullPointerException

    I don't know when it started to be like that, but I applied a few patches yesterday. Thanks in advance for your help.

    Salvation;

    You don't need to check the log file. Check the log file for details of the error apache.

    By the way you are trying
    1. close apps services
    2. run autoconfig on dbtier that
    3. run autoconfig on appstier and make sure that you have no error message, than check again question

    Respect of
    HELIOS

  • java.lang.Exception: ORA-01017: name of user and password invalid. connection refused - wait_bottlenecks

    Hello

    I have been using OEM for the monitoring of the database. Recently, I've seen more error on screen

    java.lang.Exception: ORA-01017: name of user and password invalid. connection refused - wait_bottlenecks

    So I reset password with the same value to reopen. I still get this error.


    When I try to sign in with the same password in sqlplus, I get same error also.


    SQL > alter user DBSNMP identified by the values '-';

    Modified user.

    SQL > connect DBSNMP.

    ERROR:

    ORA-01017: name of user and password invalid. connection refused


    I don't know why I'm not able to login with the same password I used to change the statement.


    Thanks for the help in advance.

    Let's not your syntax.

    When you say 'identified by values' you tell Oracle 'this is not the password, but it is a salted and hashed password.

    Do not use 'values '.

    Technically,-is not a password valid, so I'll use it valid to demonstrate:

    In 12.1.0.2, it will not allow you to use '-' because this isn't a valid hash value, so I can't prove that it works, but you get the idea

    SQL> grant create session to foo;                     
    
    Grant succeeded.                                     
    
    SQL> conn foo/aaa$
    Connected.
    SQL> conn / as sysdba
    Connected.
    SQL> drop user foo cascade;                           
    
    User dropped.                                         
    
    SQL> create user foo identified by values 'aaa$';
    create user foo identified by values 'aaa$'
    *
    ERROR at line 1:
    ORA-02153: invalid VALUES password string             
    
    SQL> create user foo identified by aaa$;             
    
    User created.                                         
    
    SQL> alter user foo identified by values 'aaa$';
    alter user foo identified by values 'aaa$'
    *
    ERROR at line 1:
    ORA-02153: invalid VALUES password string             
    
    SQL> alter user foo identified by values '---';
    alter user foo identified by values '---'
    *
    ERROR at line 1:
    ORA-02153: invalid VALUES password string
    
  • Error ORA-01005 starting OBIEE

    Hi all

    I ORA-01005 error when I try to start OBIEE (bi_server1) of WLST.  However, this server was working fine an hour ago and I don't know how, but the schema DEV_BIPLATFORM returns the following error when I interview as SYSTEM.

    DEV_BIPLATFORM OF LOG 715827000 1005, 17/10/13 12:13:35

    Anyone know how I can recreate the password for this scheme?

    Thanks in advance

    I found the problem. The area of the archive database server has reached 100%. After it was cleaned services that are started without any error.

    Thank you

  • Re: How to reset the password on the logon screen - Satellite A300?

    How to reset the password on the logon screen?

    I can not access the installation of the establishment or BIOS because I can't pass this screen. Enter something wrong 3 times turns off the computer. I do not have the current password and I don't know what kind of password is and why it s asking one as soon as I turn it on.

    How can I solve this problem?

    You can not fix it. You can only disable it, but to do this, correct password must be known to you.
    As many times before in this forum we have already discussed on this topic.

    Password is very important security feature and we cannot advise how to bypass or remove passwords on the public forum. In other words, each stolen notebook protected by password will be easy to start and access to the recorded data will be easy.

    What is your laptop? You may have purchased this used an and now it is blocked by password?

  • I migrate the Server 2003 r2 for 2003 r2 active directory using admt tool.when migrate password it show access denied error.please help to this.

    migrate users AD Server 2003 R2 to version.i even created the broad area of forest trust between this 2 domains.when password it show access denied.i attempted to create the universal group in my old domain but I can't migrate able to add a new domain admin user to the universal group.

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/en-us/winserverfiles/threads

  • java.lang.RuntimeException:pushModalScreen called by a thread of non-event

    I am trying to alert the message using Dialog.alert (). The following exception comes

    java.lang.RuntimeExceptionushModalScreen called by a thread of non-event

    When this error comes and what scenario?

    Thank you

    Bala

    you don't know. You can find the details in the developer's guide.

    However a short explanation:
    all user interface work is performed in a separate thread, the thread of the event.
    If you do something in the user interface, for example in the display method, the instance is already on the thread of the event.
    If you do something outdoors, for example in a separate thread, you must place your changes on the thread of the event.
    only the thread the event is allowed to change the user interface.

  • ORA-01858: a non-digit character was found here where was waiting for a digital

    Hi friends,

    Before posting inturn I have goggled on the question above, but looking forward for you suggestions.

    I have the data in the table that consist of two columns of date below

    Date Validation.PNG

    when im trying to like

    TO_NUMBER (ROUND (MONTHS_BETWEEN (TO_DATE (C22_LASTPAYDUEDATE, "YYYY-MM-DD HH24:MI:SS), TO_DATE (C23_FACGRANTDATE," YYYY-MM-DD HH24:MI:SS)))))))

    Like the im getting the error ORA-01858: a non-digit character was found here where was waiting for a digital. How to solve this question friends.

    Thanks in advance.

    Kind regards

    Saro

    If C22_FACGRANTDATE and C23_LASTPAYDUEDATE are indeed 'two date columns', why are you doing a TO_DATE() on them? And why do you do a TO_NUMBER() to a value that will already be a number? Why not just do this:

    ROUND (MONTHS_BETWEEN (C22_LASTPAYDUEDATE, C23_FACGRANTDATE))

    If they are not the columns date (i.e. the DATE or TIMESTAMP data type columns), why are they not?

  • problem 7u51: access denied ("java.io.SerializablePermission" "enableSubclassImplementation")

    Hello.

    After the passage of 7u45 to 7u51 our java webstart application does not right after startup with this message:


    [CORBA MARSHAL 1398079699 Maybe; nested exception is:
      org
    .omg.CORBA.MARSHAL:  vmcid: SUN minor code: 211 completed: Maybe]
    Caused by: access denied ("java.io.SerializablePermission" "enableSubclassImplementation")


    We had the errors caused by the obvious lack of attributes, but those who went away after we have added.


    Everyone knows what could be the problem?


    Solved. The solution was in a fairly simple manner.

    Customers needed to add the following in their {java.home}\lib\security\java.policy file:}

    grant codeBase "https://mydomain.com:443" { 
         permission java.io.SerializablePermission "enableSubclassImplementation"; 
    }
    
  • Access denied ("java.util.PropertyPermission" "user.timezone', 'writing') [WINDOWS 7 64 bit]

    Hello

    that we got on several computers, the error message


    access denied (java.util.PropertyPermission""user.timezone', 'write')

    When we try to open an internal Web site. Until today, that everything worked well.

    An update of Java for windows 7 64, Version 7 45 update does not resolve the problem.

    I tried to set the Java security permissions in the control panel to the Middle, but it also did not work after this change.

    We also got this problem on another computer when you try to open an external site that also use the Java.

    Someone has any idea how to solve this problem?

    Hi guys.

    I solved the problem by adding a rule to the following file

    $JAVA_HOME\lib\security\java.policy

    grant {}

    ...

    permission java.util.PropertyPermission "user.timezone", "write";

    };

    After that I killed the java process and rebooted. The problem disappeared

  • ORA-29552: check warning: java.lang.UnsupportedClassVersionError

    Hello
    I am trying to load a class file into Oracle using loadjava and I get the following error:

    ORA-29552: check warning: java.lang.UnsupportedClassVersionError: helloworld (unsupported major.minor version 51.0)

    Without doubt, this is related to an inconsistency between the jdk I used to compile helloworld and the Oracle JVM? Or something like that?

    My JAVA_HOME is C:\Program Files (x 86) \Java\jre7\bin
    My version of javac used to compile the code is javac 1.7.0_15
    Java-version is '1.7.0_15 '.
    When I do a find on java.exe in the oracle installation directory (I'm under 11.2) I get

    J - PC:J > find - name java.exe
    ./Product/11.2.0/dbhome_1/JDK/bin/Java.exe
    ./Product/11.2.0/dbhome_1/JDK/JRE/bin/Java.exe
    ./Product/11.2.0/dbhome_1/JRE/1.5.0/bin/Java.exe

    Finally, the jdbc jar is ojdbc6.jar

    BTW, the code is just the ordinary Tester:
    import oracle.jdbc.driver.*;
    
    public class helloworld {
    
        public static String hello()
        {
            return "Hello World";
        }
    
        public static String hello(String s)
        {
            return "Hello " + s ;
        }    
        
        public static void main(String[] args)
        {
            helloworld.hello();
            helloworld.hello("Larry");
        }
    }
    How can I get this class file loaded? Thank you very much
    Jason

    >
    How can I get this class file loaded?
    >
    I suggest you load the file source instead. As cardan2 said all the class in the database files MUST be compatible with the internal JVM used by the database. For 11g versions it is Java 1.5 and the major version in the 1.5 Java class files is 49.

    You also have to take the same version in account number if you need load all the jar files in the DB. That the load will be successful if these classes have been compiled for a later version of compatibility of Java. ;

    If you load the source file and compiling the virtual machine JAVA DB will be used and you will not get this exception. You will also make sure that you use the correct support classes; for example, classes for the JDBC driver that you import will be versions of the JVM and those will NOT be the same as those of ojdbc6.jar.

    You must ensure that you are not currently using the JDBC classes or features that are not available in the version of DB of the driver.

    Using Java and JDBC in the database means that you might be able to take advantage of the internal JDBC driver for Oracle. Refer to the chapter "Server - Side internal Driver" of the Dev Guide JDBC for more details.
    http://docs.Oracle.com/CD/B28359_01/Java.111/b31224.PDF

    Overview of the Server-Side Internal Driver
    The server-side internal driver is intrinsically tied to Oracle Database and to the Java
    Virtual Machine (JVM). The driver runs as part of the same process as the database. It
    also runs within the default session, the same session in which the JVM was started.
    
    The server-side internal driver is optimized to run within the database server and
    provide direct access to SQL data and PL/SQL subprograms on the local database. The
    entire JVM operates in the same address space as the database and the SQL engine.
    Access to the SQL engine is a function call. This enhances the performance of your
    Java Database Connectivity (JDBC) applications and is much faster than running a
    remote Oracle Net call to access the SQL engine.
    
    The server-side internal driver supports the same features, application programming
    interfaces (APIs), and Oracle extensions as the client-side drivers. This makes
    application partitioning very straightforward. For example, if you have a Java
    application that is data-intensive, then you can easily move it into the database server
    for better performance, without having to modify the application-specific calls.
    
  • ORA-19580: backup non-active conversation

    I started a backup in my work and the backup fails with the following error:

    From control file and SPFILE Autobackup 30 January 2013 05:37:40
    output channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of command of file control and SPFILE Autobackup on channel t1 at the 30/01/2013 05:37:42
    ORA-19580: backup non-active conversation

    Complete recovery manager.


    I've seen several articles on the Web and not found workaround. Anyone know the solution or a step on this problem?


    Kind regards
    Bruno Reis

    You start this instance of SPFILE, and then remove this SPFILE? If so, then that is the problem, the backup is trying to save the SPFILE and default. Recreate the SPFILE from PFILE.

    Thank you

    Rich

  • PLSQL procedure with the ORA-01858: a non-digit character was found where

    Hi friends,
    I'm pretty much back to the plsql programming. I am creating the plsql procedure that basically accepts the values of variables and controls difference of two columns if she's even if different it inserts values into the temporary table GTT_S_DOC_QUOTE, and then inserts data into another table in s_doc_quote please help me or correct my procedure.
    Since I'm getting below error ORA-01858: a non-digit character was found here where waiting a digital .my procedure is as below.
    CREATE OR REPLACE PROCEDURE QUOTE_STS)

    ROW_ID_IN GGATE_CT. GTT_S_DOC_QUOTE. ROW_ID % TYPE,
    STAT_CD_IN GGATE_CT. GTT_S_DOC_QUOTE. STAT_CD % TYPE,
    PREV_STS_CD_IN GGATE_CT. GTT_S_DOC_QUOTE. PREV_STS_CD % TYPE,
    BU_ID_IN GGATE_CT. GTT_S_DOC_QUOTE. BU_ID % TYPE,
    CREATED_IN GGATE_CT. GTT_S_DOC_QUOTE. CREATED % TYPE,
    X_CRRNT_TOT_AGRD_RMS_IN GGATE_CT. GTT_S_DOC_QUOTE. X_CRRNT_TOT_AGRD_RMS % TYPE,
    X_CRRNT_TOT_BLCKD_RMS_IN GGATE_CT. GTT_S_DOC_QUOTE. X_CRRNT_TOT_BLCKD_RMS % TYPE,
    X_CRRNT_TOT_PCKDUP_RMS_IN GGATE_CT. GTT_S_DOC_QUOTE. X_CRRNT_TOT_PCKDUP_RMS % TYPE,
    X_CRRNT_TOT_PCKDUP_AVGRT_IN GGATE_CT. GTT_S_DOC_QUOTE. X_CRRNT_TOT_PCKDUP_AVGRT % TYPE,
    X_CRRNT_TOT_BLCKD_AVGRT_IN GGATE_CT. GTT_S_DOC_QUOTE. X_CRRNT_TOT_BLCKD_AVGRT % TYPE,
    X_CRRNT_CNTRCT_SR_REVN_IN GGATE_CT. GTT_S_DOC_QUOTE. X_CRRNT_CNTRCT_SR_REVN % TYPE,
    X_CRRNT_CNTRCT_FD_REVN_IN GGATE_CT. GTT_S_DOC_QUOTE. X_CRRNT_CNTRCT_FD_REVN % TYPE,
    X_CRRNT_CNTRCT_BEV_REVN_IN GGATE_CT. GTT_S_DOC_QUOTE. X_CRRNT_CNTRCT_BEV_REVN % TYPE,
    X_CRRNT_CNTRCT_RM_REVN_IN GGATE_CT. GTT_S_DOC_QUOTE. X_CRRNT_CNTRCT_RM_REVN % TYPE,
    X_CRRNT_USD_EXCHNG_RT_IN GGATE_CT. GTT_S_DOC_QUOTE. X_CRRNT_USD_EXCHNG_RT % TYPE,
    X_CRRNT_CNTRCT_OTHR_REVN_IN GGATE_CT. GTT_S_DOC_QUOTE. X_CRRNT_CNTRCT_OTHR_REVN % TYPE,
    X_CRRNT_CNTRCT_RSRC_REVN_IN GGATE_CT. GTT_S_DOC_QUOTE. X_CRRNT_CNTRCT_RSRC_REVN % TYPE,
    LAST_UPD_IN GGATE_CT. GTT_S_DOC_QUOTE. LAST_UPD % TYPE)

    BEGIN

    IF (PREV_STS_CD == STAT_CD) then
    END if;
    INSERT INTO GTT_S_DOC_QUOTE)
    ROW_ID,
    STAT_CD,
    PREV_STS_CD,
    BU_ID,
    CREATED,
    X_CRRNT_TOT_AGRD_RMS,
    X_CRRNT_TOT_BLCKD_RMS,
    X_CRRNT_TOT_PCKDUP_RMS,
    X_CRRNT_TOT_PCKDUP_AVGRT,
    X_CRRNT_TOT_BLCKD_AVGRT,
    X_CRRNT_CNTRCT_SR_REVN,
    X_CRRNT_CNTRCT_FD_REVN,
    X_CRRNT_CNTRCT_BEV_REVN,
    X_CRRNT_CNTRCT_RM_REVN,
    X_CRRNT_USD_EXCHNG_RT,
    X_CRRNT_CNTRCT_OTHR_REVN,
    X_CRRNT_CNTRCT_RSRC_REVN,
    LAST_UPD
    )
    VALUES ('ROW_ID_IN',
    "STAT_CD_IN,"
    "PREV_STS_CD_IN,"
    "BU_ID_IN,"
    "CREATED_IN,"
    "X_CRRNT_TOT_AGRD_RMS_IN,"
    "X_CRRNT_TOT_BLCKD_RMS_IN,"
    "X_CRRNT_TOT_PCKDUP_RMS_IN,"
    "X_CRRNT_TOT_PCKDUP_AVGRT_IN,"
    "X_CRRNT_TOT_BLCKD_AVGRT_IN,"
    "X_CRRNT_CNTRCT_SR_REVN_IN,"
    "X_CRRNT_CNTRCT_FD_REVN_IN,"
    "X_CRRNT_CNTRCT_BEV_REVN_IN,"
    "X_CRRNT_CNTRCT_RM_REVN_IN,"
    "X_CRRNT_USD_EXCHNG_RT_IN,"
    "X_CRRNT_CNTRCT_OTHR_REVN_IN,"
    "X_CRRNT_CNTRCT_RSRC_REVN_IN,"
    'LAST_UPD '.
    );

    INSERT INTO S_DOC_QUOTE_CT
    (ROW_ID_OUT, STAT_CD_OUT, PREV_STS_CD_OUT, BU_ID_OUT, CREATED_OUT, X_CRRNT_TOT_AGRD_RMS_OUT, X_CRRNT_TOT_BLCKD_RMS_OUT, X_CRRNT_TOT_PCKDUP_RMS_OUT, X_CRRNT_TOT_PCKDUP_AVGRT_OUT,
    X_CRRNT_TOT_BLCKD_AVGRT_OUT, X_CRRNT_CNTRCT_SR_REVN_OUT, X_CRRNT_CNTRCT_FD_REVN_OUT, X_CRRNT_CNTRCT_BEV_REVN_OUT, X_CRRNT_CNTRCT_RM_REVN_OUT, X_CRRNT_USD_EXCHNG_RT_OUT, X_CRRNT_CNTRCT_OTHR_REVN_OUT,
    SELECT X_CRRNT_CNTRCT_RSRC_REVN_OUT ROW_ID), STAT_CD, PREV_STS_CD, BU_ID, CREATED, X_CRRNT_TOT_AGRD_RMS, X_CRRNT_TOT_BLCKD_RMS, X_CRRNT_TOT_PCKDUP_RMS, X_CRRNT_TOT_PCKDUP_AVGRT,.
    X_CRRNT_TOT_BLCKD_AVGRT, X_CRRNT_CNTRCT_SR_REVN, X_CRRNT_CNTRCT_FD_REVN, X_CRRNT_CNTRCT_BEV_REVN, X_CRRNT_CNTRCT_RM_REVN, X_CRRNT_USD_EXCHNG_RT, X_CRRNT_CNTRCT_OTHR_REVN,
    GGATE_CT X_CRRNT_CNTRCT_RSRC_REVN. GTT_S_DOC_QUOTE;

    COMMIT;
    end if;
    end QUOTE_STS;

    I was wondering why I get this error even if I stated the PREV_STS_CD

    What line do you think that you said PREV_STS_ID on? As far as I can see that the IF statement is the first mention of it in your code. My guess is that you mean PREV_STATS_ID_IN (goes the same for STAT_CD / STAT_CD_IN).

    If you write

    IF prev_sts_cd_in = stat_cd_in
    THEN
       NULL;
    END IF;
    
    do_something_here;
    

    then "do_something_here" will be processed regardless of the IF condition. I think what you probably wanted was something like

    IF prev_sts_cd_in = stat_cd_in
    THEN
       NULL;
    ELSE
       do_something_here;
    END IF;
    

    Is it possible for the prev_sts_cd and the stat_cd null? The test above would not handle this.

    Also, as others have mentioned, the first INSERT statement attempts to insert the strings like "ROW_ID_IN" you probably want to use the value of the ROW_ID_IN parameter, which is the reason why you get the error ORA-01858. I'm guessing here of course, but I took out the quotes.

    That would make your code something like this:

    CREATE OR REPLACE PROCEDURE quote_sts
        ( row_id_in                    ggate_ct.gtt_s_doc_quote.row_id%TYPE
        , stat_cd_in                   ggate_ct.gtt_s_doc_quote.stat_cd%TYPE
        , prev_sts_cd_in               ggate_ct.gtt_s_doc_quote.prev_sts_cd%TYPE
        , bu_id_in                     ggate_ct.gtt_s_doc_quote.bu_id%TYPE
        , created_in                   ggate_ct.gtt_s_doc_quote.created%TYPE
        , x_crrnt_tot_agrd_rms_in      ggate_ct.gtt_s_doc_quote.x_crrnt_tot_agrd_rms%TYPE
        , x_crrnt_tot_blckd_rms_in     ggate_ct.gtt_s_doc_quote.x_crrnt_tot_blckd_rms%TYPE
        , x_crrnt_tot_pckdup_rms_in    ggate_ct.gtt_s_doc_quote.x_crrnt_tot_pckdup_rms%TYPE
        , x_crrnt_tot_pckdup_avgrt_in  ggate_ct.gtt_s_doc_quote.x_crrnt_tot_pckdup_avgrt%TYPE
        , x_crrnt_tot_blckd_avgrt_in   ggate_ct.gtt_s_doc_quote.x_crrnt_tot_blckd_avgrt%TYPE
        , x_crrnt_cntrct_sr_revn_in    ggate_ct.gtt_s_doc_quote.x_crrnt_cntrct_sr_revn%TYPE
        , x_crrnt_cntrct_fd_revn_in    ggate_ct.gtt_s_doc_quote.x_crrnt_cntrct_fd_revn%TYPE
        , x_crrnt_cntrct_bev_revn_in   ggate_ct.gtt_s_doc_quote.x_crrnt_cntrct_bev_revn%TYPE
        , x_crrnt_cntrct_rm_revn_in    ggate_ct.gtt_s_doc_quote.x_crrnt_cntrct_rm_revn%TYPE
        , x_crrnt_usd_exchng_rt_in     ggate_ct.gtt_s_doc_quote.x_crrnt_usd_exchng_rt%TYPE
        , x_crrnt_cntrct_othr_revn_in  ggate_ct.gtt_s_doc_quote.x_crrnt_cntrct_othr_revn%TYPE
        , x_crrnt_cntrct_rsrc_revn_in  ggate_ct.gtt_s_doc_quote.x_crrnt_cntrct_rsrc_revn%TYPE
        , last_upd_in                  ggate_ct.gtt_s_doc_quote.last_upd%TYPE )
    IS
    BEGIN
        IF prev_sts_cd_in = stat_cd_in
        THEN
            NULL;
        ELSE
            INSERT INTO gtt_s_doc_quote
                 ( row_id
                 , stat_cd
                 , prev_sts_cd
                 , bu_id
                 , created
                 , x_crrnt_tot_agrd_rms
                 , x_crrnt_tot_blckd_rms
                 , x_crrnt_tot_pckdup_rms
                 , x_crrnt_tot_pckdup_avgrt
                 , x_crrnt_tot_blckd_avgrt
                 , x_crrnt_cntrct_sr_revn
                 , x_crrnt_cntrct_fd_revn
                 , x_crrnt_cntrct_bev_revn
                 , x_crrnt_cntrct_rm_revn
                 , x_crrnt_usd_exchng_rt
                 , x_crrnt_cntrct_othr_revn
                 , x_crrnt_cntrct_rsrc_revn
                 , last_upd )
            VALUES
                 ( row_id_in
                 , stat_cd_in
                 , prev_sts_cd_in
                 , bu_id_in
                 , created_in
                 , x_crrnt_tot_agrd_rms_in
                 , x_crrnt_tot_blckd_rms_in
                 , x_crrnt_tot_pckdup_rms_in
                 , x_crrnt_tot_pckdup_avgrt_in
                 , x_crrnt_tot_blckd_avgrt_in
                 , x_crrnt_cntrct_sr_revn_in
                 , x_crrnt_cntrct_fd_revn_in
                 , x_crrnt_cntrct_bev_revn_in
                 , x_crrnt_cntrct_rm_revn_in
                 , x_crrnt_usd_exchng_rt_in
                 , x_crrnt_cntrct_othr_revn_in
                 , x_crrnt_cntrct_rsrc_revn_in
                 , last_upd );
    
            INSERT INTO s_doc_quote_ct
                 ( row_id
                 , stat_cd
                 , prev_sts_cd
                 , bu_id
                 , created
                 , x_crrnt_tot_agrd_rms
                 , x_crrnt_tot_blckd_rms
                 , x_crrnt_tot_pckdup_rms
                 , x_crrnt_tot_pckdup_avgrt
                 , x_crrnt_tot_blckd_avgrt
                 , x_crrnt_cntrct_sr_revn
                 , x_crrnt_cntrct_fd_revn
                 , x_crrnt_cntrct_bev_revn
                 , x_crrnt_cntrct_rm_revn
                 , x_crrnt_usd_exchng_rt
                 , x_crrnt_cntrct_othr_revn
                 , x_crrnt_cntrct_rsrc_revn
                 , last_upd)
            SELECT row_id
                 , stat_cd
                 , prev_sts_cd
                 , bu_id
                 , created
                 , x_crrnt_tot_agrd_rms
                 , x_crrnt_tot_blckd_rms
                 , x_crrnt_tot_pckdup_rms
                 , x_crrnt_tot_pckdup_avgrt
                 , x_crrnt_tot_blckd_avgrt
                 , x_crrnt_cntrct_sr_revn
                 , x_crrnt_cntrct_fd_revn
                 , x_crrnt_cntrct_bev_revn
                 , x_crrnt_cntrct_rm_revn
                 , x_crrnt_usd_exchng_rt
                 , x_crrnt_cntrct_othr_revn
                 , x_crrnt_cntrct_rsrc_revn
                 , last_upd
            FROM   ggate_ct.gtt_s_doc_quote;
    
        END IF;
    END quote_sts;
    
  • ORA-00285: TIME not given as constant string

    Hello

    in 10g R2:
    How to write then:
    SQL> recover database until time to_date"('17-02-2009 06:27:00','DD-MM-YYYY HH24:MI:SS')";
    ORA-00285: TIME not given as a string constant
    SQL> recover database until time '17-02-2009 06:27:00';
    ORA-01861: literal does not match format string
    
    
    SQL> recover database until time 'to_date"('17-02-2009 06:27:00','DD-MM-YYYY HH24:MI:SS')"';
    ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    Thank you.

    Hello..

    TRY: -.

    DATABASE TO RECOVER UP TO THE HOUR ' 2009-02 - 17:06:27:00';

    HTH
    Anand

Maybe you are looking for