Problems JDBC Dynamic Credentials

Considered:
I am using Jdev 10.1.2 with ADF, and in the application that I use we have implemented the use of DynamicJDBCCredentials. The particularitity is that the work form is the following one, When initiating, the application must be connected with a user that is taken pre-defined from a file properties, this will show the screen of login, in which the user along with enters his data the selection of the company that wish, when doing this and to press ok, the application would have to change to the user and password of which appmod this connecting itself to the DB, the seteos of user/password takes control correctly, but appmodule does not change the connection and I do not understand because… somebody Will be able to help me with this? From already thank you very much.
Estimados: Estoy usando Jdev 10.1.2 con ADF, y en la aplicacion que utilizo hemos implementado el uso de DynamicJDBCCredentials. La particularidad es que la forma de trabajo es la siguiente, Al iniciar, la aplicacion debe conectarse con un usuario que se toma pre-definido desde un archivo properties, esto mostrará la pantalla de login, en la cual el usuario ingresa sus datos junto con la seleccion de la empresa que desea, al hacer esto y presionar ok, la aplicacion debería cambiar el usuario y password con el cual el appmod se esta conectando a la DB, los seteos de user/password se hacen correctamente, pero el appmodule no cambia la conexion y no entiendo porque ... Podrá alguien ayudarme con esto? Desde ya muchas gracias.

I should preface this with a warning that I'm not all that familiar with what you are trying to do. However, it should be possible to use very similar code to what is shown in the How To document for JSPs. In the JSP example, the code is inline part of the JSP. uiXML doesn't mix code and UI, so this code would therefore be located in a method event handler.
The first thing to do would be to create a uiXML page with form fields for username and password. I would use a messageTextInput for these fields (with the secret attribute set to true for the password field). I would add a "Login" submitButton, and then add a ctrl:event="Login" attribute to the button so that it will fire a UIX Controller "Login" event.
I would add a handler for the "Login" event in the handlers section of the uiXML page, and use a method event handler to call out to Java code. The method event handler has access to the HTTPSession and the submitted username and password, so you should be able to get the HTTPContainer and manipulate the session. The only major difference with the JSP example, would be that the JSP example uses the <jbo:ApplicationModule> tag in a try/catch block to attempt the connection, and you would need to use the regular BC4J Java APIs. If the connection was sucessful, your event hander would return an EventResult for the next paeg in your application, if there was an error you could return an event result for the same page displaying the error (as discussed in the Handling Errors chapter of the UIX Developer's Guide).
Whenever discussing login procedures, it is worth pointing out the TrivialPageFlowEngine in the UIX Controller which is useful in enforcing that the user has gone through your login procedure prior to jumping to any page in the application.
Hope this helps!

Similar Messages

  • [SOLVED]JDBC Dynamic credentials problem

    Hello everyone. I have been trying to implement Steve Muench example 14 about JDBC Dynamic Credentials on my own web app., I am using Jdeveloper 10.1.3.2 and JSF/ADF.
    The thing is that the JDBC dynamic credential works well but when I enter a non-existant username/password the login.jsp page sends me to the main.jsp page and in the table that I have placed there (in the main.jsp page) it shows "Access Denied". Is there any way to tell the app. to redirect the users to the login.jsp page if they try to acces other parts of the app. and they are not logged in???, or is it thay I am missing something from the Steve Muench's example???
    I have been cheking the "DynamicJDBCBindingFilter.java" code and, if I understand correctly ('cause I consider myself a newbe), the "super.doFilter(request, response,chain)" is suppoused to throw an exception if the authentication fails and the "catch" code then sends the user to the login.jsp page... but for some reason this doesn't work!!!
    Can anybody help me on this one please?
    Thanks.
    * By the way, no errors are thrown!
    Message was edited by:
    dragonov7

    Hi Frank, thanks for your response. That same idea crossed my mind but the thing is that the line "super.doFilter(request, response,chain);" is supouseded to throw an exception if it fails to do its job but for some reason it does not... I have placed a "System.out.printline("XXX");" line inmediatly after the "catch" statement to see if an exception is thrown but apparently it doesn't, so I can't set a flag if I don't know for sure if the process ended well (or wrong).
    I think I'll clear my mind for 1 hour and start all over again... maybe I am missing something...

  • Jdbc dynamic credentials

    How does one go about implementing JDBC dynamic credentials as suggested by this article http://otn.oracle.com/products/jdev/howtos/bc4j/howto_dynamic_jdbc.html in UIX instead of JSP? Any pointers?
    Thanks!
    Ronny

    I should preface this with a warning that I'm not all that familiar with what you are trying to do. However, it should be possible to use very similar code to what is shown in the How To document for JSPs. In the JSP example, the code is inline part of the JSP. uiXML doesn't mix code and UI, so this code would therefore be located in a method event handler.
    The first thing to do would be to create a uiXML page with form fields for username and password. I would use a messageTextInput for these fields (with the secret attribute set to true for the password field). I would add a "Login" submitButton, and then add a ctrl:event="Login" attribute to the button so that it will fire a UIX Controller "Login" event.
    I would add a handler for the "Login" event in the handlers section of the uiXML page, and use a method event handler to call out to Java code. The method event handler has access to the HTTPSession and the submitted username and password, so you should be able to get the HTTPContainer and manipulate the session. The only major difference with the JSP example, would be that the JSP example uses the <jbo:ApplicationModule> tag in a try/catch block to attempt the connection, and you would need to use the regular BC4J Java APIs. If the connection was sucessful, your event hander would return an EventResult for the next paeg in your application, if there was an error you could return an event result for the same page displaying the error (as discussed in the Handling Errors chapter of the UIX Developer's Guide).
    Whenever discussing login procedures, it is worth pointing out the TrivialPageFlowEngine in the UIX Controller which is useful in enforcing that the user has gone through your login procedure prior to jumping to any page in the application.
    Hope this helps!

  • JDBC Dynamic Credential with proxy users

    Hi
    We've developed an application with Business Components and it's been working very well. We're using JDBC Dynamic Credential like explain the document (How to Support JDBC Dynamic Credentials - http://www.oracle.com/technology/products/jdev/howtos/10g/dynamicjdbchowto.html). Now we want to use proxy users with JDBC Dynamic Credentials. How can we
    user proxy users with JDBC Credentials? What classes or parameters we need to change?
    I've been tested proxy users a lot, but in simple java classes, I don't know where to set some parameters in business components, for example, where can I set the following parameters?:
    OracleOCIConnectionPool.PROXY_USER_NAME
    OracleOCIConnectionPool.PROXYTYPE_USER_NAME
    Thanks in advance
    Liceth

    Hi Frank, thanks again
    Now we are using JDBC Credentials(like explain the paper http://www.oracle.com/technology/products/jdev/howtos/10g/dynamicjdbchowto.html), every user connects to the application with a diferent database user and password, then at database level the administrator can see diferents usernames (not the same user). Every application user correspond to a database user, relation one to one. The application works fine with that configuration. But, now for performance we want to change our application to use proxy users, I read that with proxy users redirectec to a single user, then the pooling connections are well reused, and at database level you have diferent usernames. Our principal goal is use pooling (for performance) and see diferent usernames at database level, this for facilitate administration tasks and auditory .
    We want that the application user autenticate with proxy users (username and password) but we have some problems because we don't know where specify that we're using proxy users. (The parameters OracleOCIConnectionPool.PROXY_USER_NAME
    OracleOCIConnectionPool.PROXYTYPE_USER_NAME).
    We want open our connections with the following code:
    OracleOCIConnectionPool ods = new OracleOCIConnectionPool();
    ods.setURL("jdbc:oracle:oci:@"+tnsAlias);
    ods.setUser("user_application");
    ods.setPassword("oracle");
    java.util.Properties prop = new java.util.Properties();
    prop.setProperty(OracleOCIConnectionPool.CONNPOOL_MIN_LIMIT,"3");
    prop.setProperty(OracleOCIConnectionPool.CONNPOOL_MAX_LIMIT,"20");
    prop.setProperty(OracleOCIConnectionPool.CONNPOOL_INCREMENT,"1");
    ods.setPoolConfig(prop);
    java.util.Properties userNameProp = new java.util.Properties();
    userNameProp.setProperty(OracleOCIConnectionPool.PROXY_USER_NAME,"Mark/123");
    Connection conn = ods.getProxyConnection(OracleOCIConnectionPool.PROXYTYPE_USER_NAME,userNameProp);
    with other user
    userNameProp.setProperty(OracleOCIConnectionPool.PROXY_USER_NAME,"Marty/123d");
    Connection conn = ods.getProxyConnection(OracleOCIConnectionPool.PROXYTYPE_USER_NAME,userNameProp);
    Thanks in advance
    Liceth

  • Dynamic Credentials and Web Service Data Controls

    I've followed Steve Muench's post on using Dynamic Credentials (14.     Dynamic JDBC Credentials for Model 1 and Model 2 [10.1.3.2] 2006, Upd: 17-MAY-2007), which works fine with the ADF BC part of the project. However, the project also contains Data Controls created from web services. I'm getting the following exception. Why are the web services being effected by the credentials and how can I fix it?
    Aug 31, 2007 12:38:41 PM oracle.adf.model.adapter.DataControlFactoryImpl createSession
    SEVERE: Exception:
    oracle.adf.model.adapter.AdapterException: DCA-40012: Failed to create a connection to the Web Service.
         at oracle.adfinternal.model.adapter.webservice.WSDefinition.loadFromMetadata(WSDefinition.java:659)
         at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:163)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
         at oracle.adf.model.BindingContext.get(BindingContext.java:457)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.<init>(JUMethodIteratorDef.java:138)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:93)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:84)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:483)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
         at oracle.adf.controller.v2.context.LifecycleContext.getBindingContainer(LifecycleContext.java:150)
         at com.awiweb.om.view.fwkExts.OMS_FacesPageLifecycleContext.initControllerClass(OMS_FacesPageLifecycleContext.java:23)
         at oracle.adf.controller.v2.context.LifecycleContext.<init>(LifecycleContext.java:53)
         at oracle.adf.controller.v2.context.PageLifecycleContext.<init>(PageLifecycleContext.java:48)
         at oracle.adf.controller.faces.context.FacesPageLifecycleContext.<init>(FacesPageLifecycleContext.java:37)
         at com.awiweb.om.view.fwkExts.OMS_FacesPageLifecycleContext.<init>(OMS_FacesPageLifecycleContext.java:17)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at oracle.adf.controller.v2.context.LifecycleContext.getInstance(LifecycleContext.java:86)
         at oracle.adf.controller.v2.context.LifecycleContext.getInstance(LifecycleContext.java:65)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:404)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:77)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:228)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.awiweb.om.view.fwkExts.OMS_ADFBindingFilter.doFilter(OMS_ADFBindingFilter.java:79)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Please ignore this post. The problem was not related to the Web Service.

  • Dynamic Credentials with Webservice

    I'm developing a web service and need to establish a database connection based on a heavyweight user in the database. (Please...no discussion on that design...it is what it is at least for now.)
    So far I've created a class defining the service method. (This will be converted to a webservice later using the wizard.) I've created a separate project containing an AppModule through which I'll access the datasource.
    Use of dynamic credentials for web apps is discussed here: http://www.oracle.com/technology/products/jdev/howtos/bc4j/howto_dynamic_jdbc.html. However the example depends on the lifecycle's calling a subclass of SessionCookieFactory and passing of the UID/password via HttpSession object attributes. I'm assuming that a webservice would not have a call to the SessionCookieFactory in its lifecycle.
    Is there a way in a webservice design to dynamically set the username and password for the connection? I'm using an AppModuleImpl subclass in my project, but I haven't seen any methods for changing the username/password before or after my call to Configuration.createRootApplicationModule(String a, String b). {My connection string is defined in a database connection in the Connections Navigator.}
    I'm developing in JDev 10.1.3.1.

    OK...I was able to make this work by modifying the dynamic JDBC example:
    public Element serviceMethod(String username, String password, String parameter) {
    String amDef="mypkg.AppModule";
    String config="AppModuleLocal";
    ServiceEnvInfoProvider envInfo = new ServiceEnvInfoProvider(username, password);
    AppModuleImpl module = (AppModuleImpl)Configuration.createRootApplicationModule(amDef, config, envInfo);
    Element resultElement = processingMethod(parameter);
    return resultElement;
    }

  • Problem in dynamically generating the file upload field

    Hello all
    I am using netbeans 5.5 and visualwebpack for my jsf project.
    i have a problem in dynamically generating the file upload field and using it.
    I have a panel say "panelA" which holds file upload fields.
    Depending upon the count value i generate the file upload field using following code snippet:
    Upload upload1 = new Upload();
    upload1.setId("upload1");
    getPanelA.getChildren().add(upload1);
    The page successfully shows up the file upload fields. While the user clicks the submit button, i have used following logic to perform upload:
    List components = getPanelA().getChildren();
    for(int i = 0; i<components.size(); i++){
    if(components.get(i) instanceof Upload){
    UploadedFile uploadedFile = ((Upload)components.get(i)).getUploadedFile();
    I am getting this UploadedFile object null.
    How can i solve this problem.

    Anyway,
    I solved the problem.
    Actually i was using label property of the upload field due to which i got null pointer exception.
    I removed the label property of the upload field and things worked as i wanted.

  • Dynamic credentials

    I am using dynamic credentials in my adf 11g application ,i want after user make login, to store his basic information - (name,salary,birthdate,...etc) which is store in database - to session variables to use these variables in all pages . how can i do that ?
    thanks in advance
    maher

    Maher,
    the ideal point is the method where you are sure the user has successfully logged into your system.
    There you get hold of the session, check if the bean is already instantiated and set its values. If you can't find the bean create it yourself and put it into the session.
    Timo

  • Differend between JAZN and Dynamic Credentials

    Please dose someone hase an article about this?? I want a clear article where it describes the differend between these two.
    thank you

    Hi,
    I don't think that this topic is worth an article.
    The difference is that JAZN performs J2EE container managed authentication in OC4J, whereas dynamic credentials allows ADF BC users to have their own database connection to their own schema (instead of sharing a database connection which then could be database pooled). So we are talking about comparing apples and beans here
    Frank

  • After Effects won't close/Problems with dynamic links

    When I quit After Effects the icon still shows up and it says that it is still open, even force quit will not work. Also having problems with dynamically linked files between after effects and Premiere pro. Rendering in Premiere doesn't work unless I go to AE, save the project, then go back to Premiere. I have OSX Mavericks 10.9.2, a late 2012 mac pro, and AE CC 12.2.1.5

    Kevin: would appreciate further thoughts on this.
    I am using Pr2014, version 8.0.0 I am using AE2014, version 13.0.2.3. When I was on earlier versions of each, I had no problem importing AE comps into Pr. I'd choose import in Pr, then select the AE project, then select the comp. But with my new and improved versions of AE and Pr, I keep getting "importer reported a generic error."
    I also tried to go the other way. I selected in Pr the clips I wanted to work on in AE, and then tried "replace with AE comp" but got the "generic error" message again..
    Finally, I attempted to create a Dynamic Link from Pr via the File menu, but with each of the options from there, I got "failed to connect to AE Dynamic Link"
    Any advice you can share, would be most welcome.

  • JDBC dynamic receiver configuration

    hi experts,
    i have about 20 datasources (databases). all of them use the same XI scenario. it means that on all databases the same work is done.
    now there is a problem, i dont want to create 20 jdbc receiver channels for each database to handle my scenario,
    is there a way to configure the jdbc receiver dynamically?
    if yes, any how-to would really help me.
    thanks in advance
    chris

    Database connection paramter is the mandatory for CC channel creating an is dependent on each CC creation.
    So going with the standard would be easy and your question is more valid sending same structure to different DB.
    But no option  as u wished.
    Developing Adapter Module would be quite challening but Database ip should be produced from the Outbound Interface r any value mapping has to happen based upon some validation from Outbound Interface.
    But doing all work around depends on u r interest an need intstead go for CC creation
    SAP has give so i guess it would be very narrow in monitoring the CC individually in poiting out the error specific
    regards
    srini

  • DB2 problems with Dynamic SQL

    Does anyone out there use dynamic SQL with DB2? If so, are the sql statements causing a PreparedStatement to be executed on DB2. I posted this question similarly before, but never resolved it, and it is killing me. I have to resolve this ASAP!
    Here is the problem: My DB2 Admin says that EVERY TIME I access the database, my Java app is causing the database to create a PreparedStatement. However, I'm using Statement objects exclusively, with dynamic SQL. He says that DB2 needs an "access path" for the client, and that it converts the Statement to a PreparedStatement, as this is the only way to get this "access path". He says the only solution is either stored procedures or SQLJ, which will do the binding in advance, and increase performance tremendously. However, I am STRONGLY opposed to using SQLJ, and if we do stored procedures, we'd have to write one for every possible SQL statment! I KNOW there is a better solution.
    Is anyone out there having these problems with JDBC and DB2? Surely someone out there uses DB2 and JDBC and either has these problems or can confirm that something is incorrectly configured on the database side.
    Any help would be great. Thanks, Will

    Now I'm wondering if maybe the PreparedStatements are ONLY being called on the database when I call getConnection(), and not when I call executeQuery() or executeUpdate() from the Statement object. I just can't see why the database would have to make an access path for every SQL statement executed, but I could see it creating an access path for every connection requested. Any thoughts on that theory?

  • Problem creating dynamic URI for importing xsl sub templates in rtf

    Hi,
    We are using xsl based sub templates in RTF. My code in RTF to import sub template is
    <?import:http://localhost:7001/xmlpserver/Header.xsl?>
    <?call@inlines: CustomerReportHeader?><?end call?>
    This sub template import statement is used in lot of RTF's. We require to configure host,port name in server run time properties and will get the value in RTF and will construct URI dynamically ,So we put one property in xdo.cfg.
    xdo.cfg contains as below
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <properties>
    <property name="xdk-secure-io-mode">false</property>
    </properties>
    <properties>
              <property name="xslt.HTTP">'localhost:7001/xmlpserver'</property>
    </properties>
    </config>
    and i changed my sub template call to
    <?import:http://${HTTP}/Header.xsl?>
    <?call@inlines: subtemplate1?><?end call?>
    Where subtemplate1 : is one sub template in side Header.xsl
    This configuration is not working. The HTTP value is not being parsed. The BI publisher throwing exception as "Unknown host exception ${HTTP}"
    Please note that : I am able to print HTTP run time variable value in report by <?$HTTP?> adding in Form Field text.
    I have installed BI publisher 10.1.3.4.1 (xmlpserver) in weblogic 10.3.5
    Please guide us on this above problem.

    Hi,
    The problem got resolved when we tried same thing in BI publisher 10.1.3.4.2 (xmlpserver) in weblogic 10.3.5. It seems that BI publisher 10.1.3.4.1 does not have dynamic URI support.
    Thanks,
    Sanjaya
    Edited by: Sanjaya on Sep 4, 2012 2:09 AM

  • Is there a 100 column report limit and/or a problem editing dynamic reports

    APEX Gurus
    I have a report which is generated dynamically, the source being a PL/SQL function body returning SQL query. The on-screen output is generated using mod plsql, i.e. an html table.
    If I run the report with parameters which return more than 100 columns, all are displayed on screen
    However, if I click on the (standard functionality) 'export to csv' link at the bottom of the report, not all of the columns are exported.
    If I navigate to the report definition page, firstly a pop-up error appears: "A Runtime Error has occurred. Do you wish to debug? Line 272 Error: ';' Expected". If I click 'no' then the report definition appears. There are 100 columns listed 'Col01', 'Col02', 'Col03' ... 'Col100'.
    I can't edit anything on the page without getting an error when I apply changes:-
    ORA-20505: Error in DML: p_rowid=107779820132310508, p_alt_rowid=ID, p_rowid2=79506526374684203, p_alt_rowid2=SECURITY_GROUP_ID. ORA-20503: Current version of data in database has changed since user initiated update process. current checksum = "E8F1BCECF94FAD8DF3ECC3E74BCC4D50" application checksum = "0"
    ORA-20505: Error in DML: p_rowid=107779820132310508, p_alt_rowid=ID, p_rowid2=79506526374684203, p_alt_rowid2=SECURITY_GROUP_ID. ORA-20503: Current version of data in database has changed since user initiated update process. current checksum = "E8F1BCECF94FAD8DF3ECC3E74BCC4D50" application checksum = "0"
    The only option is a hyperlink to go back: 'Return to application'. No changes are saved.
    I am wondering if I am hitting 2 problems:-
    1. APEX can't handle more than 100 columns
    2. APEX can't handle editing of the page once it has been created?
    Does anyone have any good ideas/seen this before?
    Could it be related to this Is it a bug (Form with more than 100 items/columns) ?
    Is this a bug or an undocumented feature?
    All help appreciated.
    Ian

    I created a report with the following query
    SELECT 1,2,3,4,5,6,7,8,9,10,
           11,12,13,14,15,16,17,18,19,20,
           21,22,23,24,25,26,27,28,29,30,
           31,32,33,34,35,36,37,38,39,40,
           41,42,43,44,45,46,47,48,49,50,
           51,52,53,54,55,56,57,58,59,60,
           61,62,63,64,65,66,67,68,69,70,
           71,72,73,74,75,76,77,78,79,80,
           81,82,83,84,85,86,87,88,89,90,
           91,92,93,94,95,96,97,98,99,100
    FROM DUAL
    {code}
    It created a 100 column report and I was able to manipulate the report the same as any other. So maybe it is not the fact that there are 100 columns. I know its not an answer to your question but maybe it can help.
    Tyson Jouglet
    Edited by: Tyson Jouglet on Oct 13, 2008 8:51 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Design problem with dynamically added row in datatable

    Hello all,
    I have a dataTable and have developped a method that dynamically adds rows to the dataTable. Each row is made up of two form controls. The problem I have now is that I don't know how to retrieve the values from the mutiple rows. Ideally I would need the values to be stored into a list.
    Can anyone help?
    Thanks in advance,
    Julien.
    Here is my code:
    <h:dataTable var="line" binding="#{TradeClientsAndQuantitiesBean.clientsAndQuantities}"  value="#{TradeClientsAndQuantitiesBean.listOfMiddleFormHelpers}">
                <h:column>
                    <f:facet name="header">
                        <h:outputText value="S�lectionnez un client"/>
                    </f:facet>
                    <h:selectOneMenu value="#{TradeClientsAndQuantitiesHelperBean.selectedClientTemp}">
                        <f:selectItems value="#{TradeClientsAndQuantitiesHelperBean.concatenatedLabelMap}"/>
                    </h:selectOneMenu>
                </h:column>   
                <h:column>
                    <f:facet name="header">
                        <h:outputText value="Renseignez une quantit�"/>
                    </f:facet>
                    <h:inputText value=""/>
                </h:column>   
            </h:dataTable>

    The values will just be put in the same row object you added to TradeClientsAndQuantitiesBean.listOfMiddleFormHelpers.
    It might be worth to read this article: http://balusc.xs4all.nl/srv/dev-jep-dat.html

Maybe you are looking for

  • ITunes Error 9 - Update 4.3.3 to 4.3.5

    I just got my second replacement iPhone 4 from my local telco on Friday. It comes with iOS version 4.3.3. So I decided to update it to 4.3.5. Haflway during updating, the iTunes stuck at "Restoring iPhone Firmware" for around 10min, then it prompted

  • Several content types and default field value

    Hi! I have a document library with several custom content types (derived from standard Document type). One of them (CT1) has field with default value. Other content types must not contain this field. And when I upload document, this field has no defa

  • IMac and Formatting USB Drive Issues

    I have an 8GB USB drive that I formatted to MS-DOS FAT using my iMac with 10.6.4 on it. However I now realise that that was a stupid thing to do as now that drive no longer works on Windows no matter what I format it too. I want the pen to allow me t

  • Camera RAW 2.5 Update für Nikon D2X ????

    Wann kann ich mit einem Update zur Unterstützung der Nikon D2X rechnen ??? Andy

  • Ipod Mini skipping tracks randomly

    Help, my Ipod's gone all weird on me - had it for approx 8 months without a pick of bother, however yesterday its refusing to play certain songs - songs which have played without a hitch before, and automatically jumps or skips to the next listed tra