HRMS Absence create Table to replace by field

Hi all

I'm working on alert event concerning the creation of Absence HRMS. During the creation of Absence, the employee will give replace by another employee. So when the employee present the absence of approval, this time we send an email to replace per employee. But I'm not able to find the field table substitute.

I find a Per_Absence_Attendances table, but this will be filled when the absence is approved. But we need prior approval.

When we submit the absence, will populate the tables Hr_Api_Transaction_Steps and hr_api_transactions, but there is no Replace_By field in these tables.

Kindly give me the idea to do.

Thank you and best regards,

Jagadekara Reddy

Hi Jagadekara,

What is your version of the application?

In R12 leave details are stored in transaction_document in the hr_api_transactions table. It should be there.

Kind regards

Kushal

Tags: Oracle Applications

Similar Questions

  • I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?

    Mr President.

    I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?

    formdoubletables.png

    the page source is

    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                    xmlns:f="http://java.sun.com/jsf/core">
      <af:panelFormLayout id="pfl1">
        <af:group id="Group">
          <af:inputText value="#{bindings.VoucherId.inputValue}" label="#{bindings.VoucherId.hints.label}"
                        required="#{bindings.VoucherId.hints.mandatory}" columns="#{bindings.VoucherId.hints.displayWidth}"
                        maximumLength="#{bindings.VoucherId.hints.precision}"
                        shortDesc="#{bindings.VoucherId.hints.tooltip}" id="it1">
            <f:validator binding="#{bindings.VoucherId.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId.format}"/>
          </af:inputText>
          <af:inputDate value="#{bindings.VoucherDate.inputValue}" label="#{bindings.VoucherDate.hints.label}"
                        required="#{bindings.VoucherDate.hints.mandatory}"
                        columns="#{bindings.VoucherDate.hints.displayWidth}"
                        shortDesc="#{bindings.VoucherDate.hints.tooltip}" id="id1">
            <f:validator binding="#{bindings.VoucherDate.validator}"/>
            <af:convertDateTime pattern="#{bindings.VoucherDate.format}"/>
          </af:inputDate>
          <af:inputText value="#{bindings.Credit.inputValue}" label="#{bindings.Credit.hints.label}"
                        required="#{bindings.Credit.hints.mandatory}" columns="#{bindings.Credit.hints.displayWidth}"
                        maximumLength="#{bindings.Credit.hints.precision}" shortDesc="#{bindings.Credit.hints.tooltip}"
                        id="it2">
            <f:validator binding="#{bindings.Credit.validator}"/>
          </af:inputText>
        </af:group>
        <af:group id="g1">
          <af:inputText value="#{bindings.Lineitem.inputValue}" label="#{bindings.Lineitem.hints.label}"
                        required="#{bindings.Lineitem.hints.mandatory}" columns="#{bindings.Lineitem.hints.displayWidth}"
                        maximumLength="#{bindings.Lineitem.hints.precision}" shortDesc="#{bindings.Lineitem.hints.tooltip}"
                        id="it3">
            <f:validator binding="#{bindings.Lineitem.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.Lineitem.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.VoucherId1.inputValue}" label="#{bindings.VoucherId1.hints.label}"
                        required="#{bindings.VoucherId1.hints.mandatory}"
                        columns="#{bindings.VoucherId1.hints.displayWidth}"
                        maximumLength="#{bindings.VoucherId1.hints.precision}"
                        shortDesc="#{bindings.VoucherId1.hints.tooltip}" id="it4">
            <f:validator binding="#{bindings.VoucherId1.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId1.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Debit.inputValue}" label="#{bindings.Debit.hints.label}"
                        required="#{bindings.Debit.hints.mandatory}" columns="#{bindings.Debit.hints.displayWidth}"
                        maximumLength="#{bindings.Debit.hints.precision}" shortDesc="#{bindings.Debit.hints.tooltip}"
                        id="it5">
            <f:validator binding="#{bindings.Debit.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Credit1.inputValue}" label="#{bindings.Credit1.hints.label}"
                        required="#{bindings.Credit1.hints.mandatory}" columns="#{bindings.Credit1.hints.displayWidth}"
                        maximumLength="#{bindings.Credit1.hints.precision}" shortDesc="#{bindings.Credit1.hints.tooltip}"
                        id="it6">
            <f:validator binding="#{bindings.Credit1.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Particulars.inputValue}" label="#{bindings.Particulars.hints.label}"
                        required="#{bindings.Particulars.hints.mandatory}"
                        columns="#{bindings.Particulars.hints.displayWidth}"
                        maximumLength="#{bindings.Particulars.hints.precision}"
                        shortDesc="#{bindings.Particulars.hints.tooltip}" id="it7">
            <f:validator binding="#{bindings.Particulars.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Amount.inputValue}" label="#{bindings.Amount.hints.label}"
                        required="#{bindings.Amount.hints.mandatory}" columns="#{bindings.Amount.hints.displayWidth}"
                        maximumLength="#{bindings.Amount.hints.precision}" shortDesc="#{bindings.Amount.hints.tooltip}"
                        id="it8">
            <f:validator binding="#{bindings.Amount.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.Amount.format}"/>
          </af:inputText>
        </af:group>
        <f:facet name="footer">
          <af:button text="Submit" id="b1"/>
          <af:button actionListener="#{bindings.CreateInsert.execute}" text="CreateInsert"
                     disabled="#{!bindings.CreateInsert.enabled}" id="b2"/>     
          <af:button actionListener="#{bindings.Commit.execute}" text="Commit" disabled="#{!bindings.Commit.enabled}"
                     id="b3"/>
          <af:button actionListener="#{bindings.Rollback.execute}" text="Rollback" disabled="#{!bindings.Rollback.enabled}"
                     immediate="true" id="b4">
            <af:resetActionListener/>
          </af:button>
        </f:facet>
      </af:panelFormLayout>
    </ui:composition>
    
    
    
    

    Concerning

    Go to your VO Wizard, select the tab of the entity and to check if both the EO is editable or not.

    See you soon

    AJ

  • Table created from a text input fields for loop

    I am new to AS3 and animate CC. I'm not a programmer. I learn how the code I want (from YouTube and various web sources). I put the next set of various web tutorial. What I'm trying to do is create a user input field and input variable which will set the number of new text fields created by a loop for. Then store the text fields in a table to access their values to use elsewhere. The problem is, I don't know how to access the values of the input fields created in the table.  The loop for works to create the new text entry fields, I do not know how to retrieve their values.  In fact, I don't know even if the text that I entered new fields is currently stored in the table. I think that the text field itself, as an object, is stored but not the text I enter the text field (which is what I want).  I hope someone can help me...

    to import flash.display.SimpleButton;

    import flash.events.Event;

    import flash.text.TextField;

    import flash.text.TextFormat;

    import flash.text.TextFieldType;

    var captureText: Array = new Array();               meant to be the text of "aTextFields" of the "aTextFields" table values

    var text3: String;                                               variable as containing "captureText [0]"

    var aTextFieldsText = new TextField();             dynamic text field called 'TextFieldsText '.

    aTextFieldsText.border = true;

    aTextFieldsText.width = 100;

    aTextFieldsText.height = 25;

    aTextFieldsText.x = 300;

    aTextFieldsText.y = 55;

    addChild (aTextFieldsText);                              Add "TextFields" to the value of the scene and the variable "Text3" poster

    var nTextFields: number = 2;                          creates the number of input fields, and would be attached to an entry on the scene.

    var aTextFields: Array = new Array();              array that contains ""input TextFields text fields " "

    for (var int i; i < nTextFields; i ++) {/ / loop for who created him ""text fields of seizure of TextFields " based on the "nTextFields" value"}

    aTextFields [i] = new TextField();

    aTextFields [i] .Guy = "entry";

    aTextFields [i] .width = 100;

    aTextFields [i] .height = 25;

    aTextFields [i] .border = true;

    aTextFields [i] .text = "";

    aTextFields [i] .x = 150;

    aTextFields [i] there = 15 + i * aTextFields [i] .height + i 5;

    captureText.push (aTextFields [i]);                 Push the table 'captureText '.

    addChild (aTextFields [i]);

    }

    var MyButton: SimpleButton = new Button;

    myButton.x = 339;

    myButton.y = 268;

    addChild (myButton);

    myButton.addEventListener (MouseEvent.CLICK, test1, false, 0, true);  "Text3" variable on captureText set button [0]

    function test1(event: MouseEvent): void {}

    Text3 = captureText [0];                                "Text3" variable to captureText [0]

    aTextFieldsText.text = text3.toString ();       displayed in the text field "[TextField object]" instead of the text value of the entry at index [0]

    trace ("aTextFields =" + aTextFields);

    trace ("captureText =" + captureText);

    trace ("Text3 =" + Text3);

    }

    captureText is an array of textfields and not a textfield. This line:

    Text3 = captureText [0];

    Maybe should be:

    Text3 = captureText [0] .text;

  • Creating a table, to replace an old

    Salvation of the experts;

    I'm looking for advice about what I'll do.
    This is the situation;
    I had a table of production with more than 1 000 000 000 of records.
    queries of this table are too slow, and I decided to create a new table, to replace this one.
    But my doubts are:
    How can I create a new table, including the same structure as that old and with data.
    I received this request:

    Create new_table in select * from ancienne_table
    where trans_year = '2012 '.
    I know with this I got the structure, but what about clues?
    Another my doubt is, to replace the old, just I drop and rename a new?

    This table belongs to an oracle 9i DB.

    Thanks for your comments.

    Al

    user12048358 wrote:
    owner = raditdb exp username/password@raditdb tables = raditdata query = "where status = 'start'" file=/mnt/raditdata.dmp buffer = 50000 log=/mnt/raditdata.log "

    You must escape the quotation marks:

     exp username/password@raditdb owner=raditdb tables=raditdata query=\"where status= 'Start'\" file=/mnt/raditdata.dmp buffer=50000 log=/mnt/raditdata.log
    

    Good luck.

  • Create table replaces the existing table in mssql

    In a program that allows us to update our sites, we use the function 'create an array' of MS SQL to create missing tables in databases.

    Thousands of time we used it, if a table already exists with the same name of the table in the create table MS SQL survey command an error.

    In fact, MS SQL documentation indicates that only if you include the optional 'replace' command, will be a replaced existing table.

    But today, we used this program on a new host, that we are trying, and the create table command actually did replace an existing table with a new table, delete all the records from the old table.

    I'm trying to understand what this would allow the settings at the server level.

    This is the code we use:

    < CFQUERY NAME = "recipe" DATASOURCE = "recipe" dbtype = "ODBC" username = "" #ruser # "password =" #rPASS #">"
    Create table recipecats)
    RecipecatID int IDENTITY(1, 1) NOT NULL PRIMARY KEY,
    recipecatdescription NVARCHAR (50) NULL)
    < / cfquery >

    Are you sure that this is not just to create another table with the same name, but one
    different owner?

    I saw the strangeness (it's probably just weird for me because I am ignorant)
    of what is happening), I can READ a table owned by another user without
    calling the name of the table with its owner, and when I go to CREATE a table
    of the same name, it is actually created as my current user and subsequently when
    you ask the name of the full table, I get the results of one, is not new
    the former. If I'm right in the name of the table, I can ask both/either. Kind
    way similar CF hunting around different scopes when you aren't eligible one
    reference to a variable.

    Also, your code should probably be testing to see if the table exists
    before you try to create it anyway. "Just try and catch.
    "If it errors" is not considered as 'test' if there is

    --
    Adam

  • How to force the data type in create table field?

    Hi all

    I need to force my table to create as follows

    Create table XYZ

    (Test varchar2 (10 CHAR)

    ...

    );

    When I run my Interface the script is

    Create table XYZ

    (Test varchar2 (10))

    ...

    );

    and the DBMS translated into

    Create table XYZ

    (Test varchar2 (10 BYTE),

    ...

    );

    I have the same problem with I$, C$, and so on.

    Best regards

    Marco

    Hi all

    I fix my problem:

    In Phisical Tecnology, under ORACLE Tecnology, data TYPE, I modified the definition of VARCHAR2 in VARCHAR2(%L CHAR).

    (Before it was VARCHAR2 (%)).

    Thank you all.

    Marco

  • DB tools create Table

    Hello.. I got this error when trying to create a database

    Conn Execute.vi-> DB tools create Table.vi--> CreateDatabase.viException occurred in the Microsoft Office Access database engine: syntax error in the statement CREATE TABLE in Conn Execute.vi-> DB tools create Table.vi-> CreateDatabase.vi

    I can't open your vi, but in many cases, the syntax error is caused by the invalid table or field names (reserved words, spaces or invalid characters). In this case, you can change the names; Alternatively, you can frame them square brackets: [my_column_name].

    If you open the DB create Table.vi-> Conn Execute.vi block diagram, you can enter the full text of the SQL query and post, so we can take a look.

  • FREELISTS and FREELIST GROUPS of CREATE TABLE

    My oracle 10g, create table statement is below:

    CREATE TABLE S005. Test

    (

    AAA char (1)

    )

    PCTFREE 0

    STORAGE)

    FREELISTS 10

    FREELIST GROUPS 20

    )

    LOGGING

    NOCACHE

    NOPARALLEL

    NOMONITORING;

    After performing this sql, I have a query table USER_TABLES but FREELISTS and FREELIST_GROUPS fields show nothing.

    In my view, FREELISTS value must be 10, and FREELIST_GROUPS should be 20. How to retrieve these values?

    Thank you very much

    SAMS - Oracle FAQ

  • Need help - multilevel nested table - create table problem

    Hello

    My version of oracle db: 11g

    I just created a table that contains a nested multi-level table.

    Here is the code:

    create or replace type sdef_t_nt_empNames21 is table of the varchar2 (50);

    create or replace type sdef_ot_SCmarks21 as an object (number of physics, chemistry number, number of Biology);

    create or replace type sdef_t_nt_SCmarks21 is table of the sdef_ot_SCmarks21;

    create or replace type sdef_ot_allsubmarks21 as an object (eid, eng, math, sc sdef_t_nt_SCmarks21 number number);

    create or replace type sdef_t_nt_dep_m_info21 is table of the sdef_ot_allsubmarks21;

    create the table nt_dep21

    (number of fact

    , dname varchar2 (50)

    c_sdef_t_nt_empNames21 sdef_t_nt_empNames21

    c_sdef_t_nt_dep_m_info21 sdef_t_nt_dep_m_info21)

    nested as NT_c_sdef_t_nt_empNames21 table c_sdef_t_nt_empNames21 store

    store table nested like NT_c_sdef_t_nt_dep_m_info21; c_sdef_t_nt_dep_m_info21  <-I know that the problem is here.

    TRACE OF THE ERROR:

    Error at startup on line: 13 in the command.

    create the table nt_dep21

    (number of fact

    , dname varchar2 (50)

    c_sdef_t_nt_empNames21 sdef_t_nt_empNames21

    c_sdef_t_nt_dep_m_info21 sdef_t_nt_dep_m_info21)

    nested as NT_c_sdef_t_nt_empNames21 table c_sdef_t_nt_empNames21 store

    Nested table c_sdef_t_nt_dep_m_info21 (sdef_t_nt_SCmarks21) store as NT_c_sdef_t_nt_dep_m_info21

    Error report-

    SQL error: ORA-00904: invalid identifier

    00904, 00000 - '% s: invalid identifier '.

    * Cause:

    * Action:

    PS: I'm just solve a problem given to me by some1, is not a practical implementation, I'm just trying to get through

    I'm sure that some1 could help me with this, I have searched a lot of this problem but could not find my answer, please help me.

    Concerning

    Rahul

    SQL > create table (nt_dep21)
    Did number 2,
    3 dname varchar2 (50).
    4 c_sdef_t_nt_empNames21 sdef_t_nt_empNames21,
    c_sdef_t_nt_dep_m_info21 5 sdef_t_nt_dep_m_info21
    6                       )
    store c_sdef_t_nt_empNames21 7 nested as NT_c_sdef_t_nt_empNames21 table
    store c_sdef_t_nt_dep_m_info21 8 table nested as NT_c_sdef_t_nt_dep_m_info21)
    9 table nested as NT_sc sc store
    10                                                                               )
    11.

    Table created.

    SQL >

    SY.

  • How to refresh a table using a text field

    I created a form in a table on a page. I have included a text field in the same region. I added a dynamic action to refresh my sub form of table when the text field is entered and corresponds to one of the field in the record. but the source of the region, will not take my where clause. It gives

    Failed to parse the SQL query:

    ORA-00911: invalid character

    error. I worked on this last days.

    How to fix it. Help, please.

    Thank you

    my simple code is

    Select * from 'EMAILLIST' WHERE

    (: P9_ENTER IS NULL)

    OR EMAILNAME AS: p9_enter)

    p9_enter is my text box. I have a dynamic action that refreshes the page on the unlock key. Help, please

    I found the answer myself...

    1. you have enable partial page refresh Yes No is the default

    2. on a dynamic action, no need to fire on the support page - choose No.

    That's what it takes to make the tabular form to refresh...

    works now

  • Bugs or features of NoSQL create table

    Hi, I used the runadmin CLI command to create a pattern with several tables and child tables (create table), reflecting our logistics OAGIS model BO.

    The following clothe are bugs in runadmin, I think:

    * children tables have a key with the same name as the name of the key of one of their parents? Why?

    adding a few records (add-registration-field) of the same structure (structure to address typical e.g.a) only works for the first, for example postalAddress. When you add an invoiceAddress of the same type, the error "Unknown Exception: class org.apache.avro.SchemaParseException ' appears at the output. Children tables for that aid works. With the help of several records from a same simple structure works, and I think that the error occurs when the records have a field with the same name as the key of the table.

    * In addition, I miss a feature like - AutoNumber to use keys by default. It is available or planned or displaced in the application layer?

    Hello

    Some good questions.

    | * children tables have a key with the same name as the name of the key of one of their parents? Why?

    As you are suggesting this restriction exists only for the fields that are part of the primary key.  A key field in a child table may have the same name as a key field in the parent.  This restriction makes a number of simpler and more efficient internal implementation details.  Do you have a use case where it is annoying?

    | adding a few records (add-registration-field) of the same structure (structure to address typical e.g.a) only works for the first, for example postalAddress. When you add an invoiceAddress of the same type, the error "Unknown Exception: class org.apache.avro.SchemaParseException ' appears at the output. Children tables for that aid works. With the help of several records from a same simple structure works, and I think that the error occurs when the records have a field with the same name as the key of the table.

    A specific example of this behavior would be helpful.  It may be a bug.

    | * In addition, I miss a feature like - AutoNumber to use keys by default. It is available or planned or displaced in the application layer?

    It is the responsibility of the application.

    Kind regards

    George

  • using datediff, creating table

    Hi all

    I'm trying to calculate the number of years of a product when a new record is inserted.

    That's what I tried

    CREATE TABLE WaterMeter)

    meterID VARCHAR (25) NOT NULL,

    readingID VARCHAR (25) NOT NULL,

    meterSerialNum VARCHAR (25) NOT NULL,

    installationDate DATE NOT NULL,

    noOfYears AS (DATEDIFF (YEAR, sysdate, installationDate));

    CONSTRAINT watermeter_Pkey PRIMARY KEY (meterID).

    Watermeter_Altkey of UNIQUE CONSTRAINT (meterSerialNum)

    );

    and the following error appeared.

    Error in the command line column: 6:27

    Error report:

    SQL error: ORA-00904: "YEAR": invalid identifier

    00904, 00000 - '% s: invalid identifier '.

    * Cause:

    * Action:

    so, how can I go around to solve this issue?

    Virtual column is... virtual. It is not stored in the table. Oracle calculates the value of virtual column every time that reference you it. This is why you cannot use functions such as SYSDATE in a virtual column expression. I understand the logic underlying your table, but this is done using views. Simply create the table without column of noOfYears, then

    create or replace view WaterMeter_VW as select t.*, MONTHS_BETWEEN (sysdate, installationDate) / 12 WaterMeter noOfYears t;

    SY.

  • Add default column have Boolean when creating table

    Hello

    I am trying to create a table with the default value for boolean data, as shown below:


    CREATE TABLE test_users)
    user_id number (11) NOT NULL PRIMARY KEY,
    first name varchar2 (50).
    VARCHAR2 (50) last_name,.
    e-mail varchar2 (100),
    user_password varchar2 (100),
    Zip_code varchar2 (50).
    title varchar2 (100),
    Description varchar2 (2000).
    PICTURE_PATH varchar2 (2000).
    one_time_activation number (1) value default null check (one_time_activation in (0,1)).
    one_time_activation_code varchar2 (100),
    is_active number (1) value default null check (is_active in (0,1)).
    security_question_id number (11),
    security_answer varchar2 (100),
    inserted_date DateTime,
    DateTime MODIFIED_DATE,
    check the number IS_DELETED (1) default 0 (is_deleted in (0,1)).
    last_login_date DateTime,
    no_of_views number (20) default 0,.
    is_redirect_to_edit_profile number (1) 1 check default (is_redirect_to_edit_profile in (0,1)).
    present_login_date DateTime,
    check the is_interested_ab_membership number (1) default 0 (is_interested_ab_membership in (0,1)).
    joined_date DateTime,
    removed_date DateTime,
    is_admin_deleted number (1) default check 0 (is_admin_deleted in (0,1)).
    moderated_by number (11),
    is_subscribe_newsletter number (1) default check 0 (is_subscribe_newsletter in (0,1)).
    user_pagination number (3) 15 by DEFAULT
    );

    but I'm getting
    Error on line 1
    ORA-00902: invalid data type

    Thank you

    Whatever your question has to do with sql developer?

    You don't even tell what database you want to use.

    Oracle does not support a data type 'datetime' so your create table statement will not work in Oracle.

    If you replace "datetime" 'date' the table creates very well.

  • SQL authentication provider - create table script

    Hi all!
    I would use the SQL provider for my Web application authentication. I can't find the script to create tables of users/roles used by the provider.
    Can you suggest me a link where I can download?
    Thank you
    Frank

    Hi Frank,.

    Configure the SQL authenticator:

    Start Oracle XE DB and open propmt SQL to run commands below:

    CREATE TABLE USERS)
    U_NAME VARCHAR (200) NOT NULL,
    U_PASSWORD VARCHAR (50) NOT NULL,
    U_DESCRIPTION VARCHAR (1000))
    ;
    ALTER TABLE USERS
    ADD CONSTRAINT PK_USERS
    PRIMARY KEY (U_NAME)
    ;
    CREATE TABLE GROUPS)
    G_NAME VARCHAR (200) NOT NULL,
    G_DESCRIPTION VARCHAR (1000) NULL)
    ;
    ALTER TABLE GROUPS
    ADD CONSTRAINT PK_GROUPS
    PRIMARY KEY (G_NAME)
    ;
    CREATE TABLE GROUPMEMBERS)
    G_NAME VARCHAR (200) NOT NULL,
    G_MEMBER VARCHAR (200) NOT NULL)
    ;
    ALTER TABLE GROUPMEMBERS
    ADD CONSTRAINT PK_GROUPMEMS
    (PRIMARY KEY)
    G_NAME,
    G_MEMBER
    )
    ;
    ALTER TABLE GROUPMEMBERS
    ADD CONSTRAINT FK1_GROUPMEMBERS
    FOREIGN KEY (G_NAME)
    REFERENCE (G_NAME) GROUPS
    ON DELETE CASCADE

    Generally, customers can add users directly in DB with help commands below:

    insert into USERS (U_NAME, U_PASSWORD, U_DESCRIPTION) values ('system', 'weblogic', 'user admin');
    insert into GROUPS (G_NAME, G_DESCRIPTION) values ('Administrators', 'Administrators');
    insert into values('Administrators','system') GROUPMEMBERS (G_NAME, G_MEMBER);

    But in this case is not encrypted password then, either you can add users via the console or WLST script to be stored in encrypted form.

    We had performed above commands just to check that the user that is stored directly in the DB gets properly authenticated or not configured SQL authenticator as below

    Now start weblogic admin server and console access to create the data source by the navigation Services-> JDBC-> data sources

    Create the data source named SqlDS

    JNDI: SqlDS

    Type of DB: Oracle

    : DB driver Oracle Thin XA

    Name of the data base: XE

    DB host:

    Port: 1521

    DB user:

    DB password:

    Even the rest of the configuration and click test Configuration. If its success click on next and it targets to "AdminServer.

    Click Finish and activate chnages

    Now navigate to the areas of security-> myrealm-> suppliers

    Click new and supply the names of SqlAuthenticator and select Type of SQLAuthenticator

    Now click on newly created provider and make the indicator of control as "sufficient".

    Go to the specific page of provider:

    1. check on cleartext passwords enabled.

    2. provide a data name source: SqlDS

    Keep the rest of the parameters it is and save this configuration. It will ask you to restart the management server.

    Now, again navigate areas of security-myrealm-> users & groups >

    User created directly in the DB control is listed in the table with SqlAuthenticator, once its list, go ahead and add users as below

    B. Cretae users using the administration console:

    Sign in to the administration console

    Access areas of security-myrealm-> users & groups >

    Click the users tab and try to create the new user

    User name:

    Select authentication provider: SqlAuthenticator

    User password:

    Once the table DB check creating user, this user added with password encypted musted

    C. create multiple users using WLST script:

    File Navigave of $DOMAIN_HOME/bin and run the file setDomainEnv as below:

    UNIX:. ./setDomainEnv.sh (don't forget to put two points before /)

    Windows: setDomainEnv.cmd

    Now, change script depending on your environment below and run as suggested in step 3:

    Connect('weblogic','weblogic123','t3://localhost:7001')
    Edit()
    startEdit(-1,-1,'false')
    serverConfig()
    CD('/SecurityConfiguration/base_domain/Realms/MYREALM/AuthenticationProviders')
    ls()
    CD ('SqlAuthenticator')
    cmo.createUser ('vaishali', 'weblogic123', 'SQLuser')

    cmo.createUser ('pavashe', 'weblogic123', 'SQLuser')
    Edit()
    stopEdit('y')

    NOTE: Change username, password, and ADMIN_URL in 1st line.

    Replace the domain name "base_domain" by your domain online no.: 5

    Authenticator name change SQL online no: 6 by your authenticator name

    Next lines create users. You need to add however to users, you need to create programmatically.

    Syntax: cmo.createUser ('user_name', 'user_password', 'user_description')

    Now, to save these commands in a file with the extension .py and run as below:

    # java weblogic. WLST create_user.py

    If your script does not have to try running each command separately. For this session WLST beginning as below:

    # java weblogic. WLST

    Now run above commands in the script. You will be able to debug if something went wrong during execution of script.

    Kind regards
    Kal

  • Create Table As Select Select

    Table_2
    ----------------------

    CREATE TABLE TABLE_2
    (
    'ID' VARCHAR2 (10),
    VARCHAR2 (10) "OFF."
    "SEQ" NUMBER (10)
    );

    Inserts
    ---------------------
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('123456', ", 1);
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('123456', 'EX', 2);
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('123456', ", 3);
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('321654' ", 4);
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('123798', 'EX', 5);
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('123785' ", 6);
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('654787', ", 7);
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('654787', ", 8);
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('654787', ", 9);
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('985217', 'EX', 10);
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('985217', ", 11);
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('937158' ", 12);
    INSERT IN TABLE_2 (ID, EXCL, SEQ) VALUES ('937158' ", 13);

    Select *.
    ------------------------
    EXCL SEQ ID
    1 123456
    123456 EX 2
    3 123456
    321654 4
    123798 EX 5
    123785 6
    654787 7
    654787 8
    654787 9
    985217 EX 10
    985217 11
    937158 12
    937158 13






    I need to create a table based on for all records that are not null - EXC, but I need to bring through all the records that have the same ID as the EXC not null field.

    Desired output: -.
    ------------------

    EXCL SEQ ID
    1 123456
    123456 EX 2
    3 123456
    123798 EX 5
    985217 EX 10
    985217 11

    The ideas people?

    Hello

    Here's one way:

    CREATE     TABLE     table_x
    AS
    SELECT     *
    FROM     table_2
    WHERE     id     IN (
                     SELECT  id
                     FROM    table_2
                     WHERE   excl     IS NOT NULL
                 )
    ;
    

    Furthermore, whenever you post the text formatted (for example, the results of the query) on this site, type the 6 characters:

    \

    (small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
    You'll get better answers quicker if people can read:
    

    EXCL SEQ ID
    1 123456
    123456 EX 2
    3 123456
    123798 EX 5
    985217 EX 10
    985217 11

    (for example) rather than
    
    

    Deeds_2001 wrote:
    ...
    ID EXCL SEQ
    123456 1
    123456 EX 2
    123456 3
    123798 EX 5
    985217 EX 10
    985217 11

    		   

Maybe you are looking for

  • Satellite A100-649: upgrade to 250 GB - bad HARD disk size reported

    Hello Have big problems to insert a new hard drive up to 250 GB.(Samsung S - ATA)The hard drive is recognized by the Windows XP installation in the right size. In the partitionscreen by installing XP blue only 136 GB are indicated. Please help me!Vik

  • T450s with Nvidia - dockingstation

    Hey there As I need a portable high performance to play Simulator / P3D etc, I am interested in the t450s with a graphics Nvidia 940 M. My idea was initially to connect it to an external monitor through docking station. When I go through the official

  • Secondary domain controller problem

    I have primary and secondary domain controller, my secondary domain controller is not connected to working groups, the error com like that

  • where is the microphone on my laptop, model NB204UA #ABA number

    I try to have a SKYPE interview and caller does not hear me, and it seems that my microphone does not work.  Where is it on my computer so I can activate it?

  • Neither USB-6221 thermocouple

    Anyone who has used the USB-6221 for measurement by thermocouple? I'm doing a number of analog measures with two of them being J type of transport CANADA, have not used the 6221 before, but my client is not the money to go the compact DAQ road on thi