Data source query problem

Anyone know how to access an xml using this type of query:

query: "" /something: here/list/Articles ""

and the xml code is like this:

If I replace ' something: here "to anything and do the same thing in the xml file, everything works.

I have tryied encoding ': ' % 3 but nothing happens.

any advice? Sorry if my description sucks

a bit of luck again?

Tags: BlackBerry Developers

Similar Questions

  • Data source connection problem


    Hi, im starting to get into Coldfusion and im trying to connect to a database, but when I do the data source and submit it it times out.

    I tried to go to the main page of data sources and the database verifies showup but when I click on the little button it tells me there' are was a mistake. It is said:

    "Connection verification failed for data source: Teacloud.
    java.sql.SQLException: [Macromedia] [SequeLink JDBC Driver] [SequeLink Server] the data source specified is not defined.
    The root cause was that: java.sql.SQLException: [Macromedia] [SequeLink JDBC Driver] [SequeLink Server] the data source specified is not defined. »

    don't know what that means. Can anyone help?

    Thank you

    kaco-

    If you try to connect using ODBC Socket, this technical Note should help:

    http://www.Adobe.com/go/tn_18644

    Make sure you use the correct driver and have all the required information entered correctly under Advanced settings.

  • Tracing of data from a source of problems

    Visual Studio 2010, Measurement Studio 2010 standard, c#, .NET

    I made a new NI Windows (application forms). Added a MySQL database as a data source, added to a table control to verify the data are there... Yes displayed fine.

    Then, I put in a WaveformGraph OR. Right-click, properties, data, databindings, data binding and added the Datasouce.

    Don't compile, nothing, no plot.

    any ideas?

    I'll write here what it was is available for any other beginner c# who may have the same problem.

    The problem was my understanding of the works of the 'link '. I had the thin binding to the database configuration, but the values were not reading. I ended up doing this:

    ' private void load_DB_data_and_plot (object sender, EventArgs e)
    {
    waveformPlot2.PlotY (getCol ("meter_out"));

    }

    Private double [] getCol (string column-name)
    {
    int col_index = 0;
    foreach (DataColumn col in getColumns())
    If (col. ColumnName is column-name)
    col_index = getColumns(). IndexOf (col);

    Double [] values = double [getRows (new). Length];
    for (int i = 0; i)< getrows().length;="">
    {
    values [i] = Convert.ToDouble (getRows () [i]. ItemArray [col_index]);
    }
    return values;
    }

  • Problems connecting to JDBC data source

    We have recently upgraded to JDeveloper 11 g to 10g and flies our applications (primarily the Struts). They are compiled fine, and I am able to create data sources and successfully test the connection to open the data source through the window of Application resources. The problem comes when I try to connect through the application. In Java code, I use a DataSource object to get the connection of InitialContext.lookup ("jdbc/sun_DS1") where the JNDI name is in parentheses. We used to define this connection in JDev 10 g via the file data - sources.xml and it worked very well. Now with 11g and defines the connection to the application, I don't know if I'm missing a step between the creation of the data source and run the application.

    The error I get is: javax.naming.NameNotFoundException: while trying to search for "jdbc.sun_DS1" did not find subcontext "jdbc." Solved "; rest the name "jdbc/sun_DS1.
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)

    I spent a lot of time reading Oracle help docs and Googling the problem without success.

    Help, please.

    Once you run your application on the WLS console launch (http://localhost:7101/console) and look to see if JDev created a data source for you in WLS.)
    You may need to add it manually.

  • Query of queries on 2 data sources

    I'm doing a query of queries on 2 different data sources. I run a gaming site and have a 2 programs that are used for tracking. One is written in php, by someone else, following members point State. The other, I wrote it in CF, allows members to set priorities in Treasury. Both are independent on my server. What I'm trying to do is set up so that the program I wrote to FC shows the number of points, each Member has. I know how interrogate separate tables, but how do I combine them? In addition, how can I set up so that it only shows members that match. that is, I want to assure you that if John Smith has 100 points, the query will show John Smith 100 points on my table. Here is what the query looks like I did. As you can see, I'm confused about and WHERE statements. I played with him last night and could not make it work. Thank you.

    You can try the same correction/idea of what I posted in thread http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=1&catid=7

    Copied/Pasted from this thread:

    You can read through the first query and add content to a query to temp attributing some kind of field and then read through the second query and add same temp with a kind of field to the query. Then do a query of this temp query.

  • A single query, two data sources

    Is it possible to run a query on two distinct datasources? I would compare the data of two databases MS Access separate.

    Thank you.

    You will not be able to combine two data sources in a cfquery, so one way might be for you for each query data source, and then compare the two results using a Q-Q.

    Phil

  • A new instance of the planning - data source problem

    Hi all

    I am trying to install a new instance of the planning, and when I try to create the DATA SOURCE, I get the following error, any help to solve this problem is highly appreciated.

    ++ C:\Hyperion\AnalyticServices\bin > del C:\Users\Admin\AppData\Local\Temp.\srvtmp.r++
    ++ eg ++
    ++ In manufacturer HspDBPropertiesLocationPanel ++
    ++ In HspDBPropertiesLocationPanel queryEnter ++
    ++ Resource Bundle is java.util.PropertyResourceBundle@221c75++
    ++ Product Name in the file is PLANNING ++
    ++ Availability date is 20051231 ++
    ++ Creating thread and rebinding to RMI ++
    ++ Resource Bundle is java.util.PropertyResourceBundle@221c75++
    ++ Product Name in the file is PLANNING ++
    ++ Availability date is 20051231 ++
    ++ $ $ dname is PlnInstance2 ++
    ++ Resource Bundle is java.util.PropertyResourceBundle@221c75++
    ++ Product Name in the file is PLANNING ++
    ++ Availability date is 20051231 ++
    ++ Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no HspEss ++
    ++ baseEnv in java.library.path ++
    ++ at java.lang.ClassLoader.loadLibrary (Unknown Source) ++
    ++ at java.lang.Runtime.loadLibrary0 (Unknown Source) ++
    ++ at java.lang.System.loadLibrary (Unknown Source) ++
    ++ to com.hyperion.planning.olap.HspEssbaseEnv. < clinit >(Unknown Source) ++
    ++ to com.hyperion.planning.olap.HspEssbaseJniOlap. < clinit >(Unknown Source) ++

    ++ at com.hyperion.planning.HspJSHomeImpl.TestEssConnection (Unknown Source) ++

    ++ to com.hyperion.planning.HspDSEssbasePanelManager.TestEssConnection(HspD++)
    (++ SEssbasePanelManager.Java:156) ++
    ++ to com.hyperion.planning.HspDSEssbasePanelManager.queryExit(HspDSEssbase++)
    (++ PanelManager.Java:132) ++
    ++ to com.hyperion.cis.config.wizard.ProductCustomInputPanel.queryExit(Prod++)
    (++ uctCustomInputPanel.Java:114) ++
    ++ at com.installshield.wizard.awt.AWTWizardUI.doNext (Unknown Source) ++
    ++ to com.installshield.wizard.awt.AWTWizardUI.actionPerformed (unknown safe ++)
    (++ it) ++
    ++ to com.installshield.wizard.swing.SwingWizardUI.actionPerformed(Unknown++)
    (+ Source) ++
    ++ to com.installshield.wizard.swing.SwingWizardUI$ SwingNavigationControlle ++
    ++ r.notifyListeners (unknown source) ++
    ++ to com.installshield.wizard.swing.SwingWizardUI$ SwingNavigationControlle ++
    ++ r.actionPerformed (unknown source) ++
    ++ at javax.swing.AbstractButton.fireActionPerformed (Unknown Source) ++
    ++ to javax.swing.AbstractButton$ Handler.actionPerformed (Unknown Source) ++
    ++ at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source) ++
    ++ at javax.swing.DefaultButtonModel.setPressed (Unknown Source) ++
    ++ to javax.swing.plaf.basic.BasicButtonListener.mouseReleased (unknown safe ++)
    (++ it) ++

    Hello

    Error code Essbase 1051293 = connection fails due to invalid credentials.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Problem of driver ODBC Oracle when trying to create a data source / Win XP

    Hi guys,.

    hope I'm here with my question.

    When I try to create or data source in Windows (regardless if user or system data source), and then click 'Test connection', I get this error:
    * [SQLAllocHandle from Microsoft] [ODBC Driver Manager] drive on SQL_Handle_ENV failed *.

    TNS name is correct, tnsname.ora is correct, the user is correct.

    I have the driver for an OraClient10g is installed on my machine.

    I'll reinstall this package? Other things to do to fix this?

    Many thanks for any help,


    Christian

    Published by: ChristianP2 on October 6, 2008 18:13

    You can read this article
    http://www.orafaq.com/Forum/m/100430/0/?srch=driver%27s+SQLAllocHandle+on+SQL_Handle_ENV+failed#msg_100430

    someone said that it fixed the problem after the correct path environment variables

    someon claimed that it is permission problem when installing.

  • Getting started with Open manage the essential problem of Server Data Sources

    I installed a server for and with Open Manage Server Essentials... discovered my network and found a lot of good servers... 1 server has a green check mark and you can see in the Data Source, it uses the administrator of the server with the Version 7.1.0. I downloaded the OMSA node in 7.4.0.2 on another server, etc. SNMP installed and the server is located with a gray question mark and the data source is an Agent of Version 2.0 of Windows Hardware... is anyone has any advice how to handle? And want to install server after the server to see it in OME centrally on a single management server...

    Sorry for my bad English and thanks for all the info.

    Thomas

    OK, so make sure you check out the first installation tutorial in the console of the OME.

    1. you must on the box, so 7.4 OMSA's fine.

    2. be sure that you did the necessary SNMP parameters in the box of the OMSA (services.msc, SNMP, accept any host paackets - or use the ip address).

    3. you can use the tool for troubleshooting Dell desktop OME to test SNMP connectivity to the server with OMSA on it.

    4. I think that the FAQ (delltechcenter.com/ome) contains some tips in the discovery section (3.4)?

    That should make us started.

    Thank you

    Rob

  • Query a data source using this format - {call displayLocation()}?

    I inherited a CF app and surprisingly I never met calling a function, or a procedure stored like this before. I'm unable to locate the data source, I'm guessing that this is perhaps an Access db?

    < cfquery datasource = "MyDSN" name = "$myvariable" >

    {call displayLocation()}

    < / cfquery >

    Well, the numbers. Half an hour later, I find what I'm looking for. It's just an another MSSQL Server SP.

  • Restart WebLogic Server and JDBC data source problem

    Hi all

    In the Weblogic Console, we have defined a data source JDBC, which is used by the compoistes to connect to the Oracle Apps database using DB adapters (SOA Suite 11 g).

    We have seen that whenever the database of applications down and Monte, we wanted to restart the WLS for DB adapters work. Is this necessary, or is this something to do with the way was Weblogic Server setup?

    In addition, we noticed that some adapters file does not pick up the files, and a Weblogic reboot seems to fix everything.

    Pointers to debug these highy is appreciated.

    Concerning
    Anish.

    You can configure your data source so that the connections are tested until they are given to the request.

    An example of how to do it can be found here: http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e13952/taskhelp/jdbc/jdbc_datasources/ConfigureTestingOptionsForADataSource.html

    More information about these features can be found here: http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e13952/pagehelp/JDBCjdbcdatasourcesjdbcdatasourceconfigconnectionpooltitle.html#advancedAttributes

    You can also set how often to retry on the creation of the connection to another value to zero.

  • Problem adding data source

    Hello

    I am trying to create a new data source in coldfusion 8, its a derby embedded database, (although I'm really not bothered what type of data I use, I just want to be able to connect for bending) I followed this tutorial but I still get this error... Connection verification failed for data source: SearchDB
    org.apache.derby.impl.jdbc.EmbedSQLException: could not create the 'C:\ColdFusion8\db\SearchProject' database, see the following exception for more details.
    The root cause was that: java.sql.SQLException: unable to create the 'C:\ColdFusion8\db\SearchProject' database, see the following exception for more details.


    If someone could send me in the right direction for this, would be great.

    What about James

    Open the ColdFusion administrator, and then click Data Sources.

    In the name of the Data Source of the box type myDerbyDB

    In the drop-down list driver select Apache Derby Embedded

    Click Add

    About Data Services & > Datasources > Apache Derby Embedded CF page
    Data Source name must be still myDerbyDB

    In the file Data box type myDerbyDB

    Check the Create Database

    Click on submit.

    You should now have the database and then you should be able to run the code
    on this page.

    --
    Ken Ford
    Adobe Community Expert - Dreamweaver
    Fordwebs, LLC
    http://www.fordwebs.com

    "thomo007" wrote in message
    News:flh94j$JFQ$1@forums. Macromedia.com...
    > Hi there,
    >
    > I am trying to create a new data source in coldfusion 8, its built-in
    > derby
    > database, (although I'm really not bothered what type of data I
    > help, I
    (> just want it to be able to connect for bending) but I followed
    > http://fusecf.blogspot.com/2007/08/coldfusion-8-and-derby-db-create-and.html
    > tutorial, but I always get this error... Checking connection failed
    > for
    > data source: SearchDB
    > org.apache.derby.impl.jdbc.EmbedSQLException: cannot create the database
    > "C:\ColdFusion8\db\SearchProject", see the following exception for more details.
    > The root cause was that: java.sql.SQLException: unable to create the database
    > "C:\ColdFusion8\db\SearchProject", see the following exception for more details.
    >
    > If someone could send me in the right direction for this,
    > great.
    >
    > James cordially
    >

  • Creating a problem of ms access data source

    Hello
    I tried to create a ms access datasource (standard ms access driver) in the CF admin, and I have this message all the time:

    "Connection verification failed for data source: dog.
    java.sql.SQLException: [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] bad user name or password.
    The root cause was that: java.sql.SQLException: [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] bad user name or password. »

    I tried with the username-password that I usually use to log into the CF admin, but it does not work. Someone shows me a clue, please?
    Thank you

    Try to enter only these 3 parameters

    CF data source name: dog
    Database file: c:\pathToDatabase\yourDB.mdb
    Use default username: (check this)

  • SSRS for lack of outer join with the Oracle data source

    It seems to be a problem with the Oracle driver used in the Reporting SERVICES query designer.

    When you use an Oracle data source, if I create an outer join in the graphic designer, it automatically inserts '{OJ' before the join and '} ' after her.  This is an incorrect syntax for Oracle and refuses to start.  The curly braces and the JO editable in designer text, but if I go back to the graphic designer and immediately to reintegrate them.

    Only, this has started to happen a year or two ago - before that it worked, but with the old (+) syntax.

    Can it not be healed?  It makes things very difficult.

    -Geoff

    Hi Geoff,

    Thanks for posting in the Microsoft Community.

    However, the question you posted would be better suited in the Forums of the Oracle Support; We recommend that you post your query in Oracle Support Forums to get help:

    https://forums.Oracle.com/forums/main.jspa;JSESSIONID=8d92100c30d8fb401bcbd10b46c38c9ddf1a3242549a.e34SbxmSbNyKai0Lc3mPbhmSc3aNe0? CategoryID = 84

    If you have any other questions or you need Windows guru, do not hesitate to post your questions and we will be happy to help you.

  • A data source using an app does not not to start

    I'm adopting the tutorial: https://developer.blackberry.com/cascades/documentation/device_platform/data_access/using_data_sourc... at my request. The only difference is that my app is based on the tabs. Following however to add lines in my file qml, makes the application crashes the gray screen with BB10 logo.

        Tab {
            title: "edit list"
            imageSource: "asset:///images/note.png"
            content: Page {
                titleBar: TitleBar {
                    title: "editing list: " + workingOnList
                    visibility: ChromeVisibility.Visible
                }
                Container {
                    id: view
                    ListView {
                        layout: StackListLayout {
                        }
                        preferredWidth: 640.0
                        // Associate the list view with the data model that's defined in the
                        // attachedObjects list
                        dataModel: dataModel
    
                        listItemComponents: [
                            ListItemComponent {
                                type: "item"
    
                                // Use a standard list item to display the data in the model
                                StandardListItem {
                                    title: ListItemData.category_name
                                }
                            } // end of ListItemComponent
                        ]
                    }
    
                    attachedObjects: [
                        GroupDataModel {
                            id: dataModel
                        },
                        DataSource {
                            id: dataSource
    
                            // Load the data from an SQL database, based on a specific query
                            source: "database.db"
                            query: "select * from categories"
    
                            onDataLoaded: {
                                // After the data is loaded, insert it into the data model
                                dataModel.insertList(data);
                            }
                        } // end of DataSource
                    ]
    
                    onCreationCompleted: {
                        // After the root Page is created, direct the data source to start
                        // loading data
                        dataSource.load();
                    }
                }
            }
        }
    

    The only differences are: code is pasted in the {} instead of {Page} tab, and of course, the name of the database, the columns are changed.

    I added bb.data 1.0 import statement in the file .qml, the .pro file was also changed according to the tutorial. Path to the database file is correct.

    You have an idea, why this is happening?

    Another issue related to the data source:

    my main.qml file:

        Page {
            id: mainScreen
            titleBar: TitleBar {
                title: "your lists"
                visibility: ChromeVisibility.Visible
            }
            Container {
                ListView {
                    id: allListsView
                    objectName: "allLists"
    
                    layout: StackListLayout {
                        headerMode: ListHeaderMode.Sticky
                    }
    
                    dataModel: allListsModel
    
                    listItemComponents: [
                        ListItemComponent {
                            type: "item"
    
                            StandardListItem {
                                title: ListItemData.list_name
                            }
                        },
                        ListItemComponent {
                            type: "header"
                            Header {
                                title: ListItemData
                            }
                        }
                    ]
                    onTriggered: {
                        select(indexPath);
                        var page = listPage.createObject();
                        nav.push(page);
                    }
                }
    
                attachedObjects: [
                    ComponentDefinition {
                        id: listPage
                        source: "listPreview.qml"
                    },
                    GroupDataModel {
                        id: allListsModel
                        grouping: ItemGrouping.ByFirstChar
                        sortingKeys: ["list_name"]
                    },
                    DataSource {
                        id: allListsSource
    
                        source: "database.db"
                        query: "select * from lists"
    
                        onDataLoaded: {
                            allListsModel.insertList(data);
                        }
                    }
                ]
    
                onCreationCompleted: {
                    allListsSource.load();
                }
            }
    

    New screen grows without any problem after clicking on list items. But when I add the following lines to listPreview.qml, application stucks selection list item and nothing happens.

    Page {
    
        content: ListView {
            id: myListView
    
            dataModel: dataModel
    
            listItemComponents: [
                ListItemComponent {
                    type: "item"
    
                    StandardListItem {
                        title: ListItemData.article_name
                    }
                }
            ]
        }
    
        attachedObjects: [
            GroupDataModel {
                id: dataModel
            },
            DataSource {
                id: dataSource
    
                source: "database.db"
                query: "select * from articles"
    
                onDataLoaded: {
                    dataModel.insertList(data);
                }
            }
        ]
    
        onCreationCompleted: {
            dataSource.load();
        }
    }
    

    It looks like I can not query the DB for the second time commenting on the DataSource {...} of listPreview.qml pushed the new app screen without any problems.

    EDIT:

    a simple solution: I forgot to add the statement import bb.data 1.0 in listPreview.qml

Maybe you are looking for