Connection to database using Flex

How to connect to the database like sql server using flex?

Clarification: XML is not the only format you can use. For more information about your options and a quick overview of the data access server side through Flex, see http://help.adobe.com/en_US/flex/accessingdata/WSbde04e3d3e6474c46c45e7b4120d413dc14-8000. html

Tags: Flex

Similar Questions

  • Unable to connect local database using net service name

    Hello all;


    FYI: This question has been posted in high availability. Now, it has been deleted from there.


    I'm trying to connect my local database using authentication remote.

    but make a mistake. Client & server are on the same server.


    SQL > conn u1/u1@primdb

    ERROR: ORA-12545: Connect failed because target host or object does not exist


    SQL > conn / as sysdba

    Connected.


    SQL > show parameter db_name;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_name chain primary


    SQL > show parameter service_name.

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    service name string mydb


    SQL > show parameter db_domain;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_domain string primary.com


    SQL > show parameter global_name;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    global_names boolean FALSE


    SQL > select * from global_name;

    GLOBAL_NAME

    --------------------------------------------------------------------------------

    PRIMARY

    [oracle@localhost admin] $ lsnrctl start

    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on January 18, 2014 16:32:08

    Copyright (c) 1991, 2005, Oracle.  All rights reserved.

    From /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...

    TNSLSNR for Linux: Version 10.2.0.1.0 - Production

    System settings file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora

    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log

    Error listening on: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=oel5.linuxserver) (PORT = 1521)))

    TNS-12545: Connect failed because target host or object does not exist

    AMT-12560: TNS:protocol adapter error

    TNS-00515: Connect failed because target host or object does not exist

    Listening port could start. See the above error messages...


    -----------------------------------------------------------------------------------


    My listener.ora file content:

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = primary)

    (ORACLE_HOME = u01/app/oracle/product/10.2.0/db_1)

    (GLOBAL_DBNAME = mydb.primary.com)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oel5.linuxserver) (PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))

    -----------------------------------------------------------------

    My tnsnames.ora content

    primdb =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST= oel5.linuxserver) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = mydb)

    )

    )

    --------------------------------

    $ tnsping primdb


    AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on January 18, 2014 16:40:55

    Copyright (c) 1997, 2005, Oracle.  All rights reserved.

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = oel5.linuxserver)(PORT=1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = mydb)))

    TNS-12545: Connect failed because target host or object does not exist

    Thanks in advance...


    SERVICE_NAME =? in tnsnames.ora file should MATCH what is reported by the listener EXACTLY (like one from below)

    > Service 'mydb.primary.com' has 1 instance (s).

    Instance of 'primary', State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    > Service 'primary.primary.com' has 1 instance (s).

    Instance of 'primary', State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    > Service 'primary_XPT.primary.com' has 1 instance (s).

  • Unable to connect target database using dbclient

    Hi all

    I installed database 11.2.0.2 successfully on linux machine.other machine is windows machine, I installed in CUSTOMER DB 11.2.0.2 by using db client unable to connect target database.


    Database version: 11.2.0.2(64 bit)

    Windows database: 11.2.0.2(32bit)


    Thank you
    GS

    I installed database 11.2.0.2 successfully on linux machine.other machine is windows machine, I installed in CUSTOMER DB 11.2.0.2 by using db client unable to connect target database.

    Set up Listener on the server?

    Can you tnsping from windows to linux machine?

  • Connection to database using an ASP Javascript page

    I use the trial version of the CS6 cloud. Open an ASP Javascript page then wants to connect to my database. The only thing that appears is a spry connection. If I open an ASP VBscript page, the connection is available. I have CS3 and wanted to update, but in this respect is not in CS6 for an ASP Javascript page?

    While the definition of site offers a choice of ASP JS, ASP VBScript is the only version of ASP that DW CS5 + supports for the automatic generation of code through server behaviors & recordsets. So, I guess you're out of luck.

    ASP.NET & JSP behaviors have been deprecated in DW CS4. ASP JS behaviors have been deprecated in DW CS5.

    -ST

  • How to connect a database using coding in the shutter button in forms

    Oracle forms6i

    Hai All

    Y at - it a possiblity to connect using the coding of data bases.

    For example, when we open a form and we use some button and write some coding and when we run a small will appear and give us the user name, login name and database name.

    It is possible it when we create a button and this button we write our database name, the login ID and the user coding and when we exe it will connect to internal database Pls tell me...


    Concerning

    Srikkanth.M

    Use the LOGIN procedure

    PROCEDURE LOGON
      (username  VARCHAR2,
       password  VARCHAR2); 
    
    logon('scott','tiger@orcl');
    

    Mr.Srikkanth.M if you do not close your old questions do not answer your question each time... so please remember if you think that the response of the person is useful or appropriate mark it accordingly

    Thanks :)

    Bangoura
    [My Oracle Blog | http://baigsorcl.blogspot.com/]

  • Impossible to connect to my database using net service name

    Hello all;

    I'm trying to connect my database using net service_name, but I get the error message.
    I have an entry in tnsnames.ora and listener.ora.
    Please, help me to crack this error.



    SQL > select name from v$ database;

    NAME

    ORCLTEST


    SQL > grant connect, resource to u1 identified by u1;
    Grant succeeded.

    SQL > grant sysdba to u1;
    Grant succeeded.

    SQL > show the passage of parameter;

    VALUE OF TYPE NAME
    Remote_login_passwordfile string EXCLUSIVE

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


    The DBS directory:

    [oracle@linuxserver dbs] $ orapwd file = orapworcltest password = entries asdf1234 = 3


    export ORACLE_SID = orcltest
    [oracle@linuxserver ~] $ sqlplus/nolog

    SQL * more: Release 10.2.0.1.0 - Production on Sat Mar 9 19:24:22 2013

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    ERROR when you try to connect

    SQL > conn u1/u1@ORCLMYTEST
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux error: 2: no such file or directory


    SQL > conn u1/asdf1234@ORCLMYTEST
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux error: 2: no such file or directory


    Thanks in advance...

    969352 wrote:

    But you should go and get some classes on Oracle OR understand the Oracle documentation otherwise, you won't learn anything ever.

    -Yes. I learn and I work very hard. Few things is not documented ex (even this thread).

    In any case thanks...

    IMO, it's a security risk to allow the connection AS SYSDBA through the network & I never turn on any DB.

  • RCU error: unable to connect to the database using the contact information provided

    Hello

    I am not able to connect to the database using the remote control 11.1.1.10.1 to create patterns. I ran the UCR even a week ago and I managed to connect. My database and listener are up and running and the host and the credentials are correct. I don't know where is the problem. Any help will be appreciated. Attaching the screenshot for reference.

    rcu.PNG

    Concerning

    Oumaima

    Hi Handal

    Thanks for the reply. Looks like someone had blocked the firewall settings, so I was unable to connect to the database using the port.

    Thank you

    Oumaima

  • Is it possible that muse adobe to have a Back-End that connects to a database using MySQL, SQL, Access etc...

    Is it possible that muse adobe to have a Back-End that connects to a database using MySQL, SQL, Access etc...

    Nothing to do with the Muse at all. You have things backwards. If you use a dynamic interface, you work in the API hooks and predefined functions and that he don't just slap on an arbitrary HTML façade. It is simply not how it works.

    Mylenium

  • Hi, I'm developing a simple mobile app in DW CC 2015 using JQuery Mobile. LIKE I need the list view with description of the product, functionality and image, I would like to connect with database instead of "writing" all the tables in the bearings inside

    Hi, I'm developing a simple mobile app in DW CC 2015 using JQuery Mobile. LIKE I need the list view with description of the product, functionality and image, I would like to connect with database instead of "writing" all the tables in the bearings inside the Jquery page. In the future I would also be able to add, to remove the DB records. Any help, tutorial... Thanks TG

    I would like to connect with the database instead of "writing" all the tables in the bearings inside the Jquery page

    This is usually done with a CMS (content management system). There are commercial products CMS like WordPress, Joomla and perch. You create one or several layouts and then create pages of these page layouts using the CMS. In this way, it is possible to have hundreds of pages, each with unique content, but a page layout that can be managed in a place of sharing.

    CMSs on shelf don't require programming skills. Otherwise, some of us write our own CMS with custom functions, but this requires back-end, as with PHP programming.

  • Connection to the remote database using Oracle 11 g Builder

    Hi all

    This could me stupid question, but I have installed Oracle Forms and reports 11g on Win 7 machine. I copied the file "tnsnames.ora' on the record ' ORACLE_HOME/Network/Admin". We use Oracle EBS R12 and I want to create a new report using 11 g.

    Using the report wizard after providing a simple query, we need to connect to the database. And even after the entry of TNS, I am getting error connecting to the database, following
    "REP-0501: the specified database can be connected.
    "ORA-12154: TNS: could not resolve the connect identifier specified.

    I am able to connect to the same database using the Report Builder (10.1.2.0). Is there another place where I need to set the TNS entry? How can I solve this error? Please guide...

    Kind regards
    Priyanka

    Hello

    In forms and reports 11g, default defined in tnsnames.ora is: ORACLE_INSTANCE\config.
    Please note that the ORACLE_INSTANCE is not the same as ORACLE_HOME.
    Example:
    ORACLE_HOME = D:\Oracle\Middleware\as_1
    ORACLE_INSTANCE = D:\Oracle\Middleware\instances\asinst_1

    If you set the admin TNS_ADMIN variable in the registry, you can point to a new location for tnsnames.ora

    Kind regards
    Alex

    If someone useful or appropriate please mark accordingly.

  • not able to connect to the database using the oracle instant client

    Hello

    I am not able to connect to the database using the instant oracle from my local PC client. They use to connect to the database files and sqlnet.ora files LDAP.ora. If I want to test the connection, I found this executable tns wasn't there, so not able to tnsping. So I'm not able to solve this problem.

    Please let me know if a solution for everything

    Client Oracle: oracle 10.2bFAT client 32-bit

    Platform: windows 7 64-bit

    Thank you
    Veera

    There is little that tnsping can do sqlplus can't.

    Instead of
    tnsping mydb.myorg.com
    Try
    sqlplus-s-L /@mydb.myorg.com
    or
    sqlplus-s-L user/[email protected]

    If you get
    ORA-12154: TNS: could not resolve the connect identifier specified
    you know that the customer could not resolve 'mydb.myorg.com '.

    If you get
    ORA-12541: TNS:no listener
    then "mydb.myorg.com" could be resolved, but there is no listener it running.

    If you get
    ORA-12514: TNS:listener is not currently of service requested in connect descriptor
    then "mydb.myorg.com" could be solved, the listener is in place, and the database is out of service.

    If you get
    ORA-01017: name of user and password invalid. connection refused
    you know that 'mydb.myorg.com' has been successfully resolved, and the database is running.

    If you want more details, such as how and what "mydb.myorg.com" is resolved, turn the tracking by adding the following to "sqlnet.ora:
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_DIRECTORY_CLIENT = C:\TEMP (a writable directory)

    Then you will find lines like this in the trace file:

    -THE INFORMATION SOURCE PARAMETER FOLLOWS-
    Attempt to load system pfile source C:\oracle\network\admin\sqlnet.ora
    Source of the setting successfully loaded

    Attempt to load the local pfile source C:\Dokumente und Einstellungen\lanadvall\sqlnet.ora
    The parameter source has not been loaded.

    This shows you which configuration files are read, followed by the settings real read.

    nnfgrne: will read if path adapters
    nnfgrne: switching adapter LDAP

    He's now looking for LDAP name resolution.

    nnfloidinfocache: Info: insert the value DIRECTORY_SERVSSL = oid.host.myorg.com:389 at index 0 in NLPA_CACHE

    These are LDAP servers, he is trying.

    nnflilc: conn sync opening of oid.host.myorg.com:389

    nnflfdn: turning simplified mydb.myorg.com name to a unique name.
    nnflfdn: using the administrative context: dc = prod
    nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = com

    nnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
    nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)

    nnfgrne: query fails, the leap to the next map

    Did not work. Try the other adapters:

    nnfgrne: switching adapter EZCONNECT

    snlinGetAddrInfo: name resolution failed for test64.test

    No luck.

    If the resolution is approved, it will look like this:

    nnfloidinfocache: Info: insert the value DIRECTORY_SERVERS = oid.host.myorg.com:389 at index 0 in NLPA_CACHE

    nnflilc: conn sync opening of oid.host.myorg.com:389

    nnflfdn: turning simplified mydb.myorg.com name to a unique name.
    nnflfdn: using the administrative context: dc = prod
    nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = com

    nnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
    nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)

    niotns: the call to address: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dbserver.host.myorg.com) (PORT = 1521)) (CONNECT_DATA = (SID = DBNAME) (CID = (PROGRAM = C:\Oracle\ora1020\bin\sqlplus.exe)(HOST=pc247596)(USER=lanadvall)))

    Yours,
    Laurenz Albe

  • Not able to connect to the database using OS othenticated user.

    Hi team,

    We use HP UX servers, recently we pass the passive node to active (cluster OS) after that we are not able to connect to the database using OS authenticated the user, but I am able to conenct by user oracle sunig... !

    Please suggest me.

    Thank you
    Maurel.

    Please copy - paste the screen indicating the connection attempt with the authentication of the BONE and the error message.

  • Direct Connect to Database 11 g

    Hello

    Ive installed the database Oracle 11 g on my Windows 2008 R2 server and I tried to connect to the database using a different computer on my LAN and I couldn't connect to it.

    How can I connect to my Oracle database WITHOUT use of tns.

    Thanks in advance

    Shawn

    EZCONNECT - Oracle FAQ

  • Can us refresh database using the recovery catalog?

    Hi all, I need update the dev of database using the prod database backup, we have TSM server and database of separate catalog for storing backups. No, my doubt is, we can update database dev using catalog, which has the backup of all info the prod

    In my previous organization, we used to copy the backup of the prod dev we restore and recover it in dev db. But in this organization, we have a TSM server that stores all backups of prod and dev.

    Please tell me we can update dev db using info catalogue simply and without copying backups of prod? If possible how?

    Thank you

    Harish

    user8596912 wrote:

    Yes I know that the content of the rman script.

    But we have not, so how can we be expected to comment on?

    My question is that the connection to the rman is good or bad?

    It would depend on the content of the script you do not think that we need to see.

    In the end, you can determine whether this is good or bad by testing.

    Because the rman is not connected directly to the target db prod.

    Have you read the link I gave you?

    I would limit for you: a database mirroring

    The docs in detail how to duplicate a database

    1 - active database

    2 - from a backup WITH a connection target (the database prod)

    3. from a backup WITHOUT a connection target (the database prod) but WITH a recovery catalog connection

    4 - from a backup WITHOUT connection AND connection catalog recovery target (the database prod)

    BTW, why you score your own messages as 'useful' to your own problem?

  • Public connected user database link creation

    Hello, DBA

    I tried to create the user database link connected audience.
    I have two databases (orcl, orcltest)

    Orcltest database, I created dblink

    SQL > grant create public database to u1 link;
    Grant succeeded.

    SQL > conn u1
    Enter the password:
    Connected.

    SQL > create sequoia link of public database using "orcl".
    Database link created.


    In orcl, I tried to access

    SQL > select * from u1.tab1@redwood;
    Select * from u1.tab1@redwood
    *
    ERROR on line 1:
    ORA-02019: description of the connection to the remote database not found

    QUESTION: what is the error?
    Note: tns, earphone works very well. No problems.
    Prod: 1 0.2.0.4.0
    OS: rhel 5.1

    Thanks in adnvance...

    Hello

    Orcltest database, I created dblink

    SQL > grant create public database to u1 link;
    Grant succeeded.

    SQL > conn u1
    Enter the password:
    Connected.

    SQL > create sequoia link of public database using "orcl".
    Database link created.

    Here, you create a DBLINK on the ORCLTEST to the ORCL database, sort of source database is ORCLTEST and target is ORCL.

    In orcl, I tried to access

    SQL > select * from u1.tab1@redwood;
    Select * from u1.tab1@redwood
    *
    ERROR on line 1:
    ORA-02019: description of the connection to the remote database not found

    It will not work because you created the dblink on the source database, which is ORCLTEST.

    DBLINKS give you a way to access resources (tables, indexes, packages, etc.) in a remote database.

    What you do is:

    1. create a dblink on ORCLTEST. This dblink will provide access to ORCL via the ORCLTEST.

    2 instead of this, you you connect directly to ORCL. That won't work, your DBLINK is not here, you can create another one here pointing to the ORCLTEST.

    DBLINKS act as a bridge, a connection between two databases. They are only available in the source database to create a link to a database remotely (target).

Maybe you are looking for

  • With the help of blade to separate a clip causes a dumpster in video

    I'm editing a travel video and I have a few questions for the use of FCPx: (1) I have a clip which has varied exhibition throughout the clip segment. To resolve this problem, I used the blade to cut the clip into two parts where the exhibitions are d

  • iCloud address Alias address sending to iCloud

    It's weird: something changed recently - right at the beginning of the 2016 - with respect my iCloud.com E-mail address.  There seems to be something very specific, although I do not know how some (still at the experimental stage). My mother and I ha

  • Simple timer

    I'm trying to time an event as part of the larger VI, I joined the little that I want to do the timing, it is based on the example of VI. My contribution will be initially true then go wrong for a period of time (I want to measure) and then go back t

  • Runtime 216 to 3A2A0A35 error each time I close the browser.

    Original title: Runtime 216 to 3A2A0A35 error. I mean Runtime 216 3A2A0A35 error whenever I close the browser. How should I do?

  • How to access my files in the ext.hard player?

    To access my drive iomega ext.hard folder, it shows just the encryption options, settings and a virtual cd but where do I go to see my pictures a / v etc.