Load the process returns a null value but on refresh the values of loads? !!

Hi all

With the help of apex 4.1.1 oc4j 11g Linux

I'm building a feature that allows you to register by e-mail.

Page 1

The user enters a name email address ,& the last statement name Insert is executed

Select count (*) in c_email - if 0 then the person does not exist and is permitted

of sor_notification_person

where sor_notification_person. EMAIL_ADDRESS = P_S_EMAIL_ADDRESS;

If c_email = 0 then

-Package.procedure send email and fact the insert

SOR_NOTIFICATIONS_PKG. signup_person (P_S_EMAIL_ADDRESS = > P_S_EMAIL_ADDRESS,)

P_S_FIRST_NAME = > P_S_FIRST_NAME,

P_S_LAST_NAME = > P_S_LAST_NAME,

P_S_CONFIRMED_EMAIL = > P_S_CONFIRMED_EMAIL,

P_S_SESSION = > P_S_SESSION,

P_S_APP_ID = > P_S_APP_ID,

P_B_SUCCESS = > P_B_SUCCESS);

Page 2

Clicking or copying pasting the URL received in e-mail. I have on the loading process that verifies the checksum value in DB and fills in the data.

declare

number of CT ;

P31_checksum(Varchar2) 30).

E-mail varchar2 (90);

What varchar2 (40);

L_Name varchar2 (40);

P31_TEST(Varchar2) 40).

Start

: P31_TEST := null;

SELECT count ()*) in ct

OF SOR_NOTIFICATION_PERSON

SOR_NOTIFICATION_PERSON. checksum =:C;

DBMS_OUTPUT. put_line ()ct);

if CT > 0

then

SELECT SOR_NOTIFICATION_PERSON. email_address SOR_NOTIFICATION_PERSON. name, SOR_NOTIFICATION_PERSON. last_name in l_name what Email

OF SOR_NOTIFICATION_PERSON

SOR_NOTIFICATION_PERSON. checksum =:C;

: P31_TEST := 'Y ';

: P31_EMAIL_ADDRESS:= Email;

: P31_FIRST_NAME := what;

: P31_LAST_NAME:= l_name;

else : P31_TEST := 'n';

(- dbms_output. put_line () P31_TEST);

end if;

end ;

Problem when I view the item hidden, I can see the value of checksum, but the P31_test is always null in load. When I hit refresh page P31_test valid and displays the value.

The two elements are the value only when the value in session state is null.

What could be the reason because it does not load even the process is defined as load before region / once per page visit...

Thanks for your help.

Okay - not sure then. On a new blank page I can have processes assign a value to the session state from the element and the element will have this value when the page is rendered (at least with this type of source). Work of dynamic actions. As I expect. I don't know what happens next 'unfair '.

I'll only come back tomorrow, but here are a few tips:

  • create a workspace on apex.oracle.com and upload your page there. Share of the developer credentials and the name of workspace with us. In this way may inspect and do not need to do the back and forth until we reached something special we both lost from view.
  • When the page is loaded and you hit the session in the developer toolbar, what is the State of P31_TEST? Is it worth?
  • try to run the page in debug and see if you can spot something happens with the session state from P31_TEST - maybe you'll come across something

Tags: Database

Similar Questions

  • IDHostAdapter.getInstance () .getXMPString (doc); Returns a null value

    Hello

    I'm trying to read and modify a document XMP data, but I always get a null value when playing it.

    In addition,

    IDHostAdapter.getInstance () .setXMPString (doc, updatedXMPString);

    does not either;

    App: application var = InDesign.app;

    var doc: Document = app.activeDocument;

    var idh:IDHostAdapter = IDHostAdapter.getInstance ();

    var xmpString:String = idh.getXMPString (doc);

    var warpxmpContext:WARPXMPXMPContext = new WARPXMPXMPContext (xmpString);

    warpxmpContext.wARPXMP.publicacion = "periodico";

    var updatedXMPString:String = warpxmpContext.serializeToXML ();

    IDHostAdapter.getInstance () .setXMPString (doc, updatedXMPString);

    var xmpString2:String is IDHostAdapter.getInstance () .getXMPString (doc);.

    Any ideas?

    Thank you

    Hello

    We have an updated version of the adapter host available for download InDesign library:

    http://cssdk.host.Adobe.com/SDK/1.5/patch/id_hostadapter_mac.zip

    Regarding the examples, please see the AssetFragger CS extension example which shows the adding/changing metadata XMP using XMP Namespace Designer and library InDesign Host Adapter.  This extension is available in Builder Extension CS under file > import > CS Extension Builder > samples.  For more information, please visit http://www.adobe.com/devnet/creativesuite/samples.html

    Kind regards

    LEA

    From: Adobe Forums [email protected]<>[email protected]>

    Reply-To: "[email protected]<>[email protected]> ' [email protected]<>[email protected]>" "

    Date: Saturday November 5, 2011 19:45:40 + 0000

    To: laboratory user [email protected]<>[email protected]>

    Topic: IDHostAdapter.getInstance () .getXMPString (doc); Returns a null value

    Re: IDHostAdapter.getInstance () .getXMPString (doc); Returns a null value

    created by substances. http://forums.adobe.com/people/Harbs. > in Creative Suite Extension Builder - see the discussion complete onhttp://forums.adobe.com/message/4009511#4009511

  • resolveNode returns a null value when a variable is used.

    LiveCycle Designer ES2, latest version

    Hello

    The following Javascript code, in the click event of a button, returns a null value for the variable opaque. When I manually enter the expected value the script works perfectly.

    I tried various modifications of the resolveNode line such as var opaque = xfa.resolveNode (qPage); , but without success.

    Also studied all the documents reference Adobe that I could find on the scripts and resolveNode. Any suggestions?

    var qPage = (Cell12.rawValue + "AnchorField");
    App.Alert (qPage);
    Opaque var = xfa.resolveNode ("' $... qPage '");
    App.Alert (opaque);
    var nPage = xfa.layout.absPage (opaque);
    App.Alert (nPage);
    xfa.host.currentPage = nPage;

    Thank you

    Ron

    I tried your sample and it seems to work very well... but I'm not sure 100% that you are trying to do... .going to your initial question on the passage of a variable in the resolveNode resolveNode expects a string, so you must use the following syntax to create the string:

    xfa.resolveNode ("$.." + qPage)

    Note that the variable is outside the quotes as such the string $... is added to the content of qPage. This wil work if qPage is a string as well.

    In your example you have defined qPage as an XFA object so that the syntax above will not work. If you intend to use the same way, you would use qPage.name so that the name of the field will be returned (this is a string) and it will be added to your expression of $ to make the $... ProductAnchorField

    Thus, the expression would be:

    xfa.resolveNode ("$.." + qPage.name)

    Make sense?

    Paul

  • VO.getCurrentRow () returns a null value

    Hi, OTN

    In short, the scenario is:
    View object is based on an entity. There is a form to the JSF page.
    I select a record by clicking next and previous. Then I click on create to display empty fields for the new record.
    When I click on the button, I need to register a field value and a default value for the new fields to records.

    How to:
    I have created a support bean and added customCreateMethod. To start, I want to get the value of current row field, but I can't get the current line.

    public String customCreateMethod() {}

    String amDef = "pattern. AppModule. "
    Config = "AppModuleLocal";

    Am = ApplicationModule
    Configuration.createRootApplicationModule (amDef, config); non-null

    ViewObject vo = am.findViewObject("ContentVersionView1"); non-null


    = problem here:
    vo.getCurrentRow (); Returns a null value

    System.out.println ("index:" + vo.getCurrentRowIndex ()); always returns 0
    }

    I tested variable vo by this code:

    While (vo.hasNext ()) {}
    Line = vo.next ();
    System.out.println (Row.GetAttribute ("IdContent"));
    }

    It works fine.


    How should I me current line?

    Thank you

    Hello

    createRootApplicationModule creates the new instance of the application module, thanks to which you did not receive the current line. Use the code posted by Timo in [this post | http://forums.oracle.com/forums/thread.jspa?threadID=933022] (which has been marked as correct) to get the instance of module of the application.

    Jean Lou

  • return type is not specified... return type so how you return a null value

    My problem seems to be when no results are returned, I would return the same type of object, but as a null value, or almost, I think that's what I would do. If someone could please throw some light on how I should return a null object I would be very grateful.

    I should note I've already tried to return entityNew ("someObj") and which resulted also in failure.

    <!--get some object-->

    < cffunction name = "getSomeObject" returntype = "someObj" = "remote access" >

    < name cfargument = "client_key" required = "true" type = "string" >

    < name cfargument = "customer_id" type = "string" required = "true" / >

    < cfscript >

    value = [];

    value = entityload ("une_table", {client_key = "#client_key #", customer_id = "#customer_id #"});

    If (ArrayLen (value) == 1)

    {

    Returns the value [1];

    }

    return;

    < / cfscript >

    < / cffunction >

    < / cfproperty >

    Thank you in advance!

    You do something like ?

    If so, then again CF has no concept of null so you cannot assign to a variable CF.  If you return null, first change your attribute of the returntype to "any" and return it directly,

  • How to return a NULL value in LOV and insert into a field of allowingNULL number 4?

    Hello

    I have the following LOV and the return_value is PeopleId which is number 4, allowing NULL. And the LOV options are as follows:

    LOV named--> select named LOV-
    Show Extra values-> no
    Dynamic translation-> - untranslated-
    The number of columns - > 1
    Display Null-> Yes
    Null-> - Select value-
    Return NULL,-> NULL value
    ^^^^^^^^^^^^^^^

    ----------------

    List of values definition:
    Select Lname | ', ' || Fname | ' ' || Mname as display_value, PeopleId as return_value
    of PEOPLETB
    where PEOPLETYPE ('i', 'HERE', 'IF')
    order by 1
    --------------

    Given that PoepleId is a number 4, allowing NULL. I want a NULL value will be inserted, if the user does not select anything in the drop-down list. It seems that I would get "ORA-01722: invalid number" error when the PeopleId msg is null (ie: user doesn't have a selection). What is the good 'return Null value' I need to put it in? I tried "NULL" (see above) or nothing, it still does not work.

    Any suggestions?

    Thank you very much
    Helen

    Hello Helen,.

    You have found one of the many sources of my frustration with APEX. Here's what I do:

    In the definition of the element in your page, go to the LOV part and implemented like this:

    Display Extra values: Yes a dynamic conversion (I ignore this)
    Number of columns: 1 display Null: No.
    Display null value: (leave blank) return Null value: (leave blank)

    An empty row is displayed when the user comes first to the screen. If they do NOT select the drop-down list, the value is left empty (null).

    If anyone has a better way, I will definitely experiment with it.

    Don.

  • XMLDOM. Item returns a null value

    Hi, I have a little problem with xmldom.item treatment.

    For some reason, this statement returns me null and I don't know the reason why, here is a sample of what I'm doing:

    Select MENSAGEMXML in the R_BD_SS_XML_SP lobExistente where idSP = P_idSP;
    parserXML: = xmlparser.newparser;
    XMLParser.parseclob (parserXML, lobExistente);
    documentoExistente: = xmlparser.getdocument (parserXML);
    XMLParser.freeparser (parserXML);

    parserXML: = xmlparser.newparser;
    XMLParser.parseclob (parserXML, P_documento);
    documentoNovo: = xmlparser.getdocument (parserXML);
    XMLParser.freeparser (parserXML);

    listaNosAAdicionar: = xmldom.getElementsByTagName(documentoNovo,'R_Acti_API_SP');

    listaRootNode: = xmldom.getElementsByTagName(documentoExistente,'ListagemAvarias');


    rootNode: = xmldom.item (listaRootNode, 0);
    Size: = xmldom. GETLENGTH (listaNosAAdicionar);
    dbms_output.put_line (' we have ['| size |'] our add para.');


    Contador in 0.tamanho - 1 loop
    dbms_output.put_line (' #' |) Contador);
    n: = xmldom.item (listaNosAAdicionar, size);
    Xmldom.isnull (n) = FALSE then if - <-this allways failure condition why is - what happens if contador reiterated 7 times?
    dbms_output.put_line (' node: ' | xmldom.getNodeName (n) |'. ');
    outroN: = XMLDOM.importnode (n, documentoNovo, true);
    on the other
    dbms_output.put_line ('node does not exist');
    end if;
    end loop;

    OK, if the stetement

    Size: = xmldom. GETLENGTH (listaNosAAdicionar);

    the value 7 which meens that listaNosAAdicionar made of nodes inside why

    n: = xmldom.item (listaNosAAdicionar, size);

    allways return null?

    I use Oracle 9i.

    Thank you
    Best regards
    João

    Published by: João Lopes on July 6, 2009 09:29

    Shouldn't this line

    n: = xmldom.item (listaNosAAdicionar, size);

    be

    n: = xmldom.item (listaNosAAdicionar, contador);

    While you're picking up each element in the list as you go through the loop?

  • LocationProvider.getInstance returns a null value for the positioning of the cell PHONE location

    Hi guys.

    I'm having a problem trying to get a network of cells (MS basis) path to be able to work on my BlackBerry Bold 9000.

    Both assisted and Standalone GPS work (outside of course), but I'll try to find a way to position themselves inside the building.

    Here's what I'm going to put criteria:

    Criteria criteria = new Criteria();
    
    criteria.setHorizontalAccuracy(Criteria.NO_REQUIREMENT);
    criteria.setVerticalAccuracy(Criteria.NO_REQUIREMENT);
    criteria.setCostAllowed(true);
    criteria.setPreferredPowerConsumption(Criteria.POWER_USAGE_LOW);
    
    LocationProvider.getInstance(criteria); //<-- Returns null on real device
    

    When I run on a real device it gives me always null, when I do the same thing on a simulator, so this works:

    What I am doing wrong? I really need to find a way to make it work inside.

    Thanks for any input.

    Hey, Dominator,.

    I'll be real simple with you and try to make you save a LOT of time.

    Basically, cell tower positioning doesn't work out of the box on the Blackberry platform (except in a few configurations of rare device / carrier). So you can essentially throw the code you have above. If you need a place inside detection, you will need access to a database of celltowerId. These databases contain information from the Tower (Rad_error_nocontent, mnc, mcc, Lake) and its approximate location (lat/lng coordinates). This will give your application a rough estimate (less than a mile or two) from the current location of the device.

    Open source and professional databases are available. This is an open source database that runs on GSM networks (of course, he didn't 100% coverage of all the pylons). The biggest downfall is that it does not support CDMA (Sprint/Verizon) networks.

    http://openCellId.org

    You will find that most of the people on this forum are not very useful when it comes to cellTower information, positioning so you will need to research, research, research.

    Good luck

  • Return of NULL values in the table of results

    OK the guru! Your genius has helped me before (see this post... ( Help to return the query results table ) but now I would return null results 0 to the number. Below is the structure of the table (again) and my desired result (new question):

    The structure of the table is:
    Year of sport
    Baseball 10-11
    Football 10-11
    Football 11-12
    Football 11-12
    Football 11-12
    Baseball 11-12

    The result should be sports in each year and should be grouped by year but shown as columns so:
    (GROUP OF the year)
    1 hockey, ice 0, 1, Soccer baseball
    2, 1, Football Soccer 1, Baseball

    The new portion of this question is the "0, Soccer.

    Thanks for any help!

    Hello

    For counties of 0, you must join of a table that has one row per sport.
    If you do in fact have such a table, you can build a game on the fly that will work just as well of results:

    WITH     all_sports     AS
    (
         SELECT DISTINCT  sport
         FROM              t
    )
    ,     sport_year_totals     AS
    (
         SELECT       s.sport
         ,       t.year
         ,       COUNT (t.sport)     AS cnt
         FROM             all_sports  s
         LEFT OUTER JOIN                t  PARTITION BY (year)
                                          ON  s.sport  = t.sport
         GROUP BY  s.sport
         ,            t.year
    )
    SELECT   year
    ,       LISTAGG ( cnt || ', ' || sport
                , ' '
               ) WITHIN GROUP (ORDER BY  sport)     AS sports
    FROM      sport_year_totals
    GROUP BY  year
    ORDER BY  year
    ;
    

    However, you may find it useful to have a table with one line per sport really. In this case, you wouldn't need the first auxiliary request. Simply use your name of the table where I used all_sports.

    I copied the example of data that MichaelS posted in your previous thread {message identifier: = 10388879} below.
    You should always post sample data yourself when you ask a question, especially if everything you have to do is copy and paste from another thread.

    CREATE TABLE t as (
     select 'Baseball' sport, '10-11' year from dual union all
     select 'Football', '10-11' from dual union all
     select 'Football', '11-12' from dual union all
     select 'Football', '11-12' from dual union all
     select 'Soccer',   '11-12' from dual union all
     select 'Baseball', '11-12' from dual
    );
    
  • ApplicationDescriptor returns a null value

    Hello

    When I'm debugging on a real device, it seems that ApplicationDescriptor () .getApplicationDescriptor () returns null.

    When I debug it in the Simulator, he returns the expected result. I suspect it has to do with the way the application is loaded to the device by eclipse.

    Everyone knows simular behavior?

    Weird, after restarting my device this problem occurs no long...

  • BlackBerryLocation.getSatelliteInfo () returns a null value

    The method always returns null. Valid GPS locations are acquired, with the no. satellites given as well. I want to determine the quality of the satellite signal, I'd really like the detailed satellite information.

    As explained in a thread on this issue by another poster, I used the following method to allow information by Satellite:

    BlackBerryCriteria.setSatelliteInfoRequired (true, false);

    I tried the method of getSatelliteInfo() on the following devices.

    -Bold 9000 (5.00.1036)

    -Torch 9800 (6.0.0.246)

    The code is below.

    Any help would be greatly appreciated.

    Simon

                BlackBerryCriteria myCriteria = new BlackBerryCriteria(GPSInfo.GPS_MODE_AUTONOMOUS);
                myCriteria.setSatelliteInfoRequired(true, false);
    
                try
                {
                    BlackBerryLocationProvider myProvider =
                      (BlackBerryLocationProvider)
                        LocationProvider.getInstance(myCriteria);
    
                    try
                    {
                        BlackBerryLocation myLocation =
                          (BlackBerryLocation)myProvider.getLocation(300);
    
                        satCount= myLocation.getSatelliteCount();
                        signalQuality =
                          myLocation.getAverageSatelliteSignalQuality();
                        dataSource = myLocation.getDataSource();
                        gpsMode = myLocation.getGPSMode();
    
                        SatelliteInfo si;
                        StringBuffer sb = new StringBuffer("[Id:SQ:E:A]\n");
                        String separator = ":";
    
                        for (Enumeration e = myLocation.getSatelliteInfo();
                          e!=null && e.hasMoreElements(); )
                        {
                            si = (SatelliteInfo)e.nextElement();
                            sb.append(si.getId() + separator);
                            sb.append(si.getSignalQuality() + separator);
                            sb.append(si.getElevation() + separator);
                            sb.append(si.getAzimuth());
                            sb.append('\n');
                        }
                    }
                    catch ( InterruptedException iex )
                    {
                        return null;
                    }
                    catch ( LocationException lex )
                    {
                        return null;
                    }
                }
                catch ( LocationException lex )
                {
                    return null;
                }
    

    To obtain the information by satellite, a LocationListener must be put in place to wait for notifications in a separate thread by implementing the locationUpdated(). Please take a look at the LocationProvider class to see how setLocationListener.

  • WLST getSecurityConfiguration() failed. Returns a null value

    Hi, I was doing a wlst script to create a new Weblogic domain. The script below stuck to the cmo.getSecurityConfiguration ().

    Any help is appreciated.

    The error messages are:


    Error: getSecurityConfiguration() failed. Do dumpStack() for more details.
    Unexpected error: java.lang.reflect.UndeclaredThrowableException
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: java.lang.NullPointerException
    at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
    at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1464)
    at com.bea.plateng.domain.script.jython.ScriptInvocationHandler.invoke(ScriptInvocationHandler.java:141)
    to $Proxy0.getSecurityConfiguration (Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
    at org.python.core.PyMethod.__call__(PyMethod.java:96)
    at org.python.core.PyObject.__call__(PyObject.java:258)
    at org.python.core.PyInstance.invoke(PyInstance.java:244)
    to org.python.pycode._pyx16.createJcashDomain$2(/cash-as1/cashadm/jcash7_0_0/wlstscripts/qa2/createDomain.py:85)
    to org.python.pycode._pyx16.call_function(/cash-as1/cashadm/jcash7_0_0/wlstscripts/qa2/createDomain.py)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyTableCode.call(PyTableCode.java:256)
    at org.python.core.PyFunction.__call__(PyFunction.java:169)
    to org.python.pycode._pyx16.f$0(/cash-as1/cashadm/jcash7_0_0/wlstscripts/qa2/createDomain.py:273)
    to org.python.pycode._pyx16.call_function(/cash-as1/cashadm/jcash7_0_0/wlstscripts/qa2/createDomain.py)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyCode.call(PyCode.java:14)
    at org.python.core.Py.runCode(Py.java:1135)
    at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
    at weblogic.management.scripting.WLST.main(WLST.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    in weblogic. WLST.main (WLST.java:29)
    Caused by: com.bea.plateng.domain.script.ScriptException: java.lang.NullPointerException
    at com.bea.plateng.domain.script.jython.WLScriptContext.getProxy(WLScriptContext.java:1515)
    at com.bea.plateng.domain.script.jython.ScriptInvocationHandler.convertType(ScriptInvocationHandler.java:308)
    at com.bea.plateng.domain.script.jython.ScriptInvocationHandler.invoke(ScriptInvocationHandler.java:89)
    ... more than 26
    Caused by: java.lang.NullPointerException
    at com.bea.plateng.domain.script.jython.CmoMapKey.hashCode(CmoMapKey.java:32)
    at java.util.HashMap.get(HashMap.java:300)
    at com.bea.plateng.domain.script.jython.ScriptProxyFactory.findCmo(ScriptProxyFactory.java:260)
    at com.bea.plateng.domain.script.jython.ScriptProxyFactory.findCmoByName(ScriptProxyFactory.java:254)
    at com.bea.plateng.domain.script.jython.ScriptProxyFactory.getProxy(ScriptProxyFactory.java:94)
    at com.bea.plateng.domain.script.jython.WLScriptContext.getProxy(WLScriptContext.java:1511)
    ... 28 more


    ================================
    CD("/")
    from weblogic.management.configuration import SecurityConfigurationMBean
    SC = cmo.getSecurityConfiguration)
    sc.setNodeManagerUserName ("nmUser")
    sc.setNodeManagerUserPassword ("nmPwd")

    Steven,

    Why do you not write another script once the domain is created for updating the nodemanager properties file. I sent you my scripts.
    Thank you.

    Naour Vijay.

  • Alter the State of Session? -Apex form publishes text with null value

    Recently I discovered a problem with our Apex facility in which all selected as source for a text field value will eventually be displayed as a null value in the database.
    We run APEX version 3.2 in an Oracle 10.2.0.4 database using Oracle HTTP Server from 10 g companion disc.

    At first glance, everything seems to work as expected; I created a simple table called "oracle_sr" with 2 columns, as both not null:

    SQL > desc capacity.oracle_sr
    Name Null? Type
    ORACLE_SR_ID NOT NULL NUMBER
    TIMESTAMP NOT NULL DATE

    In APEX, the form wizard has been used to create a form on this table.
    After execution of the pages and you enter a value for the timestamp field, I can create folders without problem.

    The question arises when I choose a source for the timestamp field value.
    All the source options causes the same error (including a static value) so I'll focus on the SQL query to the source as:

    Select sysdate double;

    This should replace the date system in the area of text timestamp when the page is executed.
    As expected, the value appears in the text box, but when I submit the form to create the folder I get the error:

    ORA-01400: cannot insert NULL into ('ABILITY'. "" "" ORACLE_SR '. "" TIMESTAMP")

    I have worked with APEX for quite awhile and have successfully used this technique in many applications but just to begin to see this error in recent days. What's particularly odd about this message is by default postings "not null" created by the form wizard sees timestamp class as having a value. Session state information included below reports a value yet the database is to launch the ORA-01400.

    Someone has a similar problem? I have spent a good amount of time to try looking for this problem but can't seem to find any similar messages.

    I have included the release of my test page, debugging from what I see, it seems to be a value associated with the filed timestamp:

    0.00: a C C E P t: request = "CRΘER."
    0.00: metadata: go look up the definition and application shortcuts
    0.00: NLS: wwv_flow.g_flow_language_derived_from = FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language = en - us
    0.00: alter session set nls_language = "AMERICAN."
    0.00: alter session set nls_territory = 'AMERICA '.
    0.00: NLS: CSV charset = WE8MSWIN1252
    0.00:... "NLS: decimal separator Set =". »
    0.00:... NLS: Set NLS Group separator = ",".
    0.00:... NLS: Date Format Set = "DD-MON-RR.
    0.01:... Setting session time_zone in-06: 00
    0.01: setting NLS_DATE_FORMAT application date format: DD-MON-RR
    0.01:... NLS: Date Format Set = "DD-MON-RR.
    0.01: fetch database session state
    0.01:... Check the owner of the 2303701116904676 session
    0.01: setting NLS_DATE_FORMAT application date format: DD-MON-RR
    0.02:... NLS: Date Format Set = "DD-MON-RR.
    0.02:... Check for expiration of the session:
    0.02:... Metadata: Page Fetch, calculation, process and branch
    0.02: session: extract information from session header
    0.02:... Metadata: Retrieve the attributes of the page for application 109, page 50
    0.02:... Validate page affinity point.
    0.02:... Check off the items hidden_protected.
    0.03:... Check authorization security systems
    0.03: session state: Save elements of form and p_arg_values
    0.03: *... Session state: you save newValue of the object "P50_ORACLE_SR_ID" = "" "escape_on_input ="N"* 0.03: *..." " Session state: you save the object "P50_TIMESTAMP" = newValue ' 26 May 09 "" escape_on_input = "N" * ""»
    0.03:... Session state: Save "P0_CURRENT_PERSONNEL_ID" - registration of same value: "1."
    0.03:... Session state: Save "P0_OFFSET" - registration of same value: "0".
    0.03:... Session state: Save "P0_ACTIVE_WEEK" - registration of same value: "24 May 09".
    0.03: point of treatment: ON_SUBMIT_BEFORE_COMPUTATION
    0.03: branch point: BEFORE_COMPUTATION
    0.03: point of calculation: AFTER_SUBMIT
    0.03: tabs: make the connection for the tab queries
    0.03: branch point: BEFORE_VALIDATION
    0.03: perform validations:
    0.03:... Point Not Null Validation: P50_TIMESTAMP
    0.04: branch point: BEFORE_PROCESSING
    0.04: point of treatment: AFTER_SUBMIT
    0.04:... Process 'PK get': PLSQL (AFTER_SUBMIT) declare function get_pk return varchar2 is begin C1 in (select ORACLE_SR_SEQ.nextval double next_val) loop return c1.next_val; end loop; end; Start: P50_ORACLE_SR_ID: = get_pk; end;
    0.04:... * session state: saved point new value "P50_ORACLE_SR_ID" = "6."
    0.04:... Treat "Line of ORACLE_SR process": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER #:ORACLE_SR:P50_ORACLE_SR_ID:ORACLE_SR_ID | IUD
    0.04: see the error page...
    0.04: execute rollback...

    ORA-01400: cannot insert NULL into ('ABILITY'. "" "" ORACLE_SR '. "" TIMESTAMP")

    Cannot process the row in the ORACLE_SR table.
    Back by demand.

    Any thoughts would be appreciated.

    Thank you

    Justin.

    If you have changed the Source Type of an element of database column to something else, so he cannot participate in the automated line choreography Fetch/automatic line processing (DML). You must leave the Type of Source, as it was and change the default value of the element fill when the ARF process retrieves a null value for the column.

    Scott

  • NULL value in the print result

    I run a SELECT statement on the form below:

    SELECT col1 |' | ' || col2 |' | ' || COL3

    TABLE;

    It gives me the following outprint, which is what I need

    col1 | col2. col3

    VARCHAR2. number | VARCHAR2

    The problem is when col2 returns a NULL value, then I get this:

    VARCHAR2. VARCHAR2

    When what I want is this:

    VARCHAR2. (null) | VARCHAR2

    Is it possible to get my results of the query to print the value NULL (null)?

    I tried the function NVL NVL (col2, 'null'), but it won't work because there is a mismatch on data types. I can get the NULL value, printed by concatenating don't not columns and save results to csv, but that does not give me the formatting that I want.

    You can convert the character number column, and then look for the NVL.

    See below:

    with data as
    (
      select 'col1' col1, 1 col2, 'col3' col3 from dual union all
      select 'col1' col1, null col2, 'col3' col3 from dual
    )
    select col1 || '|' || nvl(to_char(col2), 'null') || '|' || col3
      from data;
    
    COL1||'|'||NVL(TO_CHAR(COL2),'NULL')||'|'||COL3
    --------------------------------------------------
    col1|1|col3
    col1|null|col3
    
  • Terminal SYS_CONTEXT returns NULL values

    Hi, I'm working on a 10g database.

    I put a trigger on opening session in a database. who uses this query

              SELECT sys_context('USERENV',
                                     'SESSION_USER') s_user,
                      sys_context('USERENV',
                                     'OS_USER') s_osuser,
                      sys_context('USERENV',
                                     'IP_ADDRESS') s_ip,
                      sys_context('USERENV',
                                     'TERMINAL') s_terminal,
                      sys_context('userenv',
                                     'SESSIONID') s_sessid,
                      SYSDATE s_login
              FROM   dual
              WHERE  upper(sys_context('USERENV',
                                             'SESSION_USER')) IN
                      ('SYSADMN',
                        'SUPERUSER')
              AND    upper(sys_context('USERENV',
                                             'OS_USER')) <> 'SYSTEM';
    in a table.

    Why is this code return a NULL value in the terminal for some connections?

    What is the print server? or something else?

    Thank you

    IP address is not available if the client does not connect via TCP (@SID).

    So I can assume that since you are directly on the server you may not be connected through the listening port.

    Response by Anurag.
    Problem with sys_context

    HTH
    Girish Sharma

Maybe you are looking for

  • Address book seized semiautomatic retains errors in history

    I corrected a typo on an address in my address book. AutoComplete displays the address of the old/bad as well as the new address. The old address is not yet in my address book. It must be in a history file from somewhere. How to reset the history or

  • R100 certain locked keys

    My R100 seems to have a 'L' key stuck so cannot connect because of multiple 'L' that appear in passwords etc... Where can I get a replacement keyboard, and how many we are?(I unplugged the original so I can temporarily use a USB keyboard) > Thank you

  • White screen and beeps when turn on Satellite 3000 X 11

    Can anyone help? A couple of times in recent weeks my Satellite 3000 X 11 itself has turned off. However, it then displays a white screen when I turn it on and 3 beeps followed by 3 beeps of x x. The power led & battery lights on and the hard drive f

  • Questions laptop starts to really frustrate me

    First off I hope by specifications, which means laptop and I am posting this in the right place. I have read many places Q & A with my questions, and today I took my laptop at Best Buy/Geek Squad to fix these problems, but after an hour away, I still

  • BlackBerry Smartphones google talk... downloaded it... Uh, where is it?

    Hi download to use, I can not find? someone at - it a where his establishment? look everywhere I thought