What is the recommended way to get a java.sql.Connection to the DB  for ADF

How do I create a standalone database connection based on the datasource setup in ADF?
I have seen code like this in a method of AppModuleImpl.java but that seems a bit of a hack.
Connection conn = this.getDBTransaction().createStatement(0).getConnection();
What I need is a java.sql.Connection to the database used in the application module so I can call PL/SQL code and or work with AQ queues.
I would prefer a separate connection from the one used by the ADF model so it can have its own transaction control etc.
But I would like to get the connection created authenticated based on regular datasource setup.

http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html#8c
https://blogs.oracle.com/jdevotnharvest/entry/accessing_weblogic_jdbc_datasource_from

Similar Messages

  • HT4260 I have an AirPort Extreme and a linksys router. What is the best way to get 6-8 wired connections with ac speeds?

    I have an AirPort Extreme and a linksys router. What is the best way to get 6-8 wired connections with ac speeds?
    Appreciate your assistance.

    The answer depends on whether the AirPort Extreme is your main router....or...the Linksys device is your main router.
    In either case, the two devices must connect together using a wired Ethernet connection using CAT5e or CAT6 cabling.
    Any version of the AirPort Extreme produced within the last 5 years will have Gigabit Ethernet ports. In order to get the same speeds from the Linksys router, it will also need to be Gigabit Ethernet capable.
    If you need additional Ethernet ports, you will need to add a Gigabit Ethernet switch to either the AirPort Extreme or Linksys router.
    It is assumed that your other devices connecting to the AirPort Extreme and Linksys router will also have Gigabit Ethernet capability.
    Not sure why you mention "ac" speeds in your post. This relates to wireless connections, not wired.

  • What is an easy way to get to my app store on my computer?  I can never just go to it and usually end up there by pure luck.

    what is an easy way to get to my "app" store on my computer?  I usually just stumble upon it my chance.

    If you mean the App Store for your iOS devices, that is in iTunes. If you are running iTunes 12, then you would select the App icon in the toolbar, then select Store:
    Cheers,
    GB

  • My ipod nano 6th gen fell out of my pockey and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed

    My ipod nano 6th gen fell out of my pocket and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed? It is pretty frustrating, it fell from about 3 feet out of my pocket and now looks like it was beaten by a hammer.

    Debbie:
    deborahfromwindsor wrote:
    he advises restarting by inserting the OSX disc and pressing down the C button to reboot from there then selecting disk utility, hard disk and repair.... Does he mean me to hold down the C key on the alpha keyboard or the ctrl key?
    Should I just ask for my money back??? If it is a simple repair do I just literally push the disc in, push the power button and hold down the C button?
    That's where I would begin, too, with
    Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.TStatus of HDD at the bottom of right panel, and report if it saysanything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need touse autility like TechTool Pro,Drive Geniusor DiskWarrior
    First we need to determine if the issue you are experiencing with the computer is software or hardware based. Once we have gotten things sorted out there should be time enough to make you decision about keeping or returning it.
    cornelius

  • I recently upgraded to Mac OS X.  I hadn't try to access anything in iWorks 09 since the upgrade, until now.  I get an error message when trying to open any of the iWorks 09 applications.  What's the fix for this?

    I recently upgraded to Mac OS X.  I haven't tried to access anything in iWorks 09 since the upgrade, until now.  I get an error message when trying to open any of the iWorks 09 applications.  What's the fix for this?

    Follow Sonicray's advice and when you post try to give as much info about your Mac, your OS, etc... Fill out your Profile info.

  • What are the procedures for getting Apple to remotely wipe all my data off my ipad that was stolen? I have no hope of recovering it. Please advise asap...thanks!

    What are the procedures for getting Apple to wipe the data off my original ipad I bought two years ago. I had it stolen from a hotel room over the weekend and it is not password protected and no I did not download app to find it.
    Any hwlp would be greting appreciated!

    Apple can't do it, only you could potentially do it if you had enabled Find My iPad on it before it was stolen.
    If it was stolen then you should report it to the police. As a safety precaution you should also change your iTunes account password, your email account passwords, and any passwords that you'd stored on websites/emails/notes etc.

  • What are the prerequisite for getting MTTR / MTBR data.

    Dear SAP Experts,
    I want to know what are the prerequisite for getting MTTR / MTBR data.
    Regards
    ERP Tech

    Pre-requisites are:
    Maintain Start date in Equipment / Functional location master
    Maintain the Malfunction Start date & time, Malfunction End Date & time in Notification
    Maintain the Breakdown tick mark in notification
    Maintain update group (stats) in Notification type configuration (IMG - Plant Maintenance & Customer Service - Maintenance & Service Processing - Maintenance & Service Notifications - Notification types - Define Notification types)

  • What is the password for "Get Text Rect.vi"

    What is the password for "Get Text Rect.vi"  I need it to add a password to my code, which uses this error handler provided by LV.
    Tim Burroughs
    email:[email protected]
    email:[email protected]

    That is a an NI VI and they will not give you the password.
    When saving your VI makes sure you UN-CHECK the "Include vi.lib files" option.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • What is the pathname for mail that I can get to from a terminal window

    What is the pathname for mail that will allow me to get to mail from a terminal window?
    [ iMac 27-inch;  Mac OS X version 10.7.5 ]

    Your best bet would be to take the drive to the oldest/compatible with that drive Windows PC and grab the files off, right click and format it exFAT (XP users can download exFAT from Microsoft) and then put the files back on.
    Mac's can read and write all Windows files formats except write to NTFS (and in some cases not read) so if you can change the format of the drive to exFAT (all data has to be remove first) then you will have a drive that doesn't require paid third party NTFS software (a license fee goes to Microsoft) for updates.
    Also it's one less hassle to deal with too.
    .Drives, partitions, formatting w/Mac's + PC's

  • When I try to install CS6 Design and Web Premium from a disk I get this message "We are unable to validate this serial number..." What is the reason for this?

    I purchased a disk copy of CS6 Design and Web Premium from a reputable seller last week and when I try to install it with the serial number I got it says "We are unable to validate this serial number for CS6 Design and Web Premium. Please contact Customer Support." What is the reason for this?
    Is the serial number invalid?

    Hi Ned,
    Thanks for the suggestion. I eventually got in touch with Adobe Technical Support and it turned out that my Adobe Application Manager was not the latest version. They downloaded the latest version and installed it and that seemed to solve the problem. I was able to install my CS6 Creative Suite and validate the serial number. All seems to be going well at the moment.

  • What is the procedure for a hard boot of my iPod touch 4th generation without itunes, and without computer, and without iPod data screen.?

    What is the procedure for a hard boot of my iPod touch 4th generation
    without iTunes, and without computer, and without iPod data screen?
    6 months after purchase I updated my iPod touch as recommend by iTunes.
    It has not worked since that day.  It frozen (disabled) with a "connect to
    iTunes" icon displayed...that is the only thing it does.  itunes does not
    recognize the iPod.  My Windows7 computer recognizes an Apple device. 
    Other computers recognize the devise but if iTunes resided on that
    computer it did not recognize the iPod
    I suffered a setback with deep depression and am just now getting out of it enough to do something.  The depression prohibited me from taking action.
    I have done every procedure recommended from Apple help and external
    sources.  I did this thoroughly with help for other owners and IT experts,
    Apple employees etc etc.  I and associates have perform reboots utilizing a
    number procedure using only button on the iPod.  These were unsuccessful
    also have performed.
    Please do not ask me to do the usual.
    Online I saw  a process using the buttons on the iPod to completely
    reformat 
    the iPod.  It was NOT the hold buttons for 10 sec let go of one wait 8 sec
    etc.  I can not find the process now...a friend showed it to me in passing
    I have lost contact with him.  This is the procedure, I believe, that with
    enable me to update and use the iPod. 

    You need an internet connection and likely a computer with iTunes but an iPhone, iPad or iPod touch with the FindMy iPhone App may work by:
    If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone and use Remote Wipe to erase the contents of your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased.
    You can also wipe the iOS device by installing the FindMyiPhone app on another iOS device and using that app to wipe the device.
    Otherwise
    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Forgot passcode or device disabled
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:                                                             
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:           
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.
    Yo may have to go to an Apple store or a friend's house with an internet connection and iTunes.

  • What is the cause for the mac to become slow

    what is the cause for the mac to become slow?

    Things You Can Do To Resolve Slow Downs
    If your computer seems to be running slower here are some things you can do:
    Start with a visit to: OS X Maintenance - MacAttorney.
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion/Mountain Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Repair the Hard Drive - Lion/Mountain Lion
    Boot from your Lion Recovery HD. When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    Suggestions for OS X Maintenance
    For situations Disk Utility cannot handle the best third-party utility is Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems. For more about malware see Macintosh Virus Guide.
    I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Data Backup
      3. Deja Vu
      4. SuperDuper!
      5. SyncTwoFolders
      6. Synk Pro
      7. Synk Standard
      8. Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time, then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • What is the roadmap for BI-IP product w.r.t BPC

    is it true that BPC will replace or serve the same function as BI-IP?
    IF SO,
    what is the rationale for such quick product replacement and what is the future direction for this planning product IP?
    not long ago there is BW3.5 . then came BI 7 recently and that comes with IP, and now BPC in such a short span of time?
    please share your views.

    Hi,
    First of all I would like to recommend you the relvant forum for all topics related to CPM:
    You might get your answers refering to BPC and/or CPM more quickly and more precise at this forum:
    Expert Forums » Business Process Expert » Corporate Performance Management
    I welcome you to have a look there.
    I did a quick research there and I found some information which might be interesting for you. You can find more about this at the following blog:
    /people/muthu.ranganathan/blog/2007/05/22/sap-gets-serious-about-epm
    Recommendations to existing customers
    2007-07-10 20:35:28 Muthu Ranganathan Business Card Reply
    As indicated earlier to another response in the blog, SAP would continue to support BPS,as per the existing maintenance arrangements. As of SAP NetWeaver 7.0, BI Integrated Planning (BI-IP) replaced BPS, so BPS is no longer being developed any further.Development plans for BI Integrated Planning will be unchanged by the OutlookSoft acquisition as BI-IP will continue to be SAP’s long-term planning infrastructure.SAP Strategy Management is SAP’s strategic nextgeneration
    product in that category(scorcarding/strategy). However SAP would continue to support BSC as per the existing maintenance arrangements.
    Some additional elements to each of the question:
    1. Do we stop all new development in these products and start utilizing the new CPM product offerings right away?
    If you already have implemented element of SEM, the maintenance allows you based on a SEM 6.0 (mySAP ERP 2005) to work on maintained product until 2013. Applications of the CPM suite are of course the recommended path for new customer, however, as each customer situation is different, I would recommend to use your local SAP contact to discuss these issues.
    2. Do we continue new development in the old products and convert in the future (when the new CPM suite has stabilized and SAP has stopped further acquisitions)?
    Each products of the CPM suite are now available in a stabilized and mature version, however the integration and Netweaver as a unified platform is not available. So it is more about integration than about stabilization. For more insight on the SAP roadmap again get in touch with your SAP contact.
    3. Do we stop all new development in these products and use alternative SAP products like BI integreted planning, Visual composer etc. which are more mature than the new CPM products and are not scheduled for obsolesence like SEM and BPS? Then in the future we migrate to the new CPM suite when it is stabilized?
    BI integrated Planning and Visual Composer are part of the technical infrastructure in Netweaver, whereas CPM elements are Application designed for performance management and with business user centric concepts. Again these products are fully matured and stabilized and the roadmap of the CPM group is to unify the technology platform and get the convergence of all Planning and Consolidation tools.
    Thanks
    ++++++++++++
    So I hope I could help you at least a bit,
    Best regards,
    Felix

  • What is the remedy for a slow running iMac?

    What is the remedy for a very slow running iMac?

    Disconnect all wired peripherals except keyboard, mouse, and monitor, if applicable. Launch the usual set of applications you use when you notice the slowdown.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Step 2
    Launch the Console application in the same way as above, and select “kernel.log” from the file list. Post the dozen or so most recent messages in the log — the text, please, not a screenshot.
    If there are runs of repeated messages, please post only one example of each. Do not post many repetitions of the same message.

  • What is the Tcodes for Uploading of data using BDC & CATT

    PP members:
    I was going through the <b>cutover activities</b> ,  and what I understood is  we transfer all the legacy system data into SAP before going live
    The data upload follows certain steps (depends on the organizational design load strategies)
    First we upload all the master data ( material master, BOM, W/C's & Routings)
    Then the transaction data ( Ideally speaking, there should no open orders i.e. WIP as on the day of cutoff )
    If the WIP (Work in Process) is unavoidable then the materials consumed shall be treated as <b>materials of the previous stage</b> and necessary adjustments shall be made after cutover day
    At this point, I could not able to understand what does the author mean <b>materials of the previous stage</b>
    Now comming to the uploading of data into SAP from legacy system, we use tools like LSMW, CATT & BDC
    Is it a must to use <b>only LSMW tool</b> to upload master data or any other upload tools are fine
    Lastly,. I am not sure about the Tcode of CATT & BDC
    Summary of the questions:
    1.What does the author mean  <b>material of previous stage</b>, for WIP materials during cutover activities
    2. Is it mandatory to use only LSMW tool for uploading for master data
    3. What are the Tcodes for upload tools CATT & BDC ?
    Thanks for your time
    Suren R

    Dear,
    1.What does the author mean material of previous stage, for WIP materials during cutover activities - as i understood, what is the stage of material..like it must have gone through 2 work centers and other 2 is left. i.e. you need to create Production order with only 2 operation as other 2 is already over. - usually it is done in such a way that we will create Production order and confirm till 2 operations and WIp is calculated so thatb FI will tally the books in SAP and lagacy.
    2. Is it mandatory to use only LSMW tool for uploading for master data - no you can use any tool as required and suits yr requirement
    3. What are the Tcodes for upload tools CATT & BDC- BDC through a prog in SE38. CATT through - SCEM.

Maybe you are looking for

  • Just updated from 10.6.8 to 10.9, now my 3 year old Macbook is slow.

    I just downloaded the new Mavericks 10.9 OS X (after 13 hours) and now my Macbook (purchased brand new in 2010) is super slow.  I'm having delayed click-to-open responses and load time is ridculous.  iMovie is THE WORST!!  It took me 2 hours to put t

  • Downloading photos to IPOD results in "The iPod cannot be updated." message

    iPod has update 2006-01-10 Using iTunes>Edit>Preferences>iPod>Photos (1) Selected option "Choose folder" iPod finds 16 photos (2)Click OK iPod returns message: "The iPod "Dom's" cannot be updates. The disk could not be written from or written to."

  • Date Effective SDO and named bind variable

    Hi. I have a problem with named bind variable in date effective ADF Business Component (:Bind_SysEffectiveDate). Service interface of my EmployeeHistorySDO has next methods: getEmployeeHistoryView1 updateEmployeeHistoryView1 findEmployeeHistoryView1

  • Expected date for Jdeveloper 11g production version

    i am planning to start development with jdeveloper (Forms 6i background). but with latest version. If you can help me out of dates of jdeveloper 11g production release. it will save my troubleshooting time. Also help me out some starting point to be

  • Flex compiler not using GlobalOptimizer.java?

    hello:       I dived into the source of the flex compiler and I found that in the package adobe.abc in the Flexsdk/modules/asc/src/adobe/abc.      as I just use the asc.jar to compile an actionscript file, with the -o2 option on, I found that it opti