Problems migrating entries form OID 9.0.4.0.0 to 10.1.2.3

I have been trying to do this without much luck.
I export from the source directory into an ldif file, run bulkload -check on the ldif file and it reported some duplicate DNs. I tried to delete the duplicates but I didn't see all the duplicates reported. later i just imported as it was and it completed without creating the index which I manually create with error on some tables. After the stage, I couldn't login with orcladmin from the web site and the whole thing got corrupted because OC4J won't start again.
I have re-install whole AS server (infra +midtier) and I want to start afresh with the help of some one who is good in this area. If you can just reply with the steps you will use to migrate everything from OID from a dev to live server, I will appreciate it.
Thanks very much.

mitjas wrote:
We are migrating Oracle portal 9.0.2.3.0B on windows to 10.1.2.3 on Linux.- I thought you asked for portal upgrades.
I think upgrading portal to some version levels does not necessarily affect the AS support for forms/reports. For instance, you may be running AS 10.1.2.0.2 and yet may upgrade your portal to 10.1.4.0.0.
If you had liked to go for the latest recommended portal version by Oracle currently (10.1.4.2) you would apply the Patch Set 3 on top
of portal 10.1.4. And yet this Patch Set is applicable to Oracle instances including the Forms and Reports and the BI types for 10.1.2. See the following for reference.
AMN
Ref: from the readme.html of
Oracle® Application Server and Oracle Developer Suite
Patch Set Notes
10g Release 2 (10.1.2) Patch Set 3 (10.1.2.3.0) for Solaris Operating System (SPARC) and Microsoft Windows
This document accompanies Oracle Application Server and Oracle Developer Suite 10g Release 2 (10.1.2) Patch Set 3 (10.1.2.3.0) (OracleAS 10g Release 2 Patch Set 3). This patch set is applicable for the following releases only:
* Oracle Application Server 10g Release 2 (10.1.2.0.0)
* Oracle Application Server 10g Release 2 Standard Edition One (10.1.2.0.1)
* Oracle Application Server 10g Release 2 (10.1.2.0.2)
* Oracle Application Server Forms and Reports Services (10.1.2.0.2)
* Oracle Application Server Portal 10g Release 2 (10.1.4)
* Oracle Application Server Portal 10g Release 2 Patch Set 2 (10.1.4.1)
* Oracle Developer Suite 10g (10.1.2.0.2)
* Oracle Business Intelligence 10g Release 2 (10.1.2)
* Oracle Business Intelligence 10g Release 2 (10.1.2.0.2)
* Oracle Business Intelligence Tools 10g Release 2 (10.1.2)
* Oracle Business Intelligence Tools 10g Release 2 (10.1.2.0.2)
* Oracle Business Intelligence Tools 10g (10.1.2.0.2) that shipped as part of Oracle Developer Suite 10g Release 2 (10.1.2)
* OracleAS 10g Release 2 Patch Set 1 (10.1.2.1.0)
* OracleAS 10g Release 2 Patch Set 2 (10.1.2.2.0)

Similar Messages

  • Data entry form problem - form in query-only mode

    Hi there,
    I am trying to create an data entry form to insert recordacross 2 out of 3 tables. The last of the four tables already have details and does not need to have record inserted into.
    This is the scenario, my four tables are Factory, Employee, Works_in. Works_in resolves a many to many relationship between Factory and Employee
    Now for a person to be employed in a factory, he must be assigned to a factory.
    I have a list of factories already in the database. After choosing a factory from the database, I want to insert records to do with his Fname, Lname, Hiredate bla, bla, bla to the Employee table.
    I have a single form with Factory as the master, and 2 tabs each for Employee and Works_in.
    After linking all my tables with the ability to choose a factory first on the master form from a combo box and after inserting records into the other forms, it says form running in query-only mode.
    What do you think?
    Many thanks in advance.
    Cube60

    I think that's too much of the wrong information.
    It sounds like you have multiple forms. Are they Modal or Non-Modal?
    What code do you use to call the form that's not working?
    Does it work initially and then stop working?
    James.

  • MASTER -DETAILS ENTRY FORMS PROBLEM

    THIS IS MY TABLE, HOW I WILL MASTER -DETAILS ENTRY FORMS IN APEX.
    PLEASE HELP
    CREATE TABLE BUY_INFO_MST
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12),
    ITEM_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)
    CREATE TABLE BUY_INFO_DTL
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12) ,
    ITEM_CODE VARCHAR2(3) NOT NULL,
    ITEM_DETAILS_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    ROLL VARCHAR2(3) ,
    UNIT_CODE_M VARCHAR2(3) ,
    UNIT_CODE_I VARCHAR2(3) ,
    QUANTITY_M NUMBER(10,4) ,
    QUANTITY_I NUMBER(10,4) ,
    UNIT_PRICE NUMBER(15,4) ,
    BUY_AMOUNT NUMBER(15,4) ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO_DTL PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,ITEM_DETAILS_CODE, BUY_DATE),
    CONSTRAINT FK_BUY_INFO_DTL FOREIGN KEY(SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)REFERENCES BUY_INFO_MST
    JAHANGIR

    THIS IS MY TABLE, HOW I WILL MASTER -DETAILS ENTRY FORMS IN APEX.
    PLEASE HELP
    CREATE TABLE BUY_INFO_MST
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12),
    ITEM_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)
    CREATE TABLE BUY_INFO_DTL
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12) ,
    ITEM_CODE VARCHAR2(3) NOT NULL,
    ITEM_DETAILS_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    ROLL VARCHAR2(3) ,
    UNIT_CODE_M VARCHAR2(3) ,
    UNIT_CODE_I VARCHAR2(3) ,
    QUANTITY_M NUMBER(10,4) ,
    QUANTITY_I NUMBER(10,4) ,
    UNIT_PRICE NUMBER(15,4) ,
    BUY_AMOUNT NUMBER(15,4) ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO_DTL PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,ITEM_DETAILS_CODE, BUY_DATE),
    CONSTRAINT FK_BUY_INFO_DTL FOREIGN KEY(SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)REFERENCES BUY_INFO_MST
    JAHANGIR

  • Hotkey (Ctrl+B) is not working after migration from Forms 6i to 10g

    Dear Gurus,
    Need your help regarding the following problem:
    After migrating from Forms 6i to 10g (Rel 2), Ctrl+B (used to list the blocks in a form) hotkey is not working anymore (all other hotkeys are working fine). I've checked my FMRWEB.RES and it contains an entry for Ctrl+B:
    66 : 2 : "Ctrl+B" : 70 : "Block Menu"
    Additional Information:
    OS: AIX
    NLS_LANG = UTF8
    fmrweb_utf8.res also contains the same text for Ctrl+B as above.
    I tried to reproduce it on my Windows Machine (with NLS_LANG set to AMERICAN_AMERICA.WE8ISO8859P1) and its not working as well. I don't have right to put move files on AIX server but i can try anything (on my local system) suggested by the Oracle gurus.
    Best Regards,

    Dear Gerd,
    "are you sure, that it is the hotkey"
    Yes, i am dead sure. Since:
    (1) It was working fine in forms 6i
    (2) If you run a form and select Help => Keys, you will see Ctrl+B on the top of list
    The problem is its not taking into account the keys which i am defining in the file (although i am following the same procedure detailed on metalink.oracle.com).
    Regards

  • Help: Problem migrating to 9052 or 1012

    Hello You Experts,
    I have a BC4J/JSP application originally developed in Jdev 902. It has been in production for a while already, and has been migrated all way through 9034 and 9041 (build 1436). This is a relatively simple application, only BC4J is involved, no Stunts, no UIX or anything else. It works pretty well so far. However, I am having problem migrating it into 10g now. I got the same error (see below) with either Jdev 9052 (build 1618) or 1012 (build 1811). It opens (migrated by the Wizard), and compiles without any error. It actually runs and I have got to the login page. And then it’s throws an NoSuchMethodError exception upon login. My application supports dynamic credentials. The debug output indicates that it could not get the internal connection, though the user connection was successful. Any ideals for this error are greatly appreciated. Thank you very much in advance.
    Following is the stack trace:
    Message: void oracle.jbo.html.DataSourceImpl.(java.lang.String)
    java.lang.NoSuchMethodError: void oracle.jbo.html.DataSourceImpl.(java.lang.String)
         at oracle.jbo.html.jsp.datatags.Utils.createDataSource(Utils.java:185)
         at oracle.jbo.html.jsp.datatags.DataSourceTag.doStartTag(DataSourceTag.java:86)
         at Login.jspService(Login.jsp:61)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
    And following is the debug output (excepted to conserve apace):
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config>
    C:\Jdev1012\jdk\bin\javaw.exe -ojvm -XXdebug,quiet,port3096 -classpath C:\Jdev1012\j2ee\home\oc4j.jar;C:\Jdev1012\jdev\lib\jdev-oc4j.jar -Djbo.debugoutput=console -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\Jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Debugger connected to local process.
    05/01/31 16:52:18 Auto-deploying file:/C:/Jdev1012/jdev/mywork/LtcopWebApp/jspClients/public_html/ (New server version detected)...
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 5218 ms.
    Target URL -- http://204.156.227.22:8988/ltcop/index.html
    05/01/31 16:52:19 Oracle Application Server Containers for J2EE 10g (10.1.2.0.0) initialized
    05/01/31 16:52:31 Diagnostics: (BC4J Bootstrap) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    05/01/31 16:52:31 [00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    05/01/31 16:52:31 [01] BC4J Property jbo.maxpoolcookieage='-1' -->(Configuration) from System Default
    05/01/31 16:52:31 [02] Loading 5.0 IDE classes
    05/01/31 16:52:31 [03] Creating a new pool resource
    05/01/31 16:52:31 [04] BC4JDeployPlatform: LOCAL
    05/01/31 16:52:31 [05] Propertymanager: searching for file and system based properties
    05/01/31 16:52:31 [06] {{ begin Loading BC4J properties
    …….. Cut away to conserve space …….
    05/01/31 16:52:32 [135] }} finished loading BC4J properties
    05/01/31 16:52:32 [136] -----------------------------------------------------------
    05/01/31 16:52:32 Diagnostics: (Properties (re)loaded) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    05/01/31 16:52:32 [137] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    05/01/31 16:52:32 [138] JavaVMVersion: 10.1.2.1162 dop5
    05/01/31 16:52:32 [139] JavaVMVendor: Oracle Corp.
    05/01/31 16:52:32 [140] JavaVMName: OJVM Client VM
    05/01/31 16:52:32 [141] OperatingSystemName: Windows 2000
    05/01/31 16:52:32 [142] OperatingSystemVersion: 5.0
    05/01/31 16:52:32 [143] OperatingSystemUsername: Duz
    05/01/31 16:52:32 [144] jbo.323.compatible Flag: false, str: false
    05/01/31 16:52:32 [145] jbo.903.compatible Flag: false, str: false
    05/01/31 16:52:32 [146] Loading from bc4j.jpx file
    05/01/31 16:52:32 [147] Loading from individual XML files
    …….. Cut off lots of “Loading from …… Xxx.xml file” entries to conserve space …….
    05/01/31 16:52:36 [248] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
    05/01/31 16:52:36 [249] mPCollUsePMgr is false
    05/01/31 16:52:36 [250] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
    05/01/31 16:52:36 [251] ViewObjectImpl.mDefaultMaxActiveNodes is 30
    05/01/31 16:52:36 [252] DBTransactionImpl Max Cursors is 50
    05/01/31 16:52:36 [253] Created root application module: 'componentsPkg.LtcopAppModule'
    05/01/31 16:52:36 [254] Locale is: 'en_US'
    05/01/31 16:52:36 [255] DefaultConnectionStrategy is establishing an application module connection
    05/01/31 16:52:36 [256] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    05/01/31 16:52:36 [257] Creating a new pool resource
    05/01/31 16:52:36 [258] Trying connection/2: url='jdbc:oracle:thin:@204.156.200.100:1521:DB20' info='{user=ltc_test_co1, password=ltcco1, oracle.net.encryption_types_client=( DES40C ), oracle.net.encryption_client=REQUIRED, oracle.net.crypto_checksum_client=REQUIRED, oracle.net.crypto_checksum_types_client=( MD5 )}' ...
    05/01/31 16:52:36 [259] Successfully logged in
    05/01/31 16:52:36 [260] JDBCDriverVersion: 10.1.0.3.0
    05/01/31 16:52:36 [261] DatabaseProductName: Oracle
    05/01/31 16:52:36 [262] DatabaseProductVersion: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production With the Partitioning, Oracle Label Security, OLAP and Oracle Data Mining options JServer Release 9.2.0.6.0 - Production
    05/01/31 16:52:36 [263] **PCollManager.resolveName** tabName=PS_TXN
    05/01/31 16:52:36 [264] Getting a connection for internal use...
    05/01/31 16:52:36 [265] Creating internal connection...
    05/01/31 16:52:36 [266] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    05/01/31 16:52:36 [267] Creating a new pool resource
    05/01/31 16:52:36 [268] Trying connection/1: url='jdbc:oracle:thin:ltcop/[email protected]:1521:db20'...

    Hi Vishal,
    Hello,
    Unfortunately WLS 6.1 is not supported on Solaris 10. Also as of Nov 14, 2005 WLS 6.1 entered the mature phase and will be no longer supported by BEA.
    http://e-docs.bea.com/wls/certifications/certs_610/overview.html
    Do let me know if you need any assistance in upgrading
    Cheers
    Raj

  • Strange Problem in Oracle Forms.

    Hello,
    I have a strange problem of a form not opening in the migrated App Server but is working fine in the existing server.
    The problem is that we have now migrated to App Server 10.1.2.3.0 (patch applied to 10gR2 App Server installation) from 9.2.0.4.
    The issue is that the same form works perfectly fine in 9.2.0.4 but doesnt open up in the 10.1.2.3.0 server itself !
    The form is called using "new_form" procedure.
    I even cross checked by giving other form names; they work fine. But this set of forms (for which problem occurs) only doesnt open up.
    All the forms are compiled against 10.1.2.3 Compiler; All point to the same OLB and all of them have a common menu bar.
    Peculiar thing is WEBUTIL is working for all forms. Version is 1.0.6. No problems in WebUtil.
    Please help me making this sole out as we need to migrate this ASAP.
    Requesting one and all.
    Thanks.

    Solved it out..
    It was an error in frmwebutil.jar installation.
    Below is the link from Metalink:
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=421930.1
    Cheers !

  • How to populate new record on data entry form based on search results?

    Hello,
    I'm new to jdeveloper im using version 11.1.2.1.0.
    Usually Im using forms 10g.
    I created search panel with table and its working but problem is how to transfer/populate all the field value according to that search result to New data Entry Form
    by clicking the table record or a button.
    Given :
    TABLES,EO
    1. PatientMasterIndex
    2. PatientTransactionMaster <<---- master
    3. PatientTransactionDetail <<-- detail relation
    Here the scenario,
    After Search of any patient, when i clicked one or more patient (which Jdeveloper allow multi select on jtable) on the table record it should automatically transfer or copied to the text field, i want to show on the form of PatientTransactionMaster like PatientNumber,PatientInsuranceNumber etc. to be save on db as new record, also non database field for view only like patient Name,address,age.
    IN forms i can do that by :PatientTransactionMaster.PatientNumber := :blocksearch.PatientSearchNumber ,etc.....
    or an item trigger to populate the said PatientTransactionMaster block. ( select .... into :PatientTransactionMaster.PatientNumber,etc....)
    Any suggestion,links,sample is highly appreciated.
    Sorry for my english.
    Thank you very much

    Hi,
    Do you want to create a detail record that will include some values from your master record??
    Or do you want to create a record with values from your Search criteria, only in the case you do not have any results?
    if it is the second case.
    When do you want to do that? After a press of button? or immediately?
    In general you have to handle the values from search criteria.
    Additionally, if you use ViewCriteria, you have to have bind variables for your search criteria that you will want to use.
    So in general, you have to know the values by using bind variables, understand that the query has no results (This can be done in many ways, depending on your implementation. if you are using a button, you could make a disable condition with iterator.estimatedRowCount property.)
    Perform the insert operation with the values from the bind variables.
    Regards,
    Dimitris.

  • How to Save State on an Entry Form prior to Submitting the Form?

    I want to be able to save the values the user enters to fields on the entry form if they navigate away from the page and come back (without the user clicking the submit button for the form.) For example, one of the input fields has a goLink to go to another page to lookup a field value - when the user returns from the page, all other form field values are cleared. If the user does submit the form by clicking the command button, then all form field values are saved (if the user navigates from the page and comes back, all values are retained.) What I'm trying to do then is somehow save the values (passivate the state) for the field the user has filled in when the user navigates from the page without submitting the form. Any suggestions?
    I am using a read-only View Object with all transient values. The VO is configured to passivate state including all transient values. The initial row is created programmatically; there will only be one row for the VO used as an entry form. I am not using a backing bean for the values and would prefer not to use one, but would rather use the VO's capability to passivate state to save the data values. The question then seems to be how to force the VO to passivate state prior to the form being submitted.
    thanks
    Message was edited by:
    javaX

    "My hunch is that the real problem is that the fields are not being set into the bindings due to the use of immediate="true"."
    Yes. Now I see that is the real problem. Is there anyway to force setting the bindings from the input form field values if the user navigates from the page using a goLink, or commandButton with immediate="true" other than overriding the default FacesPageLifecycle classes?
    I'd prefer not to have to do that unless necessary, and, if I over-ride that method, then how could I get it to work normally when the user presses the commandButton at the end of the form and I do want all validation checks to be performed (immediate=false for the form's submit button; immediate=true only for lookup commandButtons used for certain fields)?
    Here's an overview of how I set the page up:
    1. create transient view object; all attributes marked as always updateable; passivate state=true for VO and all transient values; no key id field selected (will only ever be one row - just using VO to save values that will eventually be used to do an insert to the database);
    2. transient VO added to Application Module
    3. Add data control to .jspx page as an ADF Form (not an ADF Creation Form)
    4. Add code to AM to create the initial row for the input form
    protected void prepareSession(Session session) {
    super.prepareSession(session);
    insertTransientViewObjRows();
    private void insertTransientViewObjRows() {
    ViewObject transientvo = getViewObj1();
    transientvo.clearCache();
    transientvo.insertRow(transientvo.createRow());
    --- Entry Form .jspx pagedef.xml snippet ---
    <executables>
    <iterator id="MyIterator" RangeSize="10" Binds="MyView"
    DataControl="AMDataControl"/>
    </executables>
    <bindings>
    <attributeValues id="sponsorid" IterBinding="MyIterator">
    <AttrNames>
    <Item Value="sponsorid"/>
    </AttrNames>
    </attributeValues>
    --- Entry Form .jspx page snippet ---
    <h:form>
    <af:panelForm>
    <af:panelLabelAndMessage label="#{bindings.sponsorid.label}">
    <af:panelGroup layout="horizontal">
    <af:inputText value="#{bindings.sponsorid.inputValue}"/>
    // state will not be saved for other form field values if use immediate="true" when temporarily navigate away from page and return; don't want to validate other form fields here
    <af:commandButton text="Lookup Details"
    action="lookup-page" immediate="true"/>
    </af:panelGroup>
    </af:panelLabelAndMessage>....
    // state will be saved with immediate="false" when user submit forms at end of entry (need to perform validation of form's required fields here)
    <af:commandButton text="Continue to Next Step" immediate="false"
    action="nextpage"/>
    Message was edited by:
    javaX

  • Primary key issue with adf Entry Form.

    Hi All,
    i'm using jdev version 11.1.1.5.0
    use case: i have create simple entry form based on Eo and Vo using database table like student(enrollment no,name address)
    where enrollment no is primary key.
    so when i have create a record i have set enrollment no in entity impl class of this eo create method using some logic based on my need like(20130001)
    for that i have read highest no from database field and assign to enrollment no field when user create record.
    so when user create record second time then enrollment no is 20130002. and other detail like name and address user fill and commit record. and it is fine.
    but problem is that when two user access same form at a time and create record so both have get same primary key like 20130003 because in current time in database maximum value is 20130002.
    so which user  commit record first it record will save on database and second user get error message because of primary key violation.
    so my question is that where we generate primary key value for record so when multiple user access form have get different primary key value. and in my use case i can't use sequence and any autoincrement no
    because i have patter for primary key.
    Thanks in Advance
    Manish

    Hi,
    Dimitar and Frank
    thank for reply.
    How can i apply non-concurrent DB lock can you please explain.(because lock method on entity impl not work when user create new row as per documentation)
    http://docs.oracle.com/cd/B14099_19/web.1012/b14022/oracle/jbo/server/EntityImpl.html#lock__
    i have write following line of code in entity impl class to set primary key value(reqid)-
        @Override
        protected void prepareForDML(int i, TransactionEvent transactionEvent) {
             super.prepareForDML(i, transactionEvent);
            this.setReqid(genReqid());
        public String genReqid() {
            String reqby = this.getReqby();
            String qry =
                "SELECT nvl(MAX(TO_NUMBER(SUBSTR(REQID,7))),0)+1  FROM STM_REQHDR WHERE REQBY=? AND REQTYPE<>'M' and substr(reqid,1,2)<>'MT' AND SUBSTR(REQID,1,3)<>'PAY'";
            PreparedStatement ps = null;
            String no = "";
            try {
                ps = getDBTransaction().createPreparedStatement(qry, 0);
                ps.setString(1, reqby);
                ResultSet rs = ps.executeQuery();
                if (rs.next()) {
                    no = rs.getString(1);
                ps.close();
            } catch (Exception e) {
                System.out.println("Exception in Gen req id ==>" + e);
            String reqno = reqby + String.format("%6s", no).replace(' ', '0');
            return reqno;
    but when i run form in debug mode and two user commit concurrent manner only one time code block is executed who first commit. and second user got error message.
    thanks
    Manish

  • What can be considered as the business logic of simple data entry form

    Hi all,
    I want to separate my applications logic into layers. It is a simple data entry form and doesn't contain any complex business logic. So I want to get this simple business logic to different layer. But the problem is, I cannot clearly identify what are business logic of this kind of simple data entry form.
    How do I separate business logic of this simple data entry form to another layer?
    any help is appreciated,
    Thanks in advance,
    Dil.

    dcminter wrote:
    It is a [form] and doesn't contain any complex business logic. So I want to get this simple business logic to different layer. But the problem is, I cannot clearly identify what are business logic of this kind of [form].Are you asking which bits are business logic?
    Suppose that the data comes into your system immaculate from some external system. Imagine that it will go out into some other system. The bits that you would still have to write are your business logic.That's a nice practical definition. Thank you, I'm stealing it.
    Also interesting to note that validation falls into that category... say you're recieving data from a magical external source... you still have to validate it.
    And of course you'd still have to store it somewhere, ans retrieve it.
    Yep, I definately like that definition.
    Cheers. Keith.

  • Run a report in Forms 9i after migration from Forms 6i

    Hi,
    I face the following problem:
    We do have to migrate from Forms 6i to 9i. In our "old" application, reports where called by using RUN_PRODUCT (in different forms and menues). But to start a report in 9i environment, RUN_REPORT_OBJECT must be used. Does the report has to be an object in the calling form or is it possble to start it as we used to directly from the file system ?
    Regards,
    Markus

    hi
    you need to create a report object in the object navigator.
    and follow these
         declare
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    pl_id paramlist;
    d date;
         BEGIN
              /* for passing parameters
              PL_ID:=GET_PARAMETER_LIST('P1');
              IF(ID_NULL(PL_ID)) THEN
                   PL_ID:=CREATE_PARAMETER_LIST('P1');
              ELSE
                   DESTROY_PARAMETER_LIST('p1');
                   PL_ID:=CREATE_PARAMETER_LIST('P1');
              end if;
              select to_char(max(start_date),'dd-mon-yyyy') into d from work_schedule_detail;
         add_parameter(pl_id,'MACHINE',text_parameter,'C');
    --     add_parameter(pl_id,'S245',text_parameter,'HI FROM FORM');
    repid := find_report_object(:report_list);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_devserver');
    --SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=yes');
    use only if u r using reports parameter form
    need some coding in reports before parameter form trigger
    IF(:report_list NOT IN ('monthly_exp')) THEN
    --     SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'MACHINE=C');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,
    'paramform=yes P_USER_CONNECT=PAYROLL/PAYROLL@PINNACLE
    P_SERVER_NAME=rep_devserver P_ACTION=http://devserver:7778/reports/rwservlet?');
              v_rep := RUN_REPORT_OBJECT(repid);
    else
    for reports with out any parameters
    v_rep := RUN_REPORT_OBJECT(repid);
    end if;
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://devserver:7778/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_devserver','_blank');
    ELSE
    message('Error when running report');
    END IF;
    END;

  • Data entry form to submit to a web Service using webcenter

    Currently using Jdev 11.1.1.3, but have potential to upgrade to 11.1.1.4 or 5
    Most examples I see in the docs is using web services in webcenter is to display data but I need to pass data to a web service to process the data.
    Considering ways to show on a webcenter page a data entry form to send the entered data to a web service. Potential ways:
    1. Use Omniportlet that is based on a web service and define for each of the fields a parameter mapped to a displayed field. Submit the data to the web service to be processed.
    2. Use ADF syntax to create a web service proxy. Create a form with the needed fields, code a managed bean that uses the proxy code to submit the entered data in the form. Place the form on the webCenter page, but the webcenter already have a <af:form>, so a partialSubmit and autoSubmit set to "true" might be needed.
    Haven't used either and would greatly appreciate ideas and suggestions.
    Thanks

    With the omniportlet, you'll also have to test the form and so on :)
    My suggestion is indead an extra step but it is more flexible than just creation a DC from a WSDL. I already have done some implementation in Webcenter for web services and i started by just using the DC from a WSDL but soon i noticed that i needed more flexibility. That's why i suggest to create a proxy and create your own layer in front of it. This way you can easily control what you expose to your DC and do some initializations were needed. It offers a great deal of flexibility. That's why i suggest using the proxy + dc instead of wsdl + dc.
    When you should decide for migrating to Webcenter PS3, you can even expose datacontrols to your resource catalog. This way you can create your DC in JDeveloper and allow the business users to put the data controls on the page. a realy nice feature.

  • Hierarchical tree - Data Entry Form

    I am trying to make a data entry form for hierarchical tree. Any one help me to send a sample .fmb file.
    I created a table like
    create table master_ACTIVITY
    (INITIAL_LEVEL NUMBER (4) ,
    NODE_DEPTH NUMBER (4) ,
    NODE_LABEL VARCHAR2(160) ,
    NODE_ICON VARCHAR2(60) ,
    NODE_DATA VARCHAR2(160) ,
    NODE_PARENT VARCHAR2(160)
    1. How do i use hierarchical tree for adding and deleting item into it.
    2. In my other form i use the item from hierarchical tree. so how to get the return value of the selected item in a hierarchical tree. and which of filed in this table i need in other forms to connect to this table and get values.
    please send a sample form to [email protected]
    thank you
    saji daniel

    Andreas,
    It got worked.
    I have another problem now. I have 2000 records in my tree. when i populate it is taking time to populate.
    I want to display only parent trees ie Level 1 & 2 Items. But the Level 1 & 2 should have '+' symbol to display.
    When the user click on any items in level 2, only then the child of the selected parent should populate.
    By default all the items are displayed in collapsed mode (-1). But still it take time to populate.
    Any solution ?.

  • Creating data entry forms in numbers

    How do I create a data entry form in Numbers for Macbook Air?

    Hi Francie,
    Ever since I switched to the Mac over a decade ago, I've been puzzled by why Apple gives the keyboard interrupt such low priority. When the computer gets busy, keystrokes start to lag. Sometimes, rarely, they are even lost.
    The computer gets very busy with Flash websites. If you have several Safari Windows or Tabs running with Flash animation, the fans will start to rev up, a laptop will start to warm your legs (ok in the winter) and your keyboard will lag.
    The computer also gets busy when you are editing a large Numbers iWork '09 document. Large for Numbers '09 is not really very big compared to many Excel documents that we are used to seeing in a business setting. This is because Numbers '09 constantly recalculates the document as you type. It doesn't wait for you to finish an entry, it just gets busy recalculating. They tried to address this recalculation problem in iWork '13 (Version 3).
    In general, your spreadsheet work will go better if Numbers is the only app you have running. At least close windows, tabs and apps that you aren't using.
    One lsat thing is your Free Memory. If you are short on RAM, Restarting your computer will free-up memory by releasing allocations for apps that you may have closed earlier. This is a pain, so it's best to install as much RAM as your computer will hold.
    Jerry

  • Adding multiple entries thru OID's ldapadd command

    Look at the ldif file below, which is meant to create two entries in OID using ldapadd command.
    temp.ldif
    dn: cn=admin,dc=micam,dc=state,dc=mn,dc=us
    objectclass: orclContainer
    objectclass: top
    cn: admin
    dn: cn=Groups,dc=micam,dc=state,dc=mn,dc=us
    objectclass: orclContainer
    objectclass: top
    cn: Groups
    This works thru OID's ldapadd command, only if I keep one entry at a time. Otherwise it gives the following error.
    $ ./ldapadd -h iam.patt -p 3060 -D cn=orcladmin -f /home/kabi/software/micam/ldap/temp.ldif
    ldapadd: missing value on line 3 (attr is cn: Groups)
    What is wrong here ?

    Hi Kabi,
    The same syntax - changing only the container for the groups - works fine for me with ldapadd. Not sure what the problem could be, but do you get the same results with neutral names like "cn=test1" and "cn=test2"?
    Regards,
    Colin

Maybe you are looking for

  • Can you switch back between CS5 and CS5.5 with the same project with Premiere??

    Hey all, I just got CS5.5 for Mac (Lion) and was wondering if i am able to save a project and open it with CS5 Premiere because I work with one other editor who has CS5. I have tested saving a project in CS5.5 and opening it in CS5 but it says that i

  • "server unavailable" when trying to check for updates

    As I said in another post, my email was working better since three dl09 update was pushed out. But I now have the gps (no lock for 20+ minutes minimum) and didn't have this problem previously. I would like to try the ea28 update, but SINCE dl09 (not

  • More on PAL-NTSC

    I have been tring to convert PAL-DV to NTSC for some time now from Media 100 8.2.2 through both Compressor & JES. I have searched most of the posts here in Compressor/DVDSP & Creative Cow. My problem is that if I export from Media 100 as by-ref file

  • SQL Server 2005 Workgroup Edition compatibility for SAP B1 2005B

    Hi Experts, Please advise SQL Server 2005 Workgroup Edition can be used as the backend for SAP Business One 2005B. Thanks, Shakeel

  • Queues for RFC-Destination

    Hallo, must i assign a rfc-destination to a outbound queue? what happens when this is not done? Thanks in advance, Frank