How to make a request to a database?

Hello

I just want to know if it is possible to connect to a database with a smartphone application written in java, to make the query to the database?

I had to use the webservices?

Thank you for your help.

Yes, you will need to use webservice / some server script to access the db server.

Tags: BlackBerry Developers

Similar Questions

  • How to make a request on a URL using webworks development environment?

    Hey geeks,


    How to make a request on a URL using webworks development environment?


    Thanks in advance...!

    "A request for a url" you try to perform an ajax call and it does not work? Any field/origin you're wanting access must be white listed in a element in the config.xml file. Details of this are in the WebWorks development guide

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

    People,

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

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


    Cold backup is below:

    SQL > startup
    ORACLE instance started.

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


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


    RMAN > backup database;

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


    RMAN > backup HRCS90

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


    RMAN > backup database HRCS90

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

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

    My question is:

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


    Thank you.

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

    For example.

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

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

  • How to make a request on several employees salary increment

    Dear gurus,

    I want to apply increment on the wages of many employees without going through the window of salary for each employee. Someone knows how to do, or in any case which still exists? It will make my job a lot easier.

    Hiya,

    Pls check Metalink Note: * salary Administration installation and use [201235.1 ID] *.

    MAINTENANCE OF MULTIPLE SALARIES

    Use the record of wages management to work with sets of assignments for the mass
    entering and approval of salaries.

    Navigation: U.S. rrh > people > payroll

    If you, for example, 10 employees to approve salaries, you can
    CTRL - click to select these employees and then click approve. If
    you have a significant number of employees or manipulate data on wages.
    Launch the Application Data Export (ADE).

    A. interview assignments you want to work with.
    B. then on salary management, click the icon of the ADE to start ADE.
    C. in the extract ADE, select the style of the 'proposal for a salary"and select spreadsheet. Click Start.
    D. change the data in the worksheet. Save the spreadsheet with a new name.
    E. exit of the worksheet.
    F. in ADE, choose the Download"" button.
    G. support to choose and select the new worksheet that you saved.
    H. Select Tlchg.
    I. update data in the payroll window.

    Hope that helps,

    See you soon,.
    Vigneswar

  • How to make a backup of sql database before upgrade to vSphere 4

    Hi, I own a vcenter 2.5 running with microsoft sql server lite (supplied by binary vcenter)

    What is the best practice to backup my DB before doing the upgrade?

    Is there a risk to my host, because now, they run in 3.5

    Concerning

    On your database server, open SQL Server Management Studio Express.  Connect to the SQLEXP_VIM database. List drop-down list of databases, click with the right button on VIM_UMDB, go to work, go to the backup. Note the backup location, make the desired changes, then click OK. Do the same for the VIM_VCDB. vCenter4 has no problem of ESX 3.5 server management, I have a mixed environment at the moment and it works fine. Keep in mind when you begin to update your virtual hardware version 7, you will no longer be able to vmotion for ESX 3.5 boxes.

  • How to make a request for Validation on the field of comments in BPM Worklist task details Page

    Hello
    I am newbie to SOA 11 g.

    I use SOA 11 g and Jdev 11.1.1.3 for development. I created a human with two results (APPROVE, REJECT) and task able to display the page the task details in the BPM list. I have the comments of default section that comes by 'Auto generation of ADF Taskflow' in the Task Details page. This comments section will display the comments of several users who have access to the task. I want to add validation for the field of comments as below-

    (1) to DISMISS the action, we must check whether or not the APPROVER had provided the reason for REJECTION in the comments field. If this isn't the case, we need to display a popup asking him to provide observations of REJECTION.
    (2) on the action to APPROVE, no need to check for comments, so no validation is necessary.

    Can someone give me some ideas how it is possible.

    Thank you
    Udaya Neeliahgari

    Hello
    Try the following...
    In the composite open y'r process bpel... and then to expand the human task... you will notice a task entitled just before the initiateTask run the following two copy operation in the task of AssignTaskAttributes within the scope of the human task.

    IMP Note: The variable is the variable initiateTaskInput of the human task field. Don't assign not on on the global variable

    1 assign a string value "REJECT" in the expression (assuming that you do so that the result of REJECTION) and assign it to the variable

    /TaskService:initiateTask / task: task / mission: systemAttributes / task: preActionUserSteps / task: preActionUserStep / task: results

    2 assign the string value "PROVIDE_COMMENTS" in the expression and assign it to the variable

    /TaskService:initiateTask / task: task / mission: systemAttributes / task: preActionUserSteps / task: preActionUserStep / task: userStep

    view the .bpel file source y'r and make sure that you see something like the following:




    Query = "" / taskservice:initiateTask / task: task / task: systemAttributes / task: preActionUserSteps / task: preActionUserStep / task: result "/ >"




    Query = "" / taskservice:initiateTask / task: task / task: systemAttributes / task: preActionUserSteps / task: preActionUserStep / task: userStep "/ >"

    Just deploy the app... and when you try to dismiss... it should appear the message.

    concerning
    Raja

  • How to make this request?

    Hi all

    I am using oracle 11g,

    Here is my requirement.

    Name of the table - emp_test with two columns

    emp_id emp_text

    1A - 000045 level of protection of personal information

    B-09087 of level 2 of the privacy

    3 level of confidentiality A 098765

    4b level of confidentiality-00876

    Expected result

    emp_id emp_text emp_text1

    1 null of A-000045 level of intimacy

    2 null B-09087 level of privacy

    3 level of confidentiality A 098765 null

    4 null B level of confidentiality-00876

    Concerning

    Dale

    Hi, Dale,

    So, sometimes, the column emp_text in the output is identical to the emp_text column in the table and emp_text1 is null, and sometimes it's the other way around; is this fair?

    How do you decide when the emp_text of output is identical to the original emp_test, and when it is NULL?

    Depending on your needs, your data and your version of Oracle, here's one way:

    SELECT emp_id

    CASE

    WHEN emp_text AS "Prvacy % level".

    THEN emp_text

    END AS emp_text

    CASE

    WHEN emp_text NOT AS "Prvacy % level".

    THEN emp_text

    END AS emp_text1

    Of emp_test

    ;

    If you would care to post CREATE TABLE and INSERT statements for your sample data, then I could test it.

  • How to make a request for validation of master-detail

    Hello all;

    I have an attribute Total points in Master table... I want to apply validation on secondary table where the attribute is get marks.

    Ways to say what teacher enter brands in retail VO (attribute obtain marks) and then get marks must be equal or less then total points of master table.

    Thank you

    Concerning

    Jason Sheharyar wrote:

    Dear Ashish;

    I do the same thing... as you said... this link

    Born in DeBug: entity attribute Validation rule (business rule) from master view object attribute example ADF 11 g

    I got the error shows

    STRINGMANAGER: Key: entity.exam.classExamResultEO_Rule_0 not found in oracle.javatools.resourcebundle.ResourceBundleRT bundle

    Hi Jason,

    Do you use resource bundle in your application to display label and text?

    If Yes, then set your commit message in your xml file and put the key in handling tab of EO Validation rule failure

    then go to the source of the OT and see res_id should be identical to your key, if not then paste there

    ensure that there should be a reference for your configured resource package and go after the source XML Eo

    <>

    MsgBundleClass="mstapp.view.label.Resource"/ > / / change this according to your classpath in Java resource file guidelines

  • How to make a database for an application

    How to make a database for an application. I can create it outside somewhere in my computer and then copy it into the current folder? or is there a standard way?

    Yes you can do it outside if you wish, two programs I've used SQLite Browser and sqlitestudio two do work but sqlitestudio has more features and is the one I now use exclusively.

    There are many others, however, simply search for sqlite application in google.

  • How to make a GRANT previliage on a table in a different database?

    How to make a GRANT previliage on a table that is in a different database (different host)?

    Published by: user10980630 on April 6, 2009 05:18

    Create the link of database between databases and give GRANT to any table on the database

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com

  • Database adapter: how to make queries that use LIKE with the %

    Hello! I'm sure this has already been answered somewhere, but the forum search ignores characters like '%', so I was unable to find.

    I can't understand how a query using % using the jdeveloper database adapters.

    I tried a number of variations of

    SELECT id, name FROM testtable WHERE name like '%' + #nameParam + '% '.

    But I get a 'not a number' error, because it seems that he do not concatenate strings but try to add as numbers :(

    Can someone help me please?

    Ruben,

    Have you tried to use the ANSI string concatenation operator.

    You can also try the forums SOA Suite or BPEL, as there are probably more people who understand what you're asking here.

    John

  • How to make my confidence one ways c# windows application that should not blocked by antivirus Applications and how to get the third-party certificate for that?

    Hello

    I built a windows c# application that accesses OS, printer information using WMI query, monitor keyboard strokes overall Win32 API and calls others our executables too.

    Whenever I try to deploy it to computers to our customers, it is getting blocked by antivirus applications.

    If I want to make my request as being approved, we mean that it shouldn't be blocked by antivirus applications.

    How to get the certificate of trustee for my application? Even I am ready to make my request as registered product.

    Kindly let me know the procedures, solutions.

    Thank you

    Senthilkumar AK


    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.msdn.Microsoft.com/forums/en-us/home

  • How to make an application that can be accessed by another application?

    Hello

    I want to make a request that can be used anywhere as if we were able to do using Applicationmenuitem in an earlier version of BB. With the help of applicationmenuitem, we were able to call functions of the application. I want to do something like this, how is it possible in the cascades?

    The framework of the invocation is the way to do it today.  Your application can register to treat a certain type of file (mime type or extension), and then may be an option to the user when they attempt to open this type of content from another application.

    There is no way to inject specific menu items that you can with ApplicationMenuItem.

  • How to make the icons of programs appears on the screen of windows 8

    Hi Thunderlight, you helped me with my last request and thank you again now I have another question that you might be able to help me with.  How to make the icons of programs appears on my screen of windows 8?  I had to download the debut8 when I had windows 8 so I would have the appearance of windows 7 until I have to use Windows 8.  And some of my icons of windows 7 on my windows 8, but not all.  How to go on my windows screen 8 tiles?   I now get more usage of windows 8 and use it more now so would like all my original programs that I had with windows 7 on my windows 8 as it is now tile.  I thank you and hope you can help.

    Hi Laura,

    In theory, when you switch from an earlier version of Windows to Windows 8 - as your installed applications are kept by the upgrade process, except those who are not compatible - you should find all your apps in Windows 8.

    If they all do not appear on your start screen follow these steps to pin them there:

    • [Win] + C
    • Search
    • Click anywhere in the top middle of the screen to hide the charm bar

    All installed applications are displayed. They do not necessarily correspond on a single screen to use the horizontal "lift" to bottom of the screen to move to the right / left

    • Right-click on an application, you want to pin to the start screen
    • Click on Pin to Start at the bottom left of the screen

    You are finished. A mosaic of this application is available on the start screen.

    If there is an application, you are sure is installed on your PC and you don't think through the steps made me know - there will be more complex...

    If you install a new application under Windows 8 the corresponding tile is automatically added to your start screen.

    Hope this helps

    See you soon

    LZ.

  • How to make an ISO file Flash Player, instead of burning a DVD?

    I know how to make a DVD ISO file, install windows 10 preview, using Imgburn.

    But, how do an ISO file flash drive to install Windows 10 preview? How IMgburn can work for that? ImgBurn just do the conversion and then simply write to the flash drive.

    I can't believe you can "burn" a flash drive. (Someone correct me on this)

    danoVista

    Hi DanoVista,

    Thanks for posting the request in Microsoft Community Forums.

    With the ISO downloaded completely, simply transfer it to a USB flash drive. To burn an ISO to a USB stick, download Windows 7 USB/DVD tool is probably still your best bet.

    If you encounter a problem during the creation of bootable flash drive, you can use your favorite search engine for any utility that allows to format and create bootable USB flash drives.

    DISCLAIMER of THIRD PARTY SOFTWARE: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Hope this information helps. Response with status so that we can help you.

Maybe you are looking for

  • What type of display TN?

    Computer HP 2711 x 27 "widescreen LED backlit LCD display

  • Suspicious charges

    I was charged $79.95 twice the same day of pc.com Safebank MOSCOWRU and also Safedirect.c MOSCOWRU with a total of $159,90. I want to know who took this on my account and a phone number to get my money refunded to my account

  • Size - allows you to restore the default settings

    original title: size... How can I change my settings back to the default settings. The way it is right now I can't view the entire page

  • Upgrade to the HW support

    Hello We have a PowerEdge T420 with Windows SBS 2011. We want to upgrade the hardware in a rack mountable machine. Could we buy a naked (without BONE) rack mountable machine and transfer its T420 licenses to the new machine and our Windows SBS 2011?

  • BlackBerry Smartphones eception exception error when you try to open the text

    After the reboot, I am unable to open my texts... receiving Eception Exception: java.lang.IndexOutOfBoundsException.  I have rebooted several times, but I get the error.  Any Suggestions?  Thank you