Plz help me! How to get Connection?

Hi everyone!
I would like to get Connection (Database Connection) to execute SQL statement in Client side?
Please tell me how to do!
Thank you very much!

Create a application module variable.
String appModule = "model.AppModule";Create a config variable.
String cfg="AppModuleLocal";Create a view object instance variable.
String viewObject = "<viewObject>";Create a ApplicationModule object from the BC4J application module.
ApplicationModule applicationModule =
(ApplicationModule)Configuration.createRootApplicationModule(appModule, cfg);Obtain a Transaction object from the ApplicationModule object.
Transaction
transaction=applicationModule.getTransaction();
   if(transaction.isConnected()==false)
   transaction.connect("jdbc:oracle:thin:@<HOST>:<PORT>:<SID>", "OE", "<password>");Obtain the view object from the application module.
ViewObject vo =
applicationModule.findViewObject(viewObject);

Similar Messages

  • Hi will u plz help me how to get youtube on my iPad

    Hi guys will u plz help me how to get youtube apps on my iPad &amp; iPhone ?
    Thx

    It's now not part of iOS 6. However, you can download the YouTube app at http://itunes.apple.com/app/youtube/id544007664.
     Cheers, Tom

  • HT4407 i have hp laptop 64bit  , now i would like to install mac os on my laptop so plz help me how to install mac os in my laptop and how do i get mac os ?

    i have hp laptop 64bit  , now i would like to install mac os on my laptop so plz help me how to install mac os in my laptop and how do i get mac os ?

    There is no way to accomplish that.
    Buy a Mac.

  • HT4623 i got apple iphone 3 and i getting problem to activate that its showing message could not activate plz help me how can i activate my phone?

    i got apple iphone 3 and i getting problem to activate that its showing message could not activate plz help me how can i activate my phone?

    Most likely your phone is carrier locked to a different carrier than the SIM card you're using.  It will activate and operate only with the carrier to which it's locked.

  • HT201210 I have an old i phone 3G and do not know the password for it. trying to restore it from itunes but keep getting error code 1015, any help on how to get passed this please?

    I have an old i phone 3G and do not know the password for it. trying to restore it from itunes so my daughter can use it as an ipod but keep getting error code 1015, any help on how to get passed this please?

    Hi ratcat14!
    I have an article that can help you troubleshoot this issue:
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/ts3694
    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • I have lost my iphone 5 and after sometime I find it in my office but some one has lock it by Icoloud plz help me how to recover my phone

    Dear Friends
    I have lost my iphone 5 in my office  and after sometime I find it in my office in my back drawer but some one has lock it by ICloud plz help me how to recover my phone U have all details of my phone.

    The only way to locate/disable/erase any lost/stolen iPhone/iPod Touch is through Find My Phone or a similar app. However, this requires that Find My Phone be setup/activated, on your phone, before it was lost/stolen. You would then login at iCloud.com & try to locate it. This requires the phone be turned on & have an Internet connection. There is no other way to locate a lost/stolen iPhone. Apple can't/won't help you, nor will your carrier. Report the loss to the Police, your carrier & Insurance company. Change all of your passwords, especially your Apple ID/iCloud password NOW!
    If your carrier offers Blacklisting & they Blacklist the phone, it will be unusable as a phone.
    If locked with a passcode, and running iOS 7.0, then phone cannot be re-activated or the passcode removed without knowing your Apple iD/Password. It will be nothing but a useless paperweight.
    If not running iOS 7.0, the phone can be forced into recovery mode & restored.

  • Hi, can someone help me how can i connected my multimeter to my pc with rs232, because my computer can´t recognize the device, i mean the multimeter, is a multimeter keithley serie 2400, and i already downloaded all the drivers for labview even the VISA

    hi, can someone help me how can i connected my multimeter to my pc with rs232, because my computer can´t recognize the device, i mean the multimeter, is a multimeter keithley serie 2400, and i already downloaded all the drivers for labview even the VISA

    Marco,
    Here are some suggestions:
    1) Check the manual the Keithley manual to see how to configure the RS-232.   
        On some models you need set Factory defaults to USER and turn on the RS-232.   
        Also there may be a setting for SCPI which you want on (probably on by default).
    2) On your PC - open Device Manager. See if a COM port exists and is functional.
         You must get this working before continuing.
          You can set the COM port parameters by right clicking and selecting Properties.  
         (On some PCs the onboard ports can be disabled in the BIOS)
    3) If step two was OK, open MAX (Measurement and Automation eXplorer).      
        On the left side, click on Devices and Hardware.   
        Click on Serial and Parallel.   
        Go to the COM port you found in Device Manager.   
        Open a VISA Test Panel.
        Now I don't have one I can look at right now, so this is general idea:
       Configure the COM port to match the Keithley settings (should be OK if step 2 worked)  
       Go to the (I think) Input Output tab (you want to send a command)   
       The command string input should already have a *IDN? entered, if not, type it in.   
       Click on the Query button to send the command and check the response.  
       If you get an ID string back (Company name, Model, FW Version ...) then it works.   
       (Disregard an error saying it did not get enough charcters back.) 
    I hope this helps,
    steve
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.

  • Plz help me how to turn 3G on in iphone 4S???

    My iphone no show to "turn 3G on/off" in iphone 4S!!!
    plz help me,how to turn 3G on in iphone 4S???

    E indicates you are connected to an EDGE (2G) data network. Whether or not the 3G slider appears is up to the carrier. if it does not appear, as in your case, then 3G is turned on at all times. If the phone can not detect a 3G network, or if your account is not provisioned to allow 3G data service, the phone will automatically drop back to an EDGE network if one is detected.
    Contact your carrier. make sure that you are in a 3G coverage area, and that there is not a problem with the 3G service in your area, and that your account is properly provisioned for 3G data.
    Try Settings>General>Resets>Reset Network Settings.

  • I updated my iphone4 when i updated it require the previous owner of iclouds email and password but i didn't know him because i purchased it as second hand plz help me how i can rid from it :((((((((((((((((((((

    i updated my iphone4 when i updated it require the previous owner of iclouds email and password but i didn't know him because i purchased it as second hand plz help me how i can rid from it :((((((((((((((((((((

    Welcome to the Apple community Fazypk.
    Unfortunately, you cannot do very much with your phone unless you get assistance from the previous owner, they should either provide you with the password to unlock it or remove their account from the phone entirely remotely through iCloud.com > Find My Phone.

  • HT2534 but i have problem in step 13.  i can't see  step(13) because the red box that has this message "please contact itunes support to complete this transaction" apears. plz help me how can i pass this step

    but i have problem in step 13. i can't see step 13 because the red box which has this message " please contact itunes support to complete this transaction" apears. plz help me how can i pass this step

    You will need to do what it says, contact iTunes support. Click the Support tab above, then the Get Started link in the Contact Apple Support area and you'll be guided.
    Regards.

  • I have a defective iphone5 which is under guarantee,but unfortunately there isn't any apple retail store in my country.would you plz help me how can I change it?should I go to near country such as Dubai or Turkey to change it?

    I have a defective iphone5 which is under guarantee,but unfortunately there isn't any apple retail store in my country.would you plz help me how can I change it?should I go to near country such as Dubai or Turkey to change it?

    If the iPhone came from the US, then that is the only place where Apple will service it. If you can't take it there yourself, you would need to send the iPhone to someone you know in the US who could get it serviced and then send it back to you.
    Your only other option will be to find some unauthorized cellphone repair shop to attempt a repair, after which all further support from Apple, in the US or anywhere else, will no longer be available to you.
    Regards.

  • I have an Apple I Phone 4S which is great but, can someone help me how to get the photos and videos to my PC which runs on MS XP. I would like to be able to edit and copy to a DVD.

    I have an Apple I Phone 4S which is great but, can someone help me how to get the photos and videos to my PC which runs on MS XP. I would like to be able to edit and copy photos and videos to a DVD.

    Connect your iPhone to your computer. Tp your pc should recognize your iPhone as a camera. Use what ever application you have on the pc to transfer files from a camera to your computer.

  • Help my iPod won't let me download apps... I'll put my password in then it takes me to the app but then is just goes away then I do it again an it won't load or it will just go away again plz help I want to get apps

    Help my iPod won't let me download apps... I'll put my password in then it takes me to the app but then is just goes away then I do it again an it won't load or it will just go away again plz help I want to get apps

    You said you updated yur 1G iPod to 4.2.1. A 1G can only go to 3.1.3 and thus you must have jailbroken it to get to 4.2.1 and that can cause problems.
    ArealDJ wrote:
    I have the same problem.. apps won't download and won't open. I have a 1st Gen ipod touch and recently upgraded my MacBook Pro (2012) and as soon as I upgraded the iPod Touch to 4.2.1, this happened. I restored to factory defaults and still cannot dl and open apps. Any way to diagnose this problem? Apple tech charges $29.99 for out of warranty products and if I am reluctant to pay with them telling me its simply a hardware problem.

  • I have updated to maverick from mountain lion.initially my mac book pro was snow leopard.the multitrack touch pad swapping the page is not happening in finder,it is only working in safari.please help me how to get that swiping gesture in  finder

    i have updated to maverick from mountain lion.initially my mac book pro was snow leopard.the multitrack touch pad swapping the page to get back to previous page is not happening in finder,it is only working in safari.please help me how to get that swiping gesture in  finder

    Hi..
    I repled to you here >  https://discussions.apple.com/message/25598596#25598596
    Please do not start duplicate topics. It makes it that much harder to assist you.

  • Plz help.  How disable caching SQLJ statement  on WebLogic server 10.3?

    Plz help.
    How disable caching statement by SQLJ on WebLogic server?
    what the actual problem:
    1. create or replace view vtest as select object_name from dba_objects where rownum<200
    2. test.sqlj
      #sql dx testIterator = {
         select object_name from vtest
       int cnt=0;
       while( testIterator.next() ){
         cnt++;
       System.out.println("Count: "+cnt);
    3. Restart WebLogic and deploy project
    4. Run test on server, in log file
    "*Count: 199*"
    5. create or replace view vtest as select object_name from dba_objects where rownum<10
    6. Run test on server, in log file
    "*Count: 199*"
    7. Restart WebLogic
    8. Run test on server, in log file
    "*Count: 9*"

    Hi bud,
    Have you tried using WLST for what you are trying to achieve?
    Please take a look at the following links:
    http://docs.oracle.com/cd/E11035_01/wls100/config_scripting/domains.html
    http://docs.oracle.com/cd/E13222_01/wls/docs91/config_scripting/domains.html
    http://docs.oracle.com/cd/E13179_01/common/docs21/interm/config.html
    Hope this helps.
    Thanks,
    Cris

  • Hi can anyone help me how to get facetime application for iphone 4s

    Hi
    can anyone help me how to get facetime application for iphone 4s since i am not able to find it.

    FaceTime is builtin, there's no icon. Use your Contacts app and if the recipient has iPhone 4/4S, iPod Touch 4th G, iPad 2 or Mac, you can FaceTime them using Wi-Fi.
    Message was edited by: ckuan

Maybe you are looking for

  • Urgent!!!! regarding report output

    i have a requirement such that, i need report without top of page..but headers needed to be in the printout in all pages.......pls gv ur suggestions. thanks

  • How to modify the blob size, or how to set the size?

    i want to know how to modify the blob size, or how to set the size? what's the default size of blob? Thanks in advance.

  • Subtitution, Statistical posting to Cost center

    Dear Experts, 1. I've created 2 substitution rule that saying: A. whenever there will be posting to Order from Order type Z300 and Company code 01 >>>>      there will be statistical posing to Cost center CTR01 B. And the second substitution is whene

  • How to remove toc_marker

    I want to know could I remove all toc_marker 's entries from toc.ncx file Usually it looks like <content src="name_name.xhtml#toc_marker-5" /> and such toc_marker 's can be 10, 20, 100.. depending on amount of xhtml files in ePub. Can I directly crea

  • Custom playlist folder showing songs that aren't in any of the playlists

    I'm running iTunes 7 and I've created a folder to store all of the playlists that I use for DJing. Right now I've got about 90 - 100 playlists in that folder. When I highlight the folder to show all of the songs in that folder, I notice that it also