How to get the required connection pool data source?

Hi we have created two pools of connections with two different userid to restrict access to the database. now I have 2 pools. so if I want to get the connection to a specific pool how to do this?

Use the JNDI string. When you created your pools you created the jndi names. So when connecting to the data source, you specify jndi. That's how.

Your postal code if you have a problem.

Tags: Java

Similar Questions

  • HP 9470 m Ultrabook, Win8 - how to get the 3G connection?

    Hello

    I got a Ultrabook 9470 m of work with Win7 installed. Everything works, cool, but I wated Win8 (64 bit) for my own stuff. So, I installed Win8 (dual-boot) for my use personal. Of course, I have no HP drives or whatever it is. -No worries, I found all drivers for Win8-64 in this site ok. And now everything is recognized correctly.

    But I don't know how to get the 3G card to connect. On Win7 HP connection manager takes care of that. But there is no connection manager for Win8. And google results only direct me to choose the network in the bar 'charm '. Great, but there are only available WiFis appear...

    ... --- ...

    Well, I finally got this resolved. -As usual, it'S just a driver issue, as always with Windows... I suppose that there is nothing new under the stars.

    In any case. Thanks for Cloud_Strider to point to the firmware upgrade. I did, but it alone did not help. BUT I don't know if it was still a part of the solution. So, thank you!

    Unfortunately, Ericsson or Navatel drivers broadband did the trick. -It's the only ounces available on the site of HP support for this laptop. = (Fortunately, I had (finally) look in Device Manager to see what drivers are installed. Seems that this braodband card is a HP un2430. Looking for these drivers for WIndows 8 on Google showed me finally good page on HP which she link to fresh (from March 2013) drivers for this card.

    After removing the old drivers (+ restart) and new (+ reset) installation, broadband is now available. I now write this with happiness through 3 G connection. =)

  • How to get the multiple layers of data

    Hello

    I imported two jpg files into a single composition. Please follow this procedure...

    1 created a composition, say his name testCompo

    2 imported a file1.jpg in the file-> Import-> file draft

    3 imported a file2.jpg in the file-> Import-> file draft

    4. drag the two files, file1.jpg and file2.jpg, in the testCompo

    Now, I have two layers (it is file1.jpg and nested are file2.jpg) in my testCompo. How can I get the information in pixels or pixel data of the

    the two images (IE, I mean layers).

    I knew that params [0]-> u.ld is the first data layer in

    () EntryPointFunc
    PF_Cmd cmd,
    PF_InData * in_data,
    PF_OutData * out_data,.
    PF_ParamDef * params [],.
    PF_LayerDef * output,
    void * extra)

    So what about other data layer? Then, finally how can we get the multiple images/layers data in AE?

    Thanks in advance!

    It's the thing.

    You must have a param layer (let's say it's param number 3).

    Use this param to select any layer of the model.

    Now you checkout param 3.

    what you get is a paramDef structure containing the pixels of the layer 3 Advanced param to.

    you will find this information at:

    paramDef-> u.ld.data (or something close to that. I do not have in front of me)

    This way the jpg1 affect can get jpg2 pixels and jpg3. any layer in the comp.

  • How to get the required column, the names of tables for the preparation of the report.

    Based on the MD50 how to get the exact name, the table names he joined for report development. as I am new on this project and the purchase of failet for R12.
    How can I start my approach to prepare the data for the report model? How can I search the database based on the respective diagrams of means?
    all input appreciated

    Hello

    You can find information about schema objects in eTRM Web site, you can also consult the documentation for product/module and see if it helps. If you already have any report (standard or custom), you can enable the trace and run the program to see which object it access or open the report using Report Designer and see the code.

    ETRM Oracle
    http://ETRM.Oracle.com

    Oracle Applications documentation
    http://www.Oracle.com/technology/documentation/applications.html

    Kind regards
    Hussein

  • How to get the best connectivity WLan on Satellite U200

    I wonder if everyone is disappointed by the scope of the U200 wireless.

    I always find that my laptop shows 2 bars for their my BT hub (on the floor) when my eeepc located beside the laptop displays 5.

    I also found in other places that my partners laptop detects wireless networks much more that I do.

    I would prefer to explore the possibility of increasing my wireless connection before moving my BT hub to give me a better reception. being able to find the hub with my laptop wherever I am at home (like my partners)

    Anyone got any ideas please?

    OK, a few points of view but no ideas... I've now experimented with an external wireless adapter

    I have a toshiba satellite pro u200 with built in WiFi. I have also 2 adsl providers in the House (one is cancelled as soon as I am happy with the new - but I'll take the opportunity to experiment at the mo to try to resolve some problems)

    I have a wireless router in my office (the service of Virgin Media 2 MB - VM), the other is upstairs (BTHomehub 8 mb - BT)

    Using the built-in tosh Wireless adapt if I'm sitting 2 laptops side by side on my desk both pick up VM 100%. (tosh and eeepc)-c' is the case that the router slot in the Office!

    If I'm sitting the same 2 latops on my desk and get them to connect to BT, the onlys tosh gives 2 bars, the eeepc 100%. (by bars, I mean view available networks - see 5 bars to show the strength of connection)

    If I then plug an external 108Mbps Netgear WG111T Wireless USB 2.0 for the tosh connection adapter improves to 4 bars.

    can I do the built in WiFi on the tosh to improve things or am I better to use an external adapter. If I use the outside how tosh knows which adapter to use? as I have the switch wireless to the position we don't if this activate the integrated?

    Allow the pc show the network show the icon when connected and can see the speed to 54Mbps - whatever that means?

    shouldn't I expect to see 108 Mbit/s if that's what the external netgear is capable of?

  • How to get the difference of two dates in months

    Dear friends,

    I have 4 items on my page.

    2 entered message text (value of loan, monthly deduction)

    2 are message style fields (start date, end date)

    I need to get the difference from above 2 dates in no.. of months. (for example say N)

    So with N, loanvalue should be divided and populated as monthly deduction.

    I tried this way, but not able to get the difference of dates

    {if ("populateMonthlyDeduction". Equals (PageContext.GetParameter (EVENT_PARAM)))}

    System.out.println ("enter populateMonthlyDeduction loop1");

    String xxDeductionStartDate = vo.getCurrentRow ().getAttribute("DeducStartDt").toString ();

    System.out.println ("xxDeductionStartDate is:" + xxDeductionStartDate);

    TXN OADBTransaction = am.getOADBTransaction ();

    java.sql.Date DeductionSDate = null;

    java.sql.Date DeductionEDate = null;

    if(xxDeductionStartDate!=null)

    {

    java.sql.Date startDate = txn.getOANLSServices () .stringToDate (xxDeductionStartDate);

    DeductionSDate = startDate;

    System.out.println ("DeductionSDate is:" + DeductionSDate);

    }

    String xxDeductionEndDate = vo.getCurrentRow ().getAttribute("DedEndDt").toString ();

    if(xxDeductionEndDate!=null)

    {

    java.sql.Date endDate = txn.getOANLSServices () .stringToDate (xxDeductionEndDate);

    DeductionEDate = endDate;

    System.out.println ("DeductionEDate is:" + DeductionEDate);

    }

    int difInDays = xxDeductionEndDate-xxDeductionStartDate; -Please correct me

    How reach it .plz help.

    Thank you

    Aravinda

    I used a custom like this method and calls this method daysBetween PFR.

    I got it. Thanks to you all.

    public int daysBetween(As Date, Date etDate)

    {

    return (int) ((etDate.getTime () - stDate.getTime (()) / (1000 * 60 * 60 * 24));

    }

    If ("populateMonthlyDeduction". Equals (PageContext.GetParameter (EVENT_PARAM)))

    {

    System.out.println ("enter populateMonthlyDeduction loop1");

    String dedStDt = vo.getCurrentRow ().getAttribute("DeducStartDt").toString ();

    String dedEndDt = vo.getCurrentRow ().getAttribute("DedEndDt").toString ();

    If (! dedStDt.Equals (null) &! dedEndDt.equals (null))

    {

    SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");

    Date sdate = new Date();

    Date edate = new Date();

    String sdate1 = null;

    String edate1 = null;

    try {}

    sdate = dateFormat.parse (dedStDt);

    EDATE = dateFormat.parse (dedEndDt);

    SimpleDateFormat dateFormat1 = new SimpleDateFormat("dd-MMM-yyyy");

    sdate1 = dateFormat1.format (sdate);

    edate1 = dateFormat1.format (edate);

    int days = daysBetween(sdate, edate);

    int diffInMonths = days/30;

    System.out.println ("days is:" + days);

    System.out.println ("diffInMonths is:" + diffInMonths);

    String sTotValueTuitionFees = vom.getCurrentRow ().getAttribute("TotValueTuitionFees").toString ();//pageContext.getParameter("LoanValue").toString();

    int iTotValueTuitionFees = Integer.parseInt (sTotValueTuitionFees);

    int iMonthlyDeduction = iTotValueTuitionFees/diffInMonths;

    String sMonthlyDeduction = String.valueOf (iMonthlyDeduction);

    System.out.println ("iMonthlyDeduction is:" + sMonthlyDeduction);

    OAMessageStyledTextBean bMonthlyDeduction = (OAMessageStyledTextBean) webBean.findChildRecursive ("MonthlyDeduction");

    bMonthlyDeduction.setValue (pageContext, sMonthlyDeduction);

    }

    catch (ParseException exception) e

    {

    }

    }

    }

  • How to get the row of Table data in the pop up window

    Hello world

    I'm working on Jdeveloper 11.1.1.4 and I got a requirement when there is a delete as a column in a Table in the ADF. When the user clicks on delete button that I need to display a confirmation message "You want to remove from the Table" OK CANCEL.

    If the user clicks the OK button, then I need to update the value of last_update_by to the one who connects and then deletes the line from the user interface but at the level of the table of database, that line will be there.

    Do I want to get the line given in the confirmation message pop-up and to add rowdata.setAttribute(last_update_by,'') in the class of the action of the OK button.

    I could get the rowdata table in class action OK button but when I do rowdata.setAttribute(last_update_by,'') that class action it gives me null pointer exception.

    Can someone help me with valuable suggestions?

    Thank you

    You may need to check {: identifier of the thread = 2223878} thread

  • Satellite Pro A100 - how to get the Wlan connection works

    Help!

    I'm a total beginner, and my problem is I can get a connection without wire only when I'm really close to my BT hub.
    My son has a laptop and gets a good connection anywhere in the House and even outside.

    He thinks I have a dodgy wireless adapter, this could be the problem?
    Can I fix it myself?

    Maybe download a new driver?
    Any suggestions would be much apreciated.

    TOSHIBA SATELLITE PRO A100

    Hello

    Your ad is not really useful.
    I mean that there is no detail about your problem
    You should first check if the laptop supports the wireless network card.
    This can be done in the Device Manager.

    Usually the WLan card must appear in Manager devices-> network adapters.
    If it s are not it is that the WLan card is not built in or the driver WLan is not installed. If the WLan driver is not installed then you should see yellow exclamation (or unknown device).

    But if the wireless network adapter is listed correctly then you should check if the WLan notebooks have been enabled. In order to activate the WLan you have to press FN + F8 and you put the switch on IT until the small LED flash.

    Finally, to configure the WiFi connection (right name WLan, encryption settings, etc...)

  • How to get the Organizer"and"Accepted"data from a BlackBerryEvent

    Hi all

    -J' I send an invitation to the device of BB from Outlook
    -Once received, accept the appt to the BB email application

    When I view the appointment in the native calendar of BB, I can see the "Organizer" fields and "accepted."

    How can we get these data "Organizer" and "Accepted" to a BlackBerryEvent we will get only the PARTICIPANTSin an event.

    Using String email is event.getString(BlackBerryEvent.ATTENDEES,i);.

    any help in this please.

    Thank you

    Gerard

    No, you can get a list of the names of the participants, but not their status.

  • How to get the names of all data centers in vSphere

    Hello

    The following code retrieves the path of ful of VMDK files.

    How can I get this info to all the domain controllers in my environment instead of questioning a DC at a time?

    CODE:

    Get-data center $DC | Get-Datastore. Where-Object {$_.} {Name - notlike "DataStore1 *"} |
    Sort-Object-property name.
    Select-Object - property name,
    @{Name = "CapacityGB"; Expression = {[Math]: tour ($_.)} (CapacityGB, 0)}},
    @{Name = "UsedSpaceGB"; Expression = {[Math]: tour ($_.)} CapacityGB-$_. (FreeSpaceGB, 0)}},
    @{Name = "FreeSpaceGB"; Expression = {[Math]: tour ($_.)} (FreeSpaceGB, 0)}},
    @{Name = "UncommittedSpaceGB"; Expression = {}
    If (-not $_.) ExtensionData.Summary.Uncommitted) {}
    0
    }
    else {}
    [Math]: tour ($_.) ExtensionData.Summary.Uncommitted/1GB,0)
    }
    }},
    @{Name = "ProvisionedSpaceGB"; Expression = {}
    $Summary = $_. ExtensionData.Summary
    If (-not of $Summary.Uncommitted) {}
    [Math]: round (($Summary.Capacity-$Summary.FreeSpace)/1GB,0)
    }
    else {}
    [Math]: round (($Summary.Capacity-$Summary.FreeSpace + $Summary.Uncommitted) / 1 GB, 0)
    }
    }},
    @{Name = "PercentageUsed"; Expression = {[Math]: round (100 *($_.)} CapacityGB-$_. FreeSpaceGB) / $_. (CapacityGB, 0)}},
    @{Name = "PercentageFreeSpace"; Expression = {[Math]: round (100 * $_.)} FreeSpaceGB / $_. (CapacityGB, 0)}},
    @{Name = "PercentageProvisioned"; Expression = {}
    $Summary = $_. ExtensionData.Summary
    If (-not of $Summary.Uncommitted) {}
    [Math]: round (100 * ($Summary.Capacity-$Summary.FreeSpace)/$Summary.Capacity,0))
    }
    else {}
    [Math]: round (100 * ($Summary.Capacity - $Summary.FreeSpace + $Summary.Uncommitted)/$Summary.Capacity,0))
    }
    }},
    @{Name = 'MV'; Expression = {[string]: join (';', ($_.))} ExtensionData.Vm | ForEach-Object {Get-View-Id $_}). Name)}}.
    @{Name = "VMDK"; Expression = {[string]: Join (';', (& {}}
    $Datastore = $_
    $Datastore.ExtensionData.Vm |
    {ForEach-Object
    Notice-EEG-Id $_.
    Get-VIObjectByVIView |
    Get-hard drive |
    Where-Object {$_.} FileName-like "* $($Datastore.Name) *"} ".
    }
    }). File name)

    }} | Export-CSV $FileName - NoTypeInformation - UseCulture

    The easiest way is to make equal $DC to ' *'.

  • How to get the reconciliation AD event data using the SQL query.

    Hi all
    I was trying to get all the recon data to target AD Recon of IOM db, but it seems that at the OIM 11 g we have recon not given in the tables: UCR, CRE, etc.. Use tables "RECON_"... ', my question is all no bady has example query to extract data from recon tables?
    The best
    MP

    It should be a matter of linking your reconciliation table of user AD (early RA_) with the RECON_EVENTS of RE_KEY table.

    In my case, I have user OID reconciliation (so my RA_ table will be different to yours) and can use something like:

    SELECT RECON_EVENTS. RE_STATUS, RECON_EVENTS RA_OIDUSER5.*, RA_OIDUSER5 WHERE RECON_EVENTS. RE_KEY = RA_OIDUSER5. RE_KEY;

    Of course, then depends on what information you want to filter and recover.

  • How to get the result of these data

    Hi all

    I have a following data. And I need the output as follows.

    If one of the Intr_num is missing so I need the output to be formatted the next row.

    I tried this using the row_number() but could not able to achieve the result. Is there any other function or analysis features to use.

    with t as 
    (
      select 10001 id, 5004 Intr_num from dual union all
      select 10002,5005 from dual union all
      select 10003,5006 from dual union all
      select 10004,5007 from dual union all
      select 10006,5009 from dual union all
      select 10007,5010 from dual union all
      select 10010,5013 from dual union all
      select 10011,5014 from dual union all
      select 10012,5015 from dual union all
      select 10013,5016 from dual union all
    )
    select * from t;
    
    OUTPUT:
    
    Intr_num
    5004 - 5007
    5009 - 5010
    5013 - 5016
    
    
    

    Kind regards

    SID

    Hello

    ROW_NUMBER is the right function to use:

    WITH got_dif AS

    (

    SELECT intr_num

    , intr_num - ROW_NUMBER () OVER (ORDER BY intr_num) AS dif

    T

    -WHERE... - If you need any filtering, put it here

    )

    SELECT MIN (intr_num) | ' - '

    || MAX (intr_num) AS intr_num_range

    OF got_dif

    GROUP BY dif

    ORDER BY dif

    ;

  • How to get the channels spot given colors and spot channels length

    File is CMYK format... channel spot color is CMYK we as a spot channel color is c100m50y20k5
    How to get the channel spot color data using javascript? c = ? m = ? y = ? k = ?
    howv to get your channel length n (not the CMYK channel) use javascript?  such as CMYK + spot n-channel 7 = 7

    Please help me

    #target photoshop

    var myDoc = activeDocument;

    var channel = myDoc.channels;

    var number = 0;

    for (var m = 0; m< channels.length;="" m++)="">

    If (channels [m] .kind == ChannelType.SPOTCOLOR) {the number ++}

    };

    Alert (the number + "spotchannels");

  • How to get the connection from the pool of connection of the UCM JDBC?

    I want to extract an object from the UCM JDBC connection pool JDBC connection. How to do?


    I tried the below code but it throws error

    JdbcManager jdbcManager = new JdbcManager();
    If (ConfigFileLoader.m_defaultCFU == null) {}
    ConfigFileLoader.init (null);
    }
    JdbcConnectionUtils.getConnection (jdbcManager,
    ConfigFileLoader.m_defaultCFU.m_CFS.getProviderData ());


    I get the below error

    intradoc.data.DataException:! syParameterNotFound, JdbcConnectionString
    at intradoc.data.DataBinder.getEx(DataBinder.java:1139)
    at intradoc.data.DataBinder.get(DataBinder.java:938)
    at intradoc.jdbc.JdbcConnectionUtils.getConnection(JdbcConnectionUtils.java:43)
    ....


    Kind regards
    Pratap

    If you are in a service / filter, it is best to make queries as below in order to create a new (read: extra!) system database connection (and the handling/connection additional error closing you must take care of). Samples are available in the HowToComponents.

    final ResultSet myResultSet = m_workspace.createResultSetSQL( "select * from managedlinks" );
    

    or better yet

    final ResultSet myResultSet = m_workspace.createResultSet( "QManagedLinksTable", null /* no params for this query */ );
    

    and define the outer query in your component.

  • I can not connect to a web site using my iPad. Message says required certificate required. No problem using my laptop. How can I get the required certificate on my iPad?

    EError message say site has no certificate, no problems until what I put at the operating system level. How can I get the required certificate on my iPad?

    Certificates are provided by the site. So if the site has a certificate expired or outdated, it may not work. In your case, the certificate No is probably not updated to work with the new software of Safari on your iPad,

    If all other Web sites running on the iPad except this one, I'll try to contact the manufacturer Web site. If a single Web site does not work, there probably nothing wrong with the iPad. In addition, certificates work differently on an iOS, as opposed to an OSX computer device.

    The only thing that can help on the end of your iPad is to delete the data from the Web site for this particular site. It might be the old data storage a before you update. To do this, go to settings > Safari > advanced > data Web site > Edit > remove data from the Web site.

    If you want to erase all data from the Web site, you can go to settings > Safari > clear the history and data from the Web site. Which will remove saved passwords and all data of the Web site, so don't do that if you know your password.

    Good luck

Maybe you are looking for