Programm change in Oracle ADF database connection

Hello!
Our company uses an application implemented in Oracle Forms. We have about 2500 users. Each user works with a database using Oracle c your login / password.
We want to migrate to Oracle ADF. But the concept of Oracle ADF - under a single user connection.
But the position of the database administrators - do not use OracleInternetDirectory (LDAP), does not create users in WebLogic. :(
In our company, users are created in the database Oracle. Users are database role.
Our idea is to send in an application ADF user name and password. Safety is solved at the database level.
Can I do this:
1. When the application starts to change the ADF database connection to a user username / password?
2. Can there be problems in the future?
3. Are there any examples?
Please help
Vasily (sorry for bad english)/
Edited by: user10711272 on 16-Jan-2012 08:43

Hi,
You can create a custom authentication provider in WLS that uses a JAAS Login Module that attempts to connect to the database for authentication pupose. The application itself would run with a JDBC Data Source, so that you only use the database account to authenticate the user and get his/her database roles as authorization groups. I have a sample for this on my to-do list but so far hadn't the time to get to it. So yes, you don't need OID or LDAp to manage users but could keep going using the database
Frank

Similar Messages

  • While creating MViews in oracle 9i database connecting to table in an orac

    Hi all,.
    While creating MViews in oracle 9i database connecting to table in an oracle 11g database....
    Eg : create materilized view testmview as select * from testtable@db_linkname
    ORA-03113: end-of-file on communication channel
    any idea
    Regards,
    Shiju

    There would be a trace file written on the 11g database server. Please review the trace file.
    Your 9.2 environment must be running 9.2.0.4 or higher. The 9.2.0.4 is the minimum patchset level required for it to be supported connecting to an 11g (11.1 or 11.2) database.
    See "Client / Server / Interoperability Support Between Different Oracle Versions [ID 207303.1]" on support.oracle.com
    Hemant K Chitale

  • ADF Database Connection at Runtime

    Hi,
    I have developed a ADF based Web Application, deploy the code into different appServers [connecting to Different Databases] but unable to connect to the Required Database at Runtime.
    I have the following in my dataSources.xml & web.xml which looks like this.
    dataSources.xml
    <managed-data-source connection-pool-name="AIAQueryConnectionPool" jndi-name="jdbc/AIAQueryDataSource" name="AIAQueryDataSource"/>
    <connection-pool name="AIAQueryConnectionPool">
    <connection-factory factory-class="oracle.jdbc.pool.OracleDataSource" user="aia" password="aia" url="jdbc:oracle:thin:@//occf09.techmahindra.com:1521/ftsit"/>
    </connection-pool>
    web.xml
    <resource-ref>
    <description>AIA data source connection for FastTelco</description>
    <res-ref-name>jdbc/AIAQueryDataSource</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    deployed the web Application "TestTransaction" and created ConnectionPool & DataSources for this Application "TestTransaction"
    when i run the Application i am unable to connect to the required Database/(s)
    Is that correct what i was doing ?
    BUT If i have the entry of that specific Database in ./model/common/bc4j.xcfg file i am able to Connect to the Database
    and if i remove the entry from ./model/common/bc4j.xcfg file, I am unable to Connect to the Database.
    Why is it so ??
    Can anybody give me the process / code to Connect to the Database in web based ADF Application at Runtime.
    or
    Pick up the Database Configuration Values from a Properties file and establish a Database Connection ??
    thanks in Advance...
    regards,
    anvv sharma

    Hi,
    I got it working today and not yes'day to the modifications suggested by arun...the only difference being i have stop / start the Application then it started with the working what i have done yes'day
    also thanks for shay....... it was useful link
    regards,
    anvv sharma

  • Error in Oracle Lite Database connection

    Hi,
    I have installed the Oracle Application server 10.1.3.1.0 on my laptop (basic installation).
    I tried to define a database connection in the JDeveloper connection navigator to the Oracle lite database. When I test the connection I got an error:
    "Internal Error:Invalid Connect String".
    I have defined in the connection tab of the Edit database connection in the following way:
    Driver class: oracle.lite.poljdbc.POLJDBCDriver
    Library: OLite
    Classpath: C:\product\10.1.3.1\OracleAS_1\bpel\lib\olite40.jar
    URL: jdbc:polite4@localhost:100:orabpel
    Could anyone tell me which user and password I should define for the oracle lite database which is delivered with Oracle Application server 10.1.3.1.0?

    Hi,
    Did you start the SOA suite on your workstation?
    If so, can you reach the BPEL Console
    if so, check via Enterprise Manager the connect string in the OC4J instance of BPEL (oc4j_soa -> administartion -> JDBC > conenctions, or data-sources.xml)
    Copy the connect string into your OLite config if it works

  • Regarding  working with oracle spatial database connections

    sir/madem,
    i am an engg student, my final year project on inserting data into oracle spatial database through java /jsp , i am working with oracle spatial database 10g/11g,
    i want know how to insert/retrive/ manuplute the spatial data into oracle spatial databse for 10g/11g, through java programing,
    the syntax for connection of oracle spatial database 10g/11g, needed,
    i have less time to finish my project
    i hope u  help me
    thank u
    kasim
    ([[email protected]|mailto:[email protected]])

    For database access from Java, you will use JDBC.
    For the specifics of the oracle spatial database, you'll have to check the documentation/forum of Oracle.
    * [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html]
    * [JDBC Tutorial|http://java.sun.com/docs/books/tutorial/jdbc/index.html]

  • Oracle 11G + Database Connection taking too much Time

    Hi ,
    I am using Oracle 11G . When i try to connect to oracle database
    sqlplus system/impetus@database
    it takes too much time ( more than 1 min )
    I am not getting why this is happening ?
    Before some day it was working fine but suddenly the problem occurred.. Is this issue is related to log files generated by oracle or memory related issue ( sga and pga)..
    Any Help please ?

    Darn! /tmp/capture.log does not contain what I expected it to contain.
    So a different approach is needed.
    issue the following command:
    script /tmp/capture.log
    #now you are in a new shell & issue the next 3 lines
    strace sqlplus system/impetus@database
    exit
    Ctrl-d (Control D)
    now issue the following commands.
    ls -l /tmp/capture.log
    wc -l /tmp/capture.log
    Post the results from 2 commands above back here

  • Issue with Oracle 10g database connectivity

    Hi,
    Oracle 10g Express edition is been installed in my machine at the location C:\Oracle10g.
    When i tried to connect the same from toad it is working fine.
    Visual studio-2008 is been installed in machine at loc C:\Program files(x86)\
    Problem I am facing is unable to connect Oracle 10g from vb.net application.I am connecting usig Oracle Provider for OLE DB but the program directly coming to exception block
    with out connecting to database.
    My OS is Windows7 and I am thinking oracle 10g Express will not support completely to this OS.Please suggest me to resolve this issue and comapatable Oracle DB for the same.
    Edited by: 1909 on Apr 25, 2011 12:17 AM

    Hi,
    Try uninstalling and installing VS at the path which does not include brackets. Have a look at my thread.
    Re: Database engine setup for 10.2.0.5
    Thanks,
    Jignesh

  • Oracle 11g database Connection & Response are very slow

    I have an ORACLE 11g R2 on lRed Hat Enterprise Linux Server release 5.3 (Tikanga).
    initially it was working fine.
    Now a days while attempting to connect into the database from network using @service_name
    it takes a lot of time to establish the connection and even it gets connected the query response time is very high.
    on the other hand if I connect from the native database machine's terminal without @service_name it works fine & the response time is convincing. But even from the native database machine's terminal with @service_name it is giving me the same pain.
    can any body help me how to fix this.
    Thanks in advance..
    Arkesh

    thanks for the reply & Query
    Alert Log entry do look like this
    ORACLE_BASE from environment = /u01/app/oracle
    Thu Apr 22 07:29:10 2010
    ALTER DATABASE MOUNT
    Successful mount of redo thread 1, with mount id 4283520006
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    Thu Apr 22 07:29:15 2010
    ALTER DATABASE OPEN
    Beginning crash recovery of 1 threads
    parallel recovery started with 7 processes
    Started redo scan
    Completed redo scan
    read 15 KB redo, 23 data blocks need recovery
    Started redo application at
    Thread 1: logseq 449, block 8217
    Recovery of Online Redo Log: Thread 1 Group 2 Seq 449 Reading mem 0
    Mem# 0: /u01/app/oracle/oradata/ultimus/redo02.log
    Completed redo application of 0.01MB
    Completed crash recovery at
    Thread 1: logseq 449, block 8248, scn 10502937
    23 data blocks read, 23 data blocks written, 15 redo k-bytes read
    Thread 1 advanced to log sequence 450 (thread open)
    Thread 1 opened at log sequence 450
    Current log# 3 seq# 450 mem# 0: /u01/app/oracle/oradata/ultimus/redo03.log
    Successful open of redo thread 1
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    SMON: enabling cache recovery
    Successfully onlined Undo Tablespace 2.
    Verifying file header compatibility for 11g tablespace encryption..
    Verifying 11g file header compatibility for tablespace encryption completed
    SMON: enabling tx recovery
    Database Characterset is WE8MSWIN1252
    No Resource Manager plan active
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    Thu Apr 22 07:29:18 2010
    QMNC started with pid=27, OS id=3611
    Completed: ALTER DATABASE OPEN
    Thu Apr 22 07:29:20 2010
    db_recovery_file_dest_size of 10240 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Thu Apr 22 07:29:20 2010
    Starting background process CJQ0
    Thu Apr 22 07:29:20 2010
    CJQ0 started with pid=28, OS id=3817
    Thu Apr 22 07:34:18 2010
    Starting background process SMCO
    Thu Apr 22 07:34:18 2010
    SMCO started with pid=19, OS id=3861
    Thu Apr 22 07:59:23 2010
    Thread 1 advanced to log sequence 451 (LGWR switch)
    Current log# 1 seq# 451 mem# 0: /u01/app/oracle/oradata/ultimus/redo01.log
    Thu Apr 22 10:09:23 2010
    DM00 started with pid=34, OS id=6272, job ULTIMUS.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:09:25 2010
    DW00 started with pid=35, OS id=6274, wid=1, job ULTIMUS.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:11:20 2010
    Thread 1 cannot allocate new log, sequence 452
    Private strand flush not complete
    Current log# 1 seq# 451 mem# 0: /u01/app/oracle/oradata/ultimus/redo01.log
    Thread 1 advanced to log sequence 452 (LGWR switch)
    Current log# 2 seq# 452 mem# 0: /u01/app/oracle/oradata/ultimus/redo02.log
    Thu Apr 22 10:13:28 2010
    DM00 started with pid=45, OS id=6395, job ULTIMUSISL.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:13:29 2010
    DW00 started with pid=46, OS id=6397, wid=1, job ULTIMUSISL.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:14:29 2010
    Thread 1 cannot allocate new log, sequence 453
    Private strand flush not complete
    Current log# 2 seq# 452 mem# 0: /u01/app/oracle/oradata/ultimus/redo02.log
    Thread 1 advanced to log sequence 453 (LGWR switch)
    Current log# 3 seq# 453 mem# 0: /u01/app/oracle/oradata/ultimus/redo03.log
    Thu Apr 22 10:15:40 2010
    DM00 started with pid=43, OS id=6432, job IULTIMUS.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:15:41 2010
    DW00 started with pid=45, OS id=6434, wid=1, job IULTIMUS.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:16:38 2010
    DM00 started with pid=45, OS id=6450, job ULTIMUSEXT.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:16:38 2010
    DW00 started with pid=46, OS id=6452, wid=1, job ULTIMUSEXT.SYS_EXPORT_SCHEMA_01
    Thu Apr 22 10:26:18 2010
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 22-APR-2010 10:26:18
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    opiodr aborting process unknown ospid (6587) as a result of ORA-609

  • Oracle 8i Database Connection Error

    Hello
    I have installed Oracle8i Enterprise on WinNT
    4.0.However I am unable to connect to the
    database thru' SQLPlus and I am getting the above error "TNS COULD NOT RESOLVE SERVICE NAME".I also checked the same thru' Net8i
    assistant and tried testing of connection to database which has been created under my name
    "Sumit" .I am therefore unable to connect to the database and getting similar errors ORA-12541 and sometimes ORA-01034.Please help me out.The login user name I am using is "scott"
    password "tiger" and hoststring is "Sumit".
    Thanks

    Dear Sudip,
    Thanks a lot for responding to my message ..I had lost hope of
    receiving a response.Sudip,I tried connecting throu' Net8 configuration
    as "SYSTEM" and password "MANAGER" but couldnt connect thro'.Although
    I must mention that I could log on to SQLPLUS as INTERNAL/ORACLE after
    which I gave the STARTUP command .The Oracle instance got started
    however it also gave me an error ORA-00205 "error in identifying
    controlfile, check alert log for more info".Now I tried to create a
    SCOTT/TIGER schema but the script does not run and I get the following
    error
    SP2-0310: unable to open file "OraHome81\RDBMS\ADMIN\SCOTT.SQL"
    and the same with "Sumit\RDBMS\ADMIN\SCOTT.SQL" .I am neither able to
    create a table as it gives "database not open error" .
    Sudip there is another aspect which I would like to bring to your
    attention .It is that in the Control panel,when I click the server icon
    it gives me "not enough server memory to process this command".
    Also when I click the Services icon and try to start the
    OraHome81Management server it gives me "the system could not find the
    environment option that was entered" and is unable to start and with
    the OraHome81TNSListener it gives me "the process terminated
    unexpectedly " error and is unable to start either.
    Now I wonder where the problem could lie !.Could it be with the OS
    --WinNt and if so what could be the way to rectify it.Please help if
    you can or alternatively if you know about any other forum where this
    problem can be addressed..Thanks again..REGARDS
    Sumit

  • Oracle 9i database connection

    hi
    when I coonect to database in Java, I got error message:
    connection failedIo exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    Cheers, Helen

    ERR=12505 resolves to an Oracle error:
    TNS-12505 TNS:listener could not resolve SID given in connect descriptor
    Cause: The SID in CONNECT_DATA was not found in the listener's tables.
    Action: Check to make sure that the SID specified is correct. The SIDs that are currently registered with the listener can be obtained by typing "LSNRCTL SERVICES listener_name". These SIDs correspond to SID_NAMEs in TNSNAMES.ORA, or DB_NAMES in the INIT.ORA file.

  • Oracle 7 Database connection : driver ?

    I used classes12.zip for connection to Oracle 8.
    But this doesn't work for oracle 7.
    Error
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:210)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    Is this a driver problem ?
    What is that i need to do for connectioning to Oracle 7 server at remotely.

    Error
    java.sql.SQLException: Io exception: The Network
    Adapter could not establish the connection
    Is this a driver problem ?It does not appear like a driver problem.
    It could be:
    a. A network problem
    b. A configuration problem (something to do with TNSNAMES.ORA)
    c. An incorrect hostname or port being used in your code (which you have not posted)
    d. Something that I am not aware of.
    Are you able to connect to the instance using SQL-Plus?
    Message was edited by:
    aniseed

  • Clustering using Oracle ADF - CHECK_STATE_SERIALIZATION=all

    We are using Oracle ADF 11.1.1.6. We have started testing our Oracle ADF application for the cluster compatibility and used following document. We have coded all recommendations given in the document including enabling all applicable java classes to serialization and also setup adf_config.xml <adfc:adf-scope-ha-support>true</adfc:adf-scope-ha-support> and <adf:adf-scope-ha-support>true</adf:adf-scope-ha-support> exactly as per given in the document.
    http://docs.oracle.com/cd/E12839_01/core.1111/e10106/adf.htm
    Now, to check High Availability on a standalone web logic server for debugging purpose we configured Java Option "-Dorg.apache.myfaces.trinidad.CHECK_STATE_SERIALIZATION=all" as per the recommendation.
    After setting this flag system started throwing bunch of errors similar to the error given below.
    [2012-07-26T14:17:43.602-04:00] [OPERA_ADF1] [ERROR] [] [org.apache.myfaces.trinidadinternal.config.CheckSerializationConfigurator$MutatedBeanChecker] [tid: [ACTIVE].ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: edozer] [ecid: 64915ee7c1860d85:40a983d1:138bf4550b2:-7ffd-0000000000005fcb,0] [APP: OperaApplications_o90_smoke#V9.0.0] Failover error: Serialization of Session attribute:data has changed from oracle.adf.model.servlet.HttpBindingContext@365f8709 to oracle.adf.model.servlet.HttpBindingContext@36b6565b without the attribute being dirtied
    The question is what are we missing here?
    Please note that our application is still missing ControllerContext.getInstance().markScopeDirty(pageFlowScope); but when I tried to create a sample application and deliberately left the "markScopeDirty" using below code the above mentioned error was not reproduceable.
    public class myBackingBean
         public void changeValueButton( ActionEvent ae )
         Map<String, Object> pageFlowScope = AdfFacesContext.getCurrentInstance().getPageFlowScope();
              pageFlowTestBean obj = ( pageFlowTestBean )pageFlowScope.get( "pageFlowTestBean" );
              System.out.println( "Old Value " + obj.getYVar() );
              obj.setYVar( "New Value" );
              /* ControllerContext.getInstance().markScopeDirty(pageFlowScope); */
    Can anyone shade more light on it?
    Also, I would like to know that can someone guide me what is the best practice to perform ControllerContext.getInstance().markScopeDirty(pageFlowScope);. Because developers can easily miss this statement and I didn't find any easyway to search the code that is missing this statement (I have already tried Jdeveloper's Audit feature and it works for very few cases).

    We checked the ADF source (pasted below). It reads that markScopeDirty is getting skipped if ADF_SCOPE_HA_SUPPORT is not configured but when we debug our application the serialization fires after every pageScope/viewScope variable gets changed regardless of markScopeDirty() is being called or not. That signifies that markScopeDirty() call is not needed. Do we really need markScopeDirty() everywhere in our application or this is just a public helper method to manually trigger replication for some exceptional case? Can anyone from team Oracle explain this behavior?
    @Override
    public void markScopeDirty(Map<String, Object> scopeMap)
    Boolean handleDirtyScopes =
    (Boolean)ControllerConfig.getProperty(ControllerProperty.ADF_SCOPE_HA_SUPPORT); //checks for adf-scope-ha-support
    if (handleDirtyScopes.booleanValue())
    if (!(scopeMap instanceof SessionBasedScopeMap))
    String msg = AdfcExceptionsArb.get(AdfcExceptionsArb.NOT_AN_ADF_SCOPE);
    throw new IllegalArgumentException(msg);
    ((SessionBasedScopeMap)scopeMap).markDirty();
    }

  • Financial Report Database Connection

    Hello Guys,
    Is there any way to change the Financial Report Database Connection for multiple reports at a time?
    Thanks in Advance.
    Raz

    Try this (I am in HFM version 9.3.1)
    1) Put all the reports you want to change in the same folder
    From the web (Explore)
    2) When you go into Tools/Change Database Connections and get to the "Select Financial Documents to Change Database Connection" highlight all the reports you want changed.
    3)Click ok and then in the next screen change the connection.

  • Steps to change universe database connection from SQL server to Oracle 10

    Hi,
    we are moving from sql server to Oracle 10.Please let me know the steps and various parameters I should consider while changing universe database connection from SQL server to Oracle 10.
    Following are the steps which I assumed :
    1.     create a new Oracle database connection or edit the existing connection to point to Oracle server
    2.     Need to check sql for each object, having integrity check for universe will solve the purpose of parsing each object
    3.     Exporting the universe after integrity check
    4.     Report data testing
    Let me know if I miss on any steps.Also what all factors I need to consider while moving to Oracle for eg: what @ custom sql,what @ table names,what @ LOV etc.
    Kindly reply

    Thanks Abhijeet and Shreyash,
    I will follow the steps you have suggested.
    Actually I was searching for this on net and got to know that with Oracle database connection,theres lot of stuff needs to take care of in terms of custom sql and LOV and in our case,we have lot of custom sql for each object in the universe so just wanted to confirm.
    I will do the changes and let you guys know in case theres any isuue specifically to Oracle.

  • Oracle ADF: Cannot Commit Database Transaction

    Hi All
    I am trying to update oracle database using Oracle ADF from command line. The following is my code snippet
      final String amName1 = "taxreturn.AM_Taxreturn";
      final String connStr = "jdbc:oracle:thin:o9ias/[email protected]:1521:t1fdbo";
      Hashtable env = new Hashtable(2);
      env.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
      env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
      ApplicationModule appMod1 = null;
    try {
       javax.naming.Context ic = new InitialContext(env);
      ApplicationModuleHome home1 = (ApplicationModuleHome)ic.lookup(amName1);
      appMod1 = home1.create();
      appMod1.getTransaction().connect(connStr);
    } catch (Exception e) {
        e.printStackTrace();
      ViewObject t1xvVO = appMod1.createViewObject("t1xvVO", "taxreturn.T1XrefVView");
      t1xvVO.setWhereClause("T1X_T1FU_USERID='" + "testlin2" + "' and T1X_T1_TAXYEAR='" + "2012" + "' and T1X_DELETED is null and T1X_INVOICE_T1_150 is null");
      t1xvVO.executeQuery();
    Row rowT1xv = null;
    int count = 0;
    while (t1xvVO.hasNext()) {
    count++;
    rowT1xv = t1xvVO.next();
    System.out.println("Number of records: " + count);
    t1xvVO.executeQuery();
    if (t1xvVO.hasNext()) {
        rowT1xv = t1xvVO.last();
        System.out.println("First Name: " + rowT1xv.getAttribute("T1FirstName"));
        System.out.println("T1xInvoiceT1150: Before: " + rowT1xv.getAttribute("T1xInvoiceT1150"));
        rowT1xv.setAttribute("T1xInvoiceT1150", "250");
        //appMod1.getTransaction().postChanges();
        System.out.println("T1xInvoiceT1150: After: " + rowT1xv.getAttribute("T1xInvoiceT1150"));
    System.out.println("Is Dirty: " + t1xvVO.getApplicationModule().getTransaction().isDirty());
    try {
        appMod1.getTransaction().commit();
        System.out.println("Commit succeeded.");
    } catch (oracle.jbo.JboException e) {
        System.out.println("Commit failed. " + e);
    I can see there are total 3 records retrieved. Then I execute query for the view object again and change the last record. But after the commit statement, the database is not update. What's wrong here? Thanks in advance
    Leaf

    Refer 6.4.9 How to Create a New Row for a View Object Instance
    http://docs.oracle.com/cd/E37975_01/web.111240/e16182/bcqueryresults.htm#sm0094
    The procedure to create an ApplicationModule and find View object is different than in the code snippet. Use the procedure in the link.

Maybe you are looking for

  • Image.getWidth(null) and image..getHeight(null)  returns -1

    Hi , Plz tell me whats wrong with code import java.awt.Image; import java.awt.Toolkit; public class ImgSize {     public static void main(String args[]) {         Image image = Toolkit.getDefaultToolkit().getImage("Picture.jpg");         double width

  • Read Only Key Figure in APO DP

    Dear Friends , Need help in the mentioned scenario : One Planning Book with two data views due to change in portfolio say regional manager and area manager . Key Figure updation of market intelligence by regional manager in his data view to be shown

  • What is the maximum number of records in a dynamic parameter list of values?

    In Crystal Reports Developer, I am attempting to add a dynamic parameter from a view.  The view has 6773 total records.  The field used for the parameter has 1819 distinct values, none of which are null. I have the parameter set to allow multiple val

  • Indicator: Goods Receipt Message

    Hi guys, in PO in label 'Delivery/Invoice' there is flag Goods Receipt Message and it seems there is the possibility that the system is to issue an appropriate message to the buyer..it is very interesting but both in this forum and on SAP OSS I have

  • IDE's

    What ide do most of you all use. Which do you like most. Im a java n00b but I like forte for java, and u can run exe's in it. And what book would you recommend for a beginner. Books that worked for you... Thanks