status of the database api (PL/SQL) based adf BC?

Hello

does anyone know the status of the API database (PL/SQL) based project ADF BC?
(mentioned here: https://groups.google.com/forum/?fromgroups#! msg/adf-methodology/TiP2JXQm_Ag/zNbD7Kyf6hUJ)

The following link does not work:
https://database-API-based-ADF-BC.SampleCode.Oracle.com/

It is also not included in the sample code oracle: http://www.oracle.com/technetwork/indexes/samplecode/jdeveloper-adf-sample-522118.html

concerning
Peter

Hello

The following link does not work:
https://database-API-based-ADF-BC.SampleCode.Oracle.com/

Avrom and EMG moved the project to a server that no longer exists. I had the code example of Avrom (at least a copy) and intend to work with Chris Muir to again make it a project of the EMG. Due to my time constraints used to be until the end of the year.

The code that you can download on the blog of Avrom however works fine.

Frank

Tags: Java

Similar Questions

  • Cannot display the results to the database during "Update": SQL statement

    Hello

    I get this error trying to update a VO via the UI or BCBrowser.

    Cannot display the results to the database during "Update": SQL statement

    This is a default single front & right THAT VO creates on the object of the entity (Database Table)

    On the same table and with the same credentials of DB, I could update the record.

    Any guess on what went wrong?

    Thanks in advance for any help.

    p.s Jdev 11.1.1.6

    Journal:

    oracle.jbo.DMLException: Houston-26041: could not publish data from database in "Update": SQL statement "START the CAR UPDATED CarEO SET SEL_ITEM =: 1 WHERE TXN_NO =: 2 AND LOGID =: AND SEQNO = 3: 4 POLL DELIVERY_MODE, CERTIFICATION_REQ, SOFT_COPY_IND, SELITEM IN: 5,: 6,: 7,: 8; END; ».

    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:583)

    at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)

    at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)

    at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)

    at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)

    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)

    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)

    at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)

    at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)

    at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)

    at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)

    at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)

    to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)

    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)

    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)

    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)

    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)

    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)

    at java.awt.Component.processMouseEvent(Component.java:6289)

    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)

    at java.awt.Component.processEvent(Component.java:6054)

    at java.awt.Container.processEvent(Container.java:2041)

    at java.awt.Component.dispatchEventImpl(Component.java:4652)

    at java.awt.Container.dispatchEventImpl(Container.java:2099)

    at java.awt.Component.dispatchEvent(Component.java:4482)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)

    at java.awt.Container.dispatchEventImpl(Container.java:2085)

    at java.awt.Window.dispatchEventImpl(Window.java:2478)

    at java.awt.Component.dispatchEvent(Component.java:4482)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)

    to java.awt.EventQueue.access$ 000 (EventQueue.java:85)

    in java.awt.EventQueue$ 1.run(EventQueue.java:603)

    in java.awt.EventQueue$ 1.run(EventQueue.java:601)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)

    in java.awt.EventQueue$ 2.run(EventQueue.java:617)

    in java.awt.EventQueue$ 2.run(EventQueue.java:615)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Caused by: java.sql.SQLException: invalid column type

    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:150)

    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:399)

    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:581)

    at oracle.jdbc.driver.OracleCallableStatementWrapper.registerOutParameter(OracleCallableStatementWrapper.java:1765)

    at oracle.jbo.server.OracleSQLBuilderImpl.bindUpdateStatement(OracleSQLBuilderImpl.java:2243)

    at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10524)

    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:412)

    ... 52 more

    The problem is solved now.

    new columns added to the database table, after the creation of the entity object. Those changes were not picked up in the entity object.

    I found this difference after object entity with the DB Table comparison.

    And when I added these new columns to EO & VO, I don't get this error more.

    Thanks to all who tried to help

  • vFoglight - moving the database to another SQL Server

    Hello

    We are moving our vFoglight to a SQL Server database to another SQL (production version) server.  I changed the server/instance name in the foglight.config file to point to the new server and instance and restarted the service (and eventually rebooted as well).  However, vFoglight no longer works.  Is there another step necessary to make it work?

    Any help would be appreciated.

    See you soon,.

    Mark

    Hello Mark,

    We have to examine FMS log and SQL server log to see what error is to jump, but as a quick check you can check that the server authentication is set to SQL Server and Windows authentication mode in the security settings of your instance of SQL Server.

    Concerning

  • error in creating a shell script to the status of the database

    Hello

    I'm working on a script that made the extraction of information from the database server and gives output on the instance state.

    but I'm stuck. I get an error that I can't sort out.

    Here is the script

    {code}

    ORATAB = / var/opt/oracle/oratab

    echo "'date" ".

    echo "status of databases Oracle"hostname": \n".

    "DB ='egrep-i ': Y | ': N ' $ORATAB | "cut d": "-f1 | grep - v "-#" | "grep - v ' \ *"

    PsList = "'ps - ef |" "grep pmon'."

    for I in $db; do

    echo "$pslist" | grep ' ora_pmon_$ I "> / dev/null 2 > $ 1

    if (( $? )); then

    echo "Instance Oracle - $i: down.

    on the other

    echo "Instance Oracle - $i: upward.

    FI

    fact

    {/ code}

    and here is the result

    Oracle@mdcxuatdb05:~$ sh checkdb.sh

    Tuesday, September 1, 2015 18:13:45 IST

    Mdcxuatdb05 status of Oracle databases:

    CHECKDB.sh [7]: cannot open

    Oracle instance - egrep: down

    CHECKDB.sh [7]: cannot open

    Oracle instance - i: down

    CHECKDB.sh [7]: cannot open

    Oracle instance - ': Y |: N ': down

    CHECKDB.sh [7]: cannot open

    Oracle instance - $ORATAB: down

    CHECKDB.sh [7]: cannot open

    Oracle instance | : down

    CHECKDB.sh [7]: cannot open

    Oracle instance - cut: down

    CHECKDB.sh [7]: cannot open

    "" Oracle instance - d ': ': down

    CHECKDB.sh [7]: cannot open

    Oracle instance - f1: down

    CHECKDB.sh [7]: cannot open

    Oracle instance | : down

    CHECKDB.sh [7]: cannot open

    Oracle instance - grep: down

    CHECKDB.sh [7]: cannot open

    Oracle instance - v: down

    CHECKDB.sh [7]: cannot open

    Oracle instance - "-#": down

    CHECKDB.sh [7]: cannot open

    Oracle instance | : down

    CHECKDB.sh [7]: cannot open

    Oracle instance - grep: down

    CHECKDB.sh [7]: cannot open

    Oracle instance - v: down

    CHECKDB.sh [7]: cannot open

    Oracle instance - '-* ': down

    can someone help me please in this matter.

    I am running this script in solaris.

    echo "$pslist" | grep ' ora_pmon_$ I "> / dev/null 2 >$ 1

    change the line above to

    echo $pslist | grep ' ora_pmon_$ I ">/dev/null 2 > & 1... updated the last of them, I just kept 1 to test

  • Inserting a new record in the database using a form empty ADF

    Hello

    I'm trying to insert a new record into the database using a form.

    I have an Employee table and its corresponding entity object and the view object. The table has an id that is used as the primary key and is filled using a sequence in the comic book.

    Data controls, I dragged and dropped at the sight of the employee as a form of ADF and checked the submit button include. Then I dragged and dropped the validation on submit button operation.

    When I connect to the app and go to the page used to create, I have 2 problems:
    1 - the form is filled with the logged in user info.
    2. If I try to change the news and validation, the user info is changed in the database and no new record is created.

    It makes a little sense to me, but I would like to know if there is a way around it (get an empty form and insert a new record).
    NB: the employee id is not part of the form, I want to be filled using the sequence.

    Kind regards
    MB

    User, please tell us your jdev version!

    To do this, you must create a new record before going to the display of the form page. In a stubborn workflow (btf), you drag the operation createInsert of the VO on the btf and it will generate a link method, add a view to the btf and put a navigation of the binding of the method of the page. Mark the method as 'Activity by default'. Now, ren, you call the workflow, you create a new record that will show your blank form.

    Timo

  • Problem with the current SNA on the database pending...

    Hello;

    A day ago I went on our main database on the eve of database, everything went well. But today when I checked current SNA for the two database, I saw that the two were different. and current SNA did not change on the standby database. What can cause this problem?

    some exits here when I tried to find the problem...

    on the primary database.

    SQL> select thread#, max(sequence#) from v$archived_log group by thread#;       
       THREAD# MAX(SEQUENCE#)
    ---------- --------------
             1            156 
    on the database pending;
    SQL> select thread#, max(sequence#) from v$archived_log  where applied='YES' group by thread#;
    
       THREAD# MAX(SEQUENCE#)
    ---------- --------------
             1            156 
    standby mode
    SQL> select LAST_CHANGE#, STATUS from V$STANDBY_LOG;
    
    LAST_CHANGE# STATUS
    ------------ ----------
         2927636 ACTIVE
               0 UNASSIGNED
               0 UNASSIGNED
               0 UNASSIGNED 
    standby mode
    SQL> select current_scn from v$database;
    
    CURRENT_SCN
    -----------
        2916773 
    on primary
    SQL> select current_scn from v$database;
    
    CURRENT_SCN
    -----------
        2927809
    Published by: Ecimen on 01:36 18.Eki.2012

    Published by: Ecimen on 01:47 18.Eki.2012

    SQL > change database recovery managed standby database disconnect from the session.

    modify the recovery of database managed standby database disconnect from the session
    *
    ERROR on line 1:
    ORA-01153: an incompatible media recovery is active
    >

    Most likely you had missed the log files from the backup site. You can check in question "select max(SEQUENCE#) from v$ loghist. Most likely old log files has not yet delivered to the main site backup site. Another simple method that you can do is stop tio watch db, and then start it as a mode of editing if you have 11 GR 2 db which should be enough. Oracle will automatically synchronized between primary and standby for you. If you can't wait, you can start the editing for db in waiting mode, then run the command "recover the database sleep until cancel;

  • name of the table in the EM repository to return the State of the database

    Hi, I would like to know the name of the table in MS repository on which I can query for the status of the database. I've tired to search in the target of $ mgmt and did not find the status of the db

    Please take a look at the AVAILABILITY_CURRENT view of $ MGMT.

    http://docs.Oracle.com/CD/E24628_01/doc.121/e57277/ch19_monview.htm#EMVWS12346

    Kind regards

    -Loc

  • migrate from vcenter 5.5 express database to ms sql 2012

    Hello

    recently, we deployed 5.5 vcenter using sql 2008 express (one of the installation options for vcenter 5.5).

    customer request to migrate the database to ms sql 2012, which is located on a remote server to vcenter.

    could someone share with me the procedures how to proceed?

    We tried the DB and restore on sql 2012. But what I do not know how to initialize the connection between vcenter and new DB.

    any help is appreciated. Thank you.

    Merry Christmas!

    Below is the KB Article for 2008, but the measures would remain the same.

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=1028601

  • Workflow of vCO of query using the REST API in PowerShell

    Hello

    I am interrogating a workflow vCO by name using the REST API of PowerShell based on this article:

    http://www.vcoteam.info/articles/learn-VCO/268-how-to-use-the-rest-API-to-start-a-workflow.html

    $username = "XXXXXX".

    $upassword = "XXXXXX".

    $auth = $username + ':' + $upassword

    $Encoded = [System.Text.Encoding]: UTF8. GetBytes ($auth)

    $EncodedPassword = [System.Convert]: ToBase64String ($Encoded)

    $headers = @{' authorization '=' basic $($EncodedPassword) ' ;}}

    $body = "<-xmlns = execution context" ". ' http://www.VMware.com/VCO ' > < / execution context > '

    #query for workflow named "donothing".

    Invoke-RestMethod-uri https://XXXX:8281/api/flow /? conditions = name = donothing -Headers $headers - body $body - ContentType "application/xml" - Get method

    Invoke RestMethod: failed to send a content-body with this type of verb.

    On line: 1 char: 1

    + Call-RestMethod-uri https://XXXX:8281/api/flow /? conditions = name = donoth ...

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo: NotSpecified: (:)) [invoking-RestMethod], ProtocolViolationException)

    + FullyQualifiedErrorId: System.Net.ProtocolViolationException, Microsoft.PowerShell.Commands.InvokeRestMethodCommand

    The request succeeds by using the customer REMAINS on Firefox, but I can't make it work on PowerShell. (NOTE: PowerShell workflow execution works very well)

    Any help is appreciated.

    Thank you

    Juan.

    OK, I managed to do work by removing

    [System.Net.ServicePointManager]: ServerCertificateValidationCallback = {$true}

    And add this at the beginning of the script

    "Add-type @ '.

    using System.Net;

    using System.Security.Cryptography.X509Certificates;

    public class TrustAllCertsPolicy: {ICertificatePolicy

    public bool CheckValidationResult)

    ServicePoint srvPoint, X509Certificate certificate,

    WebRequest request, int certificateProblem) {}

    Returns true;

    }

    }

    "@

    [System.Net.ServicePointManager]: CertificatePolicy = New-Object TrustAllCertsPolicy

    Now I can use the GET method:

    $ret = Invoke-WebRequest - uri $URL - Headers $headers - ContentType "application/xml" - Get method

    I spent to Invoke-WebRequest so I can get the return of application Web.

    Juan.

  • How to make a backup of the database with RMAN Oracle Single Instance

    People,

    Hello. I use the server of Oracle 11 GR 1 material with operating system Oracle Linux 5.10 database.

    I understand how to back up the database instance in SQL Server with Windows. But do not really understand how to back up the database instance in Oracle on Linux.
    I did it cold and hot backup for the database HRCS90 instance, but both receive the same error message.


    Cold backup is below:

    SQL > startup
    ORACLE instance started.

    Total System Global Area 538677248 bytes
    Bytes of size 2146024 fixed
    528482584 variable size bytes
    4194304 buffers of data bytes
    Redo buffers 3854336 bytes
    Mounted database.
    Open database.


    SQL > shutdown immediate
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.


    RMAN > backup database;

    From backup 25 November 13
    using the control file of the target instead of recovery catalog database
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to the 25/11/2013 14:26:52
    RMAN-06171: not connected to the target database


    RMAN > backup HRCS90

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, as, backup backupset, blocks, channel, check, copy, copies, controlfilecopy, cumulative, current, basic data, datafile, datafilecopy, device, diskratio, db_recovery_file_dest, db_file_name_convert, duration, filesperset, for, format, from, full, strength, file, incremental, keep, (, maxsetsize nochecksum, noexclude, nokeep, not, proxy, pool, re-use, recovery, section, skip). ', spfile, skip readonly, setsize, tablespace, tag to validate.
    RMAN-01008: the identifier of the AfDB was: HRCS90
    RMAN-01007: line 1 column 8 file: entry standard


    RMAN > backup database HRCS90

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, backupset channel, copy, controlfilecopy, backup, common, base data, data file, datafilecopy, remove, diskratio, db_recovery_file_dest, filesperset, format, force, file, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, more reuse, recovery, section, skip, spfile, pass readonly, setsize, tablespace, tag, to).
    RMAN-01008: the identifier of the AfDB was: HRCS90
    RMAN-01007: line 1 column 17 file: entry standard

    While the instance of database HRCS90 is starting, I do hot backup by using the same commands and get the same error message with above cold backup.

    My question is:

    Can any folk tell me specific steps (order by order) to back up a single instance of the database in Oracle with RMAN?


    Thank you.

    Yes, you can restore and recover the backup, but not at the moment. You will only be able to restore and recover at the time of your backup.

    For example.

    If you take backup (mount point with no mode of journal archive) at 06:00 and your grave database crashes at 21:00, you will be able to restore and recover until 06:00. You will find all the changes made to the database between 06:00 and 21:00.

    If you want your database to recover until 9 PM or until a point in time, then you must put your database in log mode archive, and then save the archives.

  • index created in the database

    Hello

    the FSCM 91, on Win 2008, 8.52 tools, Oracle 11g DB.

    If an index is created, not in the designer application (but in SQLPLUS for example) it would be PeopleSoft when navigation or execution of a batch by the process scheduler?

    In other words the PeoplSoft indices must absolutely be created in application designer?

    Thank you and best regards.

    AFAIK PeopleSoft not explicitly use optimizers in SQL as referring to specific indices.

    Indexes are used by the database (Oracle) when sql is running.

    All objects, you can create the application designer, should also be created in the application designer.

    That are part of the metadata PeopleTools and, therefore, you can add these items, also the indexes, projects and migrate into other environments using application designer.

    Halin

  • SINGLETON on POLICY MANAGES the database service. 11.2.0.3

    Hello people.

    I was faced with a simple creation of SINGLETON SERVICE to an existing base of managed policy on a 11.2.0.3 cluster with two nodes without success so far.

    Definition of the environment:
    -Node cluster two 11.2.0.3
    -Several databases (not important I think) all configured with the same SERVER POOL
    -Each database consists of two instances, each one running, one of the nodes form
    -Pool one server only

    Requirement:
    -Databases (DB) with its two instances a need a SINGLETON service performed in one of the servers (Server A).
    -If the instance so that the database running on one down, I need the tilt function to Server B.

    Result:
    -Failover does not work

    Official notes, I checked and tested in vain (among many blogs and forums):
    gR 11, 2 (11.2) RAC TAF Configuration Admin and policy managed databases ID 1312749.1
    Services Database 11 GR 2 of 'Policy' and 'Administrator' managed database ID 1481647.1

    Details of all the different components:

    Configuration of the database
    B@/u01/oracle> srvctl config database -d DB
    Database unique name: DB
    Database name: DB
    Oracle home: /u01/oracle/product/11.2.0.3
    Oracle user: oracle
    Spfile: +DATA/DB/spfileDB.ora
    Domain: 
    Start options: open
    Stop options: immediate
    Database role: PRIMARY
    Management policy: AUTOMATIC
    Server pools: dev
    Database instances: 
    Disk Groups: DATA,FLASH
    Mount point paths: 
    Services: DB_srv
    Type: RAC
    Database is policy managed
    Status of the database
    B@/u01/oracle> srvctl status database -d DB
    Instance DB_2 is running on node B
    Instance DB_1 is running on node A
    Pool of server configuration
    B@/u01/oracle> srvctl config srvpool -g dev
    Server pool name: dev
    Importance: 0, Min: 0, Max: 2
    Candidate server names: A,B
    The service configuration
    B@/u01/oracle> srvctl config service -d DB
    Service name: DB_srv
    Service is enabled
    Server pool: dev
    Cardinality: SINGLETON
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: false
    Failover type: SELECT
    Failover method: BASIC
    TAF failover retries: 10
    TAF failover delay: 2
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: NONE
    Edition: 
    Service is enabled on nodes: 
    Service is disabled on nodes:
    The service status PRIOR to one of the instances is broken
    B@/u01/oracle> srvctl status service -d DB
    Service DB_srv is running on nodes: A
    Service status AFTER on instance is arrested
    B@/u01/oracle> srvctl status service -d DB
    Service DB_srv is not running.
    Tnsnames entry
    DB_srv =
      (DESCRIPTION =
        (ADDRESS =
         (PROTOCOL = TCP)
         (HOST = cluster.dev.sabre.com)
         (PORT = 1521)
        )
         (CONNECT_DATA =
          (SERVICE_NAME = DB_srv)
         )
      )
    Let me know if you need further details.
    Any help will be greately appreciated.
    Thank you
    Alex.

    Published by: attitude Sep 19, 2012 21:26

    Hello

    you kill the instance or has he stopped?

    If you stop it then it is planned. You must move the service first.

    If the instance is aborted abnormally (or the server is killed) it should failover.

    Concerning
    Sebastian

  • Customization of the user for users of the data base and without security ADF

    JDeveloper version - 11.1.1.7.0

    I want to implement personalization by the user on the database of users and without ADF security. I followed the link in storing the repository in a file system but its same showing below the user interface for all users.

    http://Sameh-Nassar.blogspot.IE/2012/03/apply-MDS-to-Oracle-ADF-application.html

    Please guide me on how to do this for users of the database. Please share any other useful links, as appropriate.

    Customization of the user (SDM) does not care the security of applications. You can also apply to the MDS in your ADF application if you use the ADF security or custom security. The main idea is the class of customization (like MyUserCC) has the method call getValue this method should return the user name. When the user login stores the user id in the session and the method getValue returns the user session ID as:

      public String[] getValue(RestrictedSession restrictedSession, MetadataObject metadataObject)
      {
        try
        {
          String user = (String)FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("userId"); // userId is the session variable that store the login user id
          if(user == null)
          {
            return new String[]{""};
          }
    
          return new String[]{user};
        }
        catch (Exception e)
        {
          e.printStackTrace();
        }
        return new String[]{""};
      }
    
  • dynamic action turns an article based on the result, and checks the database!

    I use Apex 4.1

    I do not know how to accomplish the following:
    If a pick list is changed, a function is checked and based on the results of a another field is disabled or enabled.

    I created a dynamic action (change) that executes a PL/SQL code, now I need to disable the other element.

    the problem is that I can't save the dynamic action because of the sign #.

    example:
    Start
    HTP.p ("< script type =" text/javascript"> '");
    HTP.p ('$('#P35_FT_00010_DOC_NO').attr ("readonly", "true")');
    HTP.p ("< /script >");
    end;

    I tried document.getElementById, but an error occurs also when I try to save.

    I think the wrong way?... Help, please

    1. create a step forward (not the simple/standard one) dynamic action.
    2. create initially unconditionally (the wizard will not let you take the PL/SQL expression as a condition but we will go back and change it later)
    3 assume that TRUE from your PL/SQL will lead to disable the item, then choose 'Disable' and the item you want to disable.
    4. Once created, go back in the DA and change the status of PL/SQL expression and put your PL/SQL in there (suppose you have a function returns boolean called MY_FUNC and TRUE to him means disable).
    5 copy the DA in its entirety to a new DA will be FALSE to activate the element.
    6. Once copied, go into the new DA and change the status of PL/SQL to NOT (my_func).
    7 change the REAL action of the DA to activate the element.

    So now you should have two similar DAs... one for when MY_FUNC is true and disables the element, a when "NOT (my_func)" is true and allows the element.

    If you do not disable, you can run javascript instead to set readonly. It seems that this is kind of what you tried to do, but you seem to use a jQuery selector, I suppose that (I did not recognize your syntax to off the bat)?

    Try to use the javascript API instead Apex:

    if ($v('P35_EN_DIS_DOC') == 1 )
      $x('P35_FT_00010_DOC_NO').readOnly='true';
    else
      $x('P35_FT_00010_DOC_NO').readOnly='';
    
  • Location of the call API for the information displayed in the material status summary tab

    I'm trying to find the information that is displayed in the status tab of the hardware.  Mainly, the summary at the top.  I can find most of the information through the managed object browser, but what I need are the serial numbers and the labels that are listed.  I need to update a database of the machine with this information.  This is a screenshot attached.

    Screen Shot 2012-06-01 at 4.49.38 PM.png

    This can be done simply by using the CIM API:

    A remote client of CIM deliver what follows. I use wbemcli (apt - get install wbemcli on Ubuntu)

    wbemcli AE - nl - noverify 'https://root:@: 5989/root/Tag of the cimv2:CIM_Chassis, serial number
    Result
    =====
    ': 5989/root/cimv2:OMC_Chassis.CreationClassName="OMC_Chassis",Tag="23.0 '.
    -Tag = "23.0".
    -SerialNumber = "XXXXXXX".

Maybe you are looking for