Change data source dynamically

is it possible to change data source dynamically when using ibatis frame work...?

We don't need a Java reporting tool to change data source dynamically.
In Oracle Reports we can use:
- lexical parameters
- dynamic ref cursors
- XML runtime customization
Regards

Similar Messages

  • I can not map field after changing data source location

    Hi
    I have a small problem that I got a report file and database from my customer, after that I setup database, open the file and change data source to my setting. but some filed can not map. The field mapping widonw does not display all field in the table. Of course I have checked the missing fields are existing in the table.
    OS:Windows7
    DB:Oracle11
    CR:XI Release 2
    Does anyone have an idea?

    hi,
    In Map Fields window, there is an option "Match Type".
    Please Unchek that option, so that you will be able to see all the fields from that table.
    Also, while mapping please verify the datatypes of source and target fields.
    Regards,
    Vamsee

  • How to change data source name and context root during deployment

    Hi,
    Env:
    WLS 10.1.3
    JDev 11.1.1.6
    Hudson
    I need to deploy two instances of my ADF application on the same development enviroment. We are using Hudson to deploy. My question is how to change data source name and application context root before second deployment.
    Kuba

    I don't believe there is an inbuilt facility to do this.
    Previously how I've done this is when checking files out using Hudson jovs, before the build I then use an Ant extension called XmlTask (http://www.oopsconsultancy.com/software/xmltask/) to modify the required XML files.
    Can I ask why you're doing this in the first place please? Multi-tenancy? 2 versions of the same app?
    CM.

  • Changing Data Source for command objects

    Hi,
    My report (designed in CR 10) is running based on the Stored Procedure call using a command object; which is running successfully in the DEV environment. The report data source connectivity is a DSN.
    Now i want to switch it to QA environment with different DSN name. When i tried to update the Change Data Source option, it doesn't allows to update the existing command with a new command!!!!
    I don't know how to fix this. Could any one of you have idea, pls. share it here???
    Thanks
    Viswa

    If you have same table structure in new data source then you can change the datasource connection.
    Follow the steps in this article
    KBase Article ID:c2016958
    Article refers to:Crystal Reports 10
    Symptom
    In Crystal Reports (CR) 10, can you change the database connection of an existing command object to use a different database connection without the use of a Crystal Repository?
    Resolution
    Yes, you can change the database connection of an existing command object to use a different database connection without the use of a Crystal Repository by using the following steps:
    ====================
    NOTE:
    You must apply the CR 10 Monthly Hot Fix (cr10win_en.zip) and the CR 10 Database and Export Drivers Monthly Hot Fix (dbex10win_en.zip) before starting the steps below.
    You can download these hot fixes at http://support.businessobjects.com/search
    ====================
    1. Open a report with a command object.
    2. Go the 'Database' menu and click 'Set Datasource Location'.
    3. In the 'Set Datasource Location' dialog box, select the connection for the command object (the connection appears as a cylinder with a plug).
    4. In the lower window, select the new connection and log on to the database.
    5. Ensure the connection is highlighted for the command object in the top window, and the connection is highlighted for the new command object in the bottom window.
    6. Click Update.
    The database connection for the command object now changes to use the new database connection information.
    Regards,
    Raghavendra

  • Change data source

    Hi,
    In portal EP6.0
    In System Administrator->System Configuration->UM Configuration  here in Data Source Tab already data source is assigned to "Read-only microsoft ADS ( Deep Hierarchy ) + Data base". I changed this data source to "Read-only SAP System + Data base" and saved.
    But it is giving warninig message saying 'you are not allowed to select dataSourceConfiguration_R/3.xml as Active configuration file. This will lead to inconsistancy'.
    How can we change data source?
    Thanks in Adv.
    Ganesh

    Hi Ganesh,
    You want to change the configuration to this "Read-only SAP System + Data base" rite ?
    Dont change from here -System Administrator->System Configuration->UM Configuration in Data Source Tab
    Start the Config Tool by executing j2eeconfigtoolconfigtool.bat.
    Switch to Edit mode.
    In the tree, navigate to Global server configuration ® services ® com.sap.security.core.ume.service
    Here change the value of the property ume.persistence.data_source_configuration to the one you want to apply(for example dataSourceConfiguration_R/3.xml)
    Click on "Apply Custom" Save the changes.
    Restart the cluster.
    This should work.
    Let me know if you need any other help.
    Thanks,
    Samta

  • Change Data Source not showing tables (in the taget drop down) that begin with "SYSTEM"

    I am trying to change the data source to a database table that is named someschema.SYSTEM_XXX_XXX but none of my tables that are named SYSTEM_.......  are in the combo box list of the taget tables (Change Data Source) dialog.   I have tried this on several database with the same results.   Are you filtering out tables that begin with system ?

    <p>This issue has been resolved in the latest hot fix for CR4E.   You can download the latest version of the hot fix by   following these steps:</p> <ol><li>Go under the <strong>Help</strong> menu</li><li>Select the option <strong>Software Updates -> Manage Configuration</strong></li><li>Expand the tree until you see <strong>Crystal Reports for Eclipse 1.0.1.v671</strong> (or similar)</li><li>Highlight this entry and select the <strong>Scan for Updates</strong> option in the window on the right.</li></ol> <p>This will allow you to update to the latest version which is   currently <strong>1.0.2.v795</strong> </p> <p>Please let me know if this fix does not resolve the issue   outlined in this thread. </p><p> </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a>          </p>

  • Trying to Change Data Source but is not highlighted

    I have a pivot table running with inventory and we are doing a  server upgrade so i need to change the path, but the "Change Data Source" button is not lit up and will not let me do this. Anyone know why this might be happening? Thanks!!!

    Hi Frank,
    We can directly update the existing connection string to connect to new server. Please take a look at the following articles:
    Different Ways to Update Data in PowerPivot:
    http://msdn.microsoft.com/en-us/library/gg399134(v=sql.110).aspx
    How to change the database for your PowerPivot sheet:
    http://www.keepitsimpleandfast.com/2011/04/how-to-change-database-for-your-power.html
    Elvis Long
    TechNet Community Support

  • Unable to change data source of any report

    Hello there,
    I am using the Crystal Reports Eclipse plugin. I added a datasource to Eclipse 3.3 which connects to a Oracle database using JDBC.
    Now I want to change the data source of a report. I get a popup window which displays the old data source with all tables and columns on the left side. On the right side of the window I see the name of the new data source at the top, but a list of "remove" options below it with a red cross in front (see screenshot).
    It does not matter if I want to change an existing report or a new report.
    I can create a new report with a datasource, but even when I want to change to the same datasource as already assigned to the report, I get the problem described above.
    I already followed some tips found in this forum, e.g. expanding all used tables in the data source explorer etc., but this did not help.
    I know that there was also a possibility to remove the "data source" information completely from the query (as mentioned at http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do;jsessionid=2F140BDBA03E8E97EEF1E15F84964F12?cmd=displayKC&docType=kc&externalId=c2017570&sliceId=&dialogID=13402443&stateId=1%200%2013406567), but I cannot find this option in Crystal reports for Eclipse. I see a field "qualified name" in the properties of each table of my report, but this field is read-only...

    Doesn't anyone have an answer to this problem? I would just like to change the datasource of a report. But I am not able to do so, because the only option I have in the dialog is to remove all tables.
    I just saw that the screenshot is missing. See it here:
    http://img119.imageshack.us/img119/4999/pic1dh1.png

  • Crystal Report runtime error while changing Data Source Location

    Dear All
    We are using "Crystal reports for SAP Business one".The Crystal reports version is 12.1.
    We built a report in another database with another server.
    As we are importing the report in another database of another server,
    I am not able to change the Data Source location.
    When I am trying to change it,it gives Runtime error and closed automatically.
    How can i resolve and change the data source location?

    hi kambadasan,
    is your CR version the same from which you design the report and to the another server? also did you import your report directly to SBO without changing the data source first? in the case you should update first your Data Source in Crystal Report IDE before importing it to SBO.
    regards,
    Fidel

  • Cannot Change Data Source - Error The memory could not be "read"

    We have some reports that were created under Crystal Reports version 10 using a Sybase 12.5 database as the datasource.  We have since upgraded to Sybase 15 ASE and we are also attempting to upgrade these reports to Crystal Reports version 11.5.  The reports will convert to version 11.5 but will not work because of the following error:
    "Failed to load database information. Details: The database connector 'crdb_p2ssyb10.dll' could not be loaded"
    From previous experience we know that Sybase 15 is only supported via ODBC with Crystal Report 11.5, so we tried to change the datasource to ODBC, but when we do that we get the following error:
    The instruction at "0x0e864b11" referenced memory at "0x00000004". The memory could not be "read".
    Do we have any options at this point besides competely re-creating the reports?

    We are using CR 11.5 and trying to change the data source to ODBC.  I can create a new report and use the same stored procedures as a datasource via ODBC with no issues.  I only have an issue when trying to change the data source on these existing reports.

  • Change Data Source for a lot of Crystal Report

    I have a lot of reports which use Visual FoxPro as datasource. We will mirgrate to MS SQL Server and change the names of tables. Is there any way to set data source to new table in new ODBC other than do it manually ? Please advice.
    Thanks.

    Hi Leo,
    If you use Business Objects Enterprise, then you can use a tool called 'Schedule Manager' to update the datasource of all your reports to SQL Server - at one go!
    If you don't then, well, it gets laborious and you'll have to get into every single report and use 'Set datasource location' within CR.
    -Abhilash

  • Change Data Source in SMSY from "manual" to "SLD"

    Hello,
    unfortunately some of my systems appear in SMSY with data source "manual" although the data is collected automatically via SLD. How can I switch the data source to "SLD" for these systems?
    I already tried to delete the system in SMSY. After the next SLD-Sync-Run the system still has the setting "manual".
    Can someone help?

    I have the situation where I have a system in the SLD but cannot get the SLD to update it.  The data source is Manual (Automatic Refresh).  I've tried changing this to the other manual data source, running the landscape fetch, changing back to manual (automatic refresh) and running landscape fetch again.  Still, the data source says Manual (Automatic Refresh).  I even tried to delete everything about this system and add it back.  I couldn't get the corresponding system component deleted but did manage to delete everything else.  After re-creating, I still have the problem.  I can't find the solution.  Any ideas from anyone?  Thanks!

  • How to change data source of Universe

    Hi,
    I have two databases called A_Database and B_Database
    Same tables and data are in both the databases.
    I created universe U_universe using A_Database. It is working fine
    Now I would like to change from A_Database to B_Database in U_universe without affecting any thing in U_universe because tables and data are same.
    Please let me know following doubts.
    1.How to do above things?
    2.if A_Database and B_Database are in different server, how to overwrite data source in the universe
    3.if A_Database and B_Database are in the same server, how to overwrite data source in the universe
    Thanks and Regards,
    Manjunath

    In Designer, import your universe, click on File>Paramers or click on parameters icon on the tool bar and change connection used by the universe from one pointing to Universe A to one pointed to universe B.
    Also, visit this site : http://help.sap.com/content/bobj/bobj/index.htm
    Look for Universe Designer guide.

  • Change data source - mail merge

    I have a mail merge document which was migrated to a new server. Now every time when I run the mail merge document it tells me "Error has occurred: The Microsoft Access database could not find the object '   '. Make sure the object exists and
    that you spell its name and the p". In the error it points to the old path on the server. When I click OK the data link properties window pops up. I change the data source to point to the path of the new server and the document opens up. The only problem is
    that this does not save. I have to specify the new path to the server everytime. How do I set this permanently?

    1. Do you have the same problem if you try to connect a completely new Word document to the data source? If so, probably something wrong with the Excel file - if you can reconstruct it, or even create a test file with the same sheet name and column names,
    that may show that the file is/was at fault.
    2. For the default OLE DB connection type, the SQL message is the correct one - the SQL does not reference the workbook path or name - that comes from the file name or connection string which is not displayed in that dialog box.
    3. When you see the SQL warning and click Yes, do you then see a dialog box which provides the workbook path/name. Does that file exist? Is it the one you expect? If yes, again, I would suspect the Excel file. If no, the wrong data source is "sticking".
    That will happen if the previous data source has not been properly disconnected - e.g. If you proceed from the dialog I mention, then choose the option to find the data source in the next or subsequent dialog, it does then appear that you have corrected
    the problem, but in fact Word "reverts" to the previous source the next time you open. Typically clicking Yes in the SQL dialog box should disconnect the old data source, but I would at least "make sure" by e.g. setting the mail merge main
    document type to Normal Word Document in the mailings tab.
    Peter Jamieson

  • From newbie: How to change data source?

    To Crystal Reports design forum:
    I'm just trying to get to know Crystal Reports.  (Version 11.5.8.826)  So I used one of the examples in their sample database (a pie chart), and saved a new version with a new name.  Now, I'm trying to change the data source, so I can do a breakdown by race based on a query in one of our Microsoft Access databases.
    However, when I click on "Database - Set Datasource Location", I get a popup widow saying: "Some tables could not be replaced, as no match was found in the new data source.  Please specify the table required for any unmodified tables".  And it won't let me use the Access database as my source of data.
    I'm hoping there is a way around this problem!  It would be nice to adapt a pre-existing report by choosing a new data source, and then making other modifications ... but it's not letting me do it.  Thanks much!  Regards,   --Tom

    Tom,
        It won't work because the report is looking for data that doesn't exist in the "different" Access database.
        Just because they are both Access databases doesn't mean that the query from one db will work on another, completely different,  Access db.  You've got to start with a new report and a new db with a new query. 
    The Panda

Maybe you are looking for

  • Lost Playlist info

    I recently had to replace the logic board on my Powerbook G4 and have been reinstalling my iTunes library from my external harddrive. Everything has reinstalled except my Beatles music. The individual songs show up but not as separate albums. Any ide

  • Error when creating a bdc for asset master upload

    I am getting a warning message (AA186), when changing the depreciation start date to capitalization date. It says, "Different Order Dep. start date in depreciation area 01. Check" This error is a problem in creating the BDC for asset master upload. W

  • HU Number determination

    Hi, In my program every time I need to create idoc and I need to create handling unit number. I am calling standard idoc so inside of idoc only the function module ‘HU_PACKING_CREATE’ is there to create the handling unit number. For this I need to gi

  • Unity 7.x PDL trace

             hi, we have unity 7.x and customer has sent a message using allsubscriber PDL. Some subscribers state they never recieved the message - is there a trace we can set to check for any failures or list all subscribers that the message was sent.

  • Cannot Backup PSE 10 Catalog to DVD or HD

    PSE10 seems to run  normally, but when I attempted to backup my current catalog, whether I choose DVD or external HD, the program behaves the same:1. Queries if I want a full or incremental backup, 2. Calculates backup 3. I select Ext HD, the program