MWP Toplink file and DB connection info

Hi all.
When I generate a DBAdapter, TopLink creates a mwp file which contains static database configuration info. Is this a design time only configuration, or is it also used at runtime??
By the way, what's the purpose of this MWP configuration file?? :-)
Thanks
Denis

Hello Denis,
more insight on your question available in the documentation.
http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/bpel006.htm
section : 7.6.2 What Happens When You Configure a Database AdapterAnswer to your design time/run time question from the documentation :
===================================
The Java classes that are created as part of the descriptor generation process are never actually deployed with your process or used at runtime.
They are present in the design time because Oracle TopLink Workbench is expecting each descriptor to be associated with a Java class.
When your process is deployed, the mapping metadata is stored in toplink_mappings.xml.
===================================
Hope this clarifies your doubt ...
Regards,
Madhu !

Similar Messages

  • How to get all paragraphs style and their fonts of a  indesign file and write all info with para info into txt file with scripting

    how to get all how to get all paragraphs style and their fonts of a  indesign file and write all info with para info into txt file with scriptingstyle and their fonts of a  indesign file and write all info with para info into txt file with scripting

    I write the script this one works
              var par=doc.stories.everyItem().paragraphs.everyItem().getElements();
      for(var i=par.length-1;i>=0;i--)
           var font=par[i].appliedParagraphStyle.name;
            var font1=par[i].appliedFont.name;
             var size=par[i].pointSize;
            WriteToFile (par[i].contents  +   "\r" +  "Style  : " + font  + "\r" +  "FONT1  : " + font1  + "\r" +  "Size  : " + size  + "\r", reportFilePath);
                            function WriteToFile(text, reportFilePath) { 
        file = new File(reportFilePath); 
        file.encoding = "UTF-8"; 
        if (file.exists) { 
            file.open("e"); 
            file.seek(0, 2); 
        else { 
            file.open("w"); 
          file.writeln(text);  
        file.close(); 
    Thanks for all your support

  • In 10g can we dump control file and get SCN info.

    Hi,
    I have a question can any one help me on this.
    In 9.2.0.5 we could dump the control file and get the SCN using the command :
    alter session set events 'immediate trace name CONTROLF level 10';
    In 10.1.0.4.0 the output of the dump has changed and we do not get the SCN. or any of the following information :
    DATABASE ENTRY
    CHECKPOINT PROGRESS RECORDS
    EXTENDED DATABASE ENTRY
    REDO THREAD RECORDS
    LOG FILE RECORDS
    DATA FILE RECORDS
    RMAN CONFIGURATION RECORDS
    LOG FILE HISTORY RECORDS
    OFFLINE RANGE RECORDS
    ARCHIVED LOG RECORDS
    BACKUP SET RECORDS
    BACKUP PIECE RECORDS
    BACKUP DATAFILE RECORDS
    Can I get similar output in 10g as 9i ?
    with regards,
    Dilip.

    Hi.
    What are you trying to achieve here? If you just want the current SCN, you can get it using one of these:
    SQL> select current_scn from v$database;
    CURRENT_SCN
    8058824527
    1 row selected.
    SQL>or
    SQL> select dbms_flashback.get_system_change_number from dual;
    GET_SYSTEM_CHANGE_NUMBER
                  8079317404
    1 row selected.
    SQL>Cheers
    Tim...

  • How do I set up Sharing so that I can see files and not "connected as: vnc"

    Since installing Leopard and updates, I can see a shared iMac (running Tiger) on my Airport Express network, but the window only shows the header "connected as: vnc." I can't see files, nor am I prompted to log in. What settings do I need to change in order to get Sharing working properly with the iMac?

    Have you gone under system preferences->sharing and enabled file sharing?

  • 4.1 SP4 Import BIAR File and change connection information

    Hi experts,
    I have generated an LCMBIAR (contains Dashboard and Webi, Universe) in our current system landscape and we are trying to move this BIAR file to another system. However if we are to import this biar file into another system that is not connected to our current system landscape we need to be able to configure the DB connection information to point to new system DB. Is it possible to change the connection information for the universe when you importing the BIAR file, if yes, could you please give me the STEP by STEP instructions.

    Hi,
    1. Refer the following KBA -
      1759284 - How To: Step-by-Step LCM Override Settings via LCMBIAR file
    2. Then promote the reports and connections to the destination using Promotion manager.
         Hope this helps.
    Regards,
    Rukaiya

  • JAR file and db connection

    I just discovered that you can run your application in Windows environment by double clicking the .jar file. You learn something new every day. Anyhoo, the problem is that I cannot connect to my db server. But when I run the application in NetBeans everything goes smoothly. What do I need to fix? Thanks........
    Z

    Never mind..........we just got it. All we did was
    copy the 3 jar files into jre\lib\ext\ folder and it
    worked. We don't know why but it worked. ThanksDouble clicking on the jar means that it is an executable jar.
    Executable jars do not use the normal class path. You normally jar up the additionally jars into the jar itself. Then you add a entry to the manifest file that 'sets' the classpath to them (in the jar.) You would have to search the forums for that exact line.
    The 'ext' directory is used by the JVM as an addition to the class path. Basically the JVM class path is normally constructed with the following.
    - Various bootpath options (see the java docs for more on this.)
    - The env var or the classpath command line option.
    - The java api
    - The jars or exploded trees in the ext directory.
    Some people would suggest that you not use the ext dir as you are doing. Their contention is that it is intended basically for the VM use only (for 'standard' additions.) Another downside is that every VM application is now accessing those jars and that will make using different versions of a jar impossible. And you might forget that the jars are there and thus your delivered application won't work.

  • CR2008, C# and DB2 - Connection Info

    I have a report, originally created in Crystal Reports ver 9, and I have loaded it successfully in CR 2008 (stand alone).  I am able to run that report just fine, it prompts me for the parameter needed for the report, then it promts me for an ODBC data source, which I select, and it runs as expected.
    BTW, this report was generated using a COMMAND to specify the necessary tables and fields for the report instead of selecting specific table and field names (since the list of tables is unavailable via the ODBC link)
    However, in my C# code, I cannot get it to run.  It would appear the information required in the ConnectionOnfo object isn't appropriate for an ODBC datasource, unless I'm over looking something.  So can somebody help me out with setting this up so it runs correctly?
            private void RunReport()
                ReportDocument oRpt = new ReportDocument();
                try
                    oRpt.Load(this._Settings.ReportDirectory + this._ReportFile);
                catch (Exception err)
                    Console.WriteLine(err.Message);
                    Console.ReadKey();
                ConnectionInfo connInfo = new ConnectionInfo();
                // the ODBC DSN on this system is GS30QA, but I'm not sure how to specify this via the ConnectionInfo
                // object... So instead I'll list the actual elements for the cnnection
                connInfo.DatabaseName = "GS2007";
                connInfo.UserID = "secret";
                connInfo.Password = "secret";
                connInfo.ServerName = "PHX-VM-GS30QA1";
                Tables oTables = oRpt.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table oTbl in oTables)
                    TableLogOnInfo tableLogonInfo = oTbl.LogOnInfo;
                    tableLogonInfo.ConnectionInfo = connInfo;
                    oTbl.ApplyLogOnInfo(tableLogonInfo);
                oRpt.SetParameterValue(0, 0);
                // this fails, with an error message of
                // {"Failed to open the connection.\rFailed to open the connection.\nUSPS_ItemizedManifest {DA872B86-5A97-4CF5-B099-2C866D933351}.rpt"}
                oRpt.ExportToDisk(ExportFormatType.PortableDocFormat, @"C:\NET 2.0 Projects\Logicor.GSRouter.Reports\Logicor.GSRouter.Reports\Outputs\test1.pdf");

    Sorry to necro this post, but I was temporarily pulled off this specific project to handle somethig else that was considered a
    higher priority.  Now that I'm finished with that task, it's time to revisit this.  Unfortunately, there's been no progress.
    Also, so everything is clear... When I run this report in the Designer, and press F5 the report promts me to choose an ODBC DSN, and
    I choose this very same one and the report runs.  I just cannot get it to run via the code, it's unable to connect to the DB,
    although I don't know why since it's obvious the report runs in the designer just fine.
    I did as the last post said:
    // name of the 32 bit System DNS on this machine
    connInfo.ServerName = "GSDEMO";
    // name of the actual database
    connInfo.DatabaseName = "GS2007";
    connInfo.UserID = "secret";
    connInfo.Password = "secret";
    Tables oTables = oRpt.Database.Tables;
    foreach (CrystalDecisions.CrystalReports.Engine.Table oTbl in oTables)
        TableLogOnInfo tableLogonInfo = oTbl.LogOnInfo;
        tableLogonInfo.ConnectionInfo = connInfo;
        oTbl.ApplyLogOnInfo(tableLogonInfo);
        // this return false, but I expected that because it's never been able to connect.  I need to know why, which is what I've
        // never been able to discover.
        bool blConnected = oTbl.TestConnectivity();
        Console.WriteLine("Connected: " + blConnected.ToString());
    The error I get this time is
    Failed to open the connection.
    Details:  [Database Vendor Code: -1013 ]
    Failed to open the connection.
    USPS_ItemizedManifest_CR2008 {CD9615AE-3601-4E89-B49B-FB2D54726593}.rpt
    Details:  [Database Vendor Code: -1013 ]
    CrystalDecisions.CrystalReports.Engine.InternalException was unhandled
      Message="Failed to open the connection.\nDetails:  [Database Vendor Code: -1013 ]\rFailed to open the connection.\nUSPS_ItemizedManifest_CR2008 {CD9615AE-3601-4E89-B49B-FB2D54726593}.rpt\nDetails:  [Database Vendor Code: -1013 ]"
      Source="CrystalDecisions.ReportAppServer.DataSetConversion"
      StackTrace:
           at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
           at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
           at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
           at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
           at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
           at Logicor.GSRouter.Reports.MsgParser.RunReport() in C:\NET 2.0 Projects\Logicor.GSRouter.Reports\Logicor.GSRouter.Reports\MsgParser.cs:line 140
           at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           at System.Threading.ThreadHelper.ThreadStart()
      InnerException: System.Runtime.InteropServices.COMException
           Message="Failed to open the connection.\nDetails:  [Database Vendor Code: -1013 ]\rFailed to open the connection.\nUSPS_ItemizedManifest_CR2008 {CD9615AE-3601-4E89-B49B-FB2D54726593}.rpt\nDetails:  [Database Vendor Code: -1013 ]"
           Source=""
           ErrorCode=-2147482892
           StackTrace:
                at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
                at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
           InnerException:

  • File connection and database connection as a parameter

    hi
    i am using ssis 2012, now i want all my  connection ,database and file connection as a parameter.
    how to do it

    Hi coool_sweet,
    If I understand correctly, you want to use a parameter to control the connection string of flat file or database.
    If in this scenario, we can add two parameters in the package with appropriate values, like the connection string of flat file and the connection string of database. Then use an expression with the parameter value to control the ConnectionString property
    of Flat File Connection Manager and the ConnectionString property of OLE DB Connection Manger. The following screenshot is for your reference:
    Besides, as Arthur said above, if you want to change the ConnectionString property of Flat File Connection Manager and the ConnectionString property of OLE DB Connection Manger via changing parameter values after deploying the package to SSISDB, there is no
    need to do this. Because we can also change the connection manager properties in the Configure dialog box as below:
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Cannot see file and folders copied from other windows 8

    Hi everyone,
    The problem is the next:
    I have new PC for that i was asked to setup and install software, i perform on it clean windows 8 install, it have single HDD 1TB that was partitioned by regular windows setup option to system drive C: 100GB and all left space was partitioned as drive D:
    After setup finish i only boot to system to check that everything is OK and without to make ANY change to windows shut it down.
    I physically disconnect HDD from new PC and connect it via standard USB 3 docking device to my own PC that also run windows 8 i can see the new connected HDD with all partitions without any problem! Than i create on second partition on new drive folder and
    copy there some files, after copy finished i disconnect the drive in safe way by performing "eject" option in windows.
    i connect new drive back to new pc, boot to windows and access the second partition and it ... empty, no folder or files on drive, it also show like no space was used !!!
    MOST IMPORTANT ! - Why it don't looks like security or permission or even hardware problem - NO any major security changes was performed on my own (old) PC, but most important fact when i connect other hdd to same dock station and create folder and copy some
    files and then connect it to NEW PC - problem does not exist !!! i can see and access without any problem the folder and files on both PC's !
    I also tried:
    to reinstall windows on new pc
    to create or delete partition after setup in both PC's
    to check folder and drive permissions and adding "everyone" with "full control"
    to turn on "show hidden files and folders" and "system files" too
    to copy or create new different type files
    Interesting - if i create a folder in NEW PC i can see this folder on OLD PC and copy files to it, but whet i connect drive back to NEW PC it sometimes show the folder have those files and even use the appropriate space and programs even try to open those files
    without any security warnings but it cannot be open properly because files looks corrupted !
    Thanks for any help !

    Hi,
    According to your description, I don't think this is system problem. More like HDD or its interface problem.
    Have you tried to reconnect your new HDD to your own computer again after you copy some file to it but couldn't find anything on new computer. If there is problem in new PC, how about your own PC?
    Please have a try, If there was any progress, feel free let us know.
    Roger Lu
    TechNet Community Support

  • .desktop files and mimeinfo.cache... Why?

    It just struck me as I read about mailcap that .desktop files and the mime info cache are redundant. And mailcap is much simpler too, and seems to require less mucking around to e.g. open a file in a console app running in an xterm. For instance
    audio/mpeg; mplayer %s; needsterminal
    Bang, done.
    So can someone tell me why the FD.O system with .desktop files is now the standard? Is it just that it makes it easier to create menus, or something like that? Is it a more friendly backend for GUIs? Other than letting you easily launch applications from your file manager, it doesn't seem to offer a whole lot of benefits...
    Edit: Other than the fact that the default /etc/mailcap file for some distros kind of sucks. Using VLC's ASCII output by default? Seriously?
    Last edited by Gullible Jones (2010-12-13 05:12:25)

    It's more automated, you have to make the mailcap file yourself to get specific preferences - people don't like editing config files.
    Distros could ship a standard one, but then it's not based on what apps you have installed or what you want to use to open things.
    GUIs would have to all implement some way to edit the mailcap file so you could change default apps easily and you would have to have the package manager edit it when you install stuff - I don't think that would be pretty
    I guess you could use a bunch of tests and include every application that could open the file, but that's not so pretty either.
    Last edited by thestinger (2010-12-13 05:18:09)

  • When i purchase os x mountain lion from the app store and install it will i keep all of my files and apps on my hard drive

    If i purchase mountain lion will it wipe my hard drive or will i keep all of my files and applications

    Simply connect an external hard drive to it. Format it if it's not labeled as made for Mac using Disk Utility.
    I'd recommend backing it up using Time Machine. Your Macbook should ask you if you want this drive to be used for Time Machine....you do.
    Once the backup is done you can, later on, use the backup drive to migrate everything to your new iMac.

  • Song and Artist Info missing under itunes but not in the original file, and putting track number next to certian songs. Help

    i recently updated my itunes...today i opened it up and moticed abuout 100 songs missing...they are now at the bottom of itunes song list with a number next to them with information mission such as this the example below
    01 human                                                                 (this song should have the killers name as artist and cd title, etc)
    01 hosanna     hillsong united                                 (this song should have the cd title to it)
    02 lay me down                                          burning light
    02 leave out all the rest
    02 let it be                       the beatles
    03 papercut
    when i go under the original folders and files in the itunes folder everything is normal no missing info, etc. but under itunes orgnising its picking and choosing the same songs and putting the track number next to it and others songs in the same cd not. plus info missing. under the infor when i click right button all info missing there...but not under original file.
    please help

    A response on this subject from another post:
    It could be that you have inadvertently imported these CDs into iTunes as part of a compilation. If so, the artists won't show in the artists menu on the iPod.
    To check, highlight the tracks on one of the offending artists CDs in iTunes, right click and select "get info". This brings up a multiple song info window, and from there you can check if you have 'yes' in the box marked "part of a compilation".
    If you have, select 'no' instead and click 'ok'. Do this with any CD that has this issue. This will alter the info in iTunes, and you should then connect your iPod and synchronize the changes.
    The problem arises because the information contained on the Gracenote CD Data Base (where iTunes gets all it's album/artist/track info from), is sometimes incorrect. It can show CDs as compilations when in fact they are not.
    ramstigo wrote:
    I had an earlier post on this subject with a similar problem. I tried what you suggested and it worked indeed. You can select the artists from your Ipod on Itunes and after highlighting the artists/albums affected, click NO on the compilation box and the issue is resolved: the artists appear on the list.
    Thank you so much!!!!.

  • After I connected my hard disk to a friend's windows system all my files have been converted to .ink files and do not open....what do i do? They had important content

    after connecting my hard disk to a windows laptop all my files have somehow converted to .ink files and are not accessible.....what do i do?

    What do you mean by "all files", surely only one category of files got their default open program changed.
    Choose the affected files, right click on an individual file, and "open with",...change to default program.
    For a group, right click > show info > open with > change ALL
    If more than one group of files has had its default opening program changed, a time machine roll-back would be the easy option. Do you have a TM backup?

  • There was a problem connecting to the server "my server.local" this file is available on your computer. Access the files and volumes locally.

    Hi,
    I have a strange problem connecting one of the office laptops (Macbook Pro 10.7) to the disk in the Apple Time Capsule.  It's just one laptop that has this problem and the other 3 no problems at all and they all run OS X 10.7 Lion, I can access the Time Capsule disk over WAN on all machines but locally on the problem machine i get this message "There was a problem connecting to the server "myserver.local" this file is available on your computer. Access the files and volumes locally."   Now from this message it sounds like the problem laptop thinks the network drive (Time Capsule) is the same as it's self in the way of name or address however they clearly have different IP addresses locally.   
    Any ideas on this would be apreciated as I can only think a clean install but don't want to do this if not necessary.
    Thanks
    Jarrah

    I think I gave you some bad info in the above, where i enterered the text "myserver.local" & "example.local" this was the host name of the server (Time Capsule) so not local on the computer.
    No i didn't try your method, I'll give it a go - I thought the folder option was for local files and not on a server ?

  • How is the connection info stored in a .rpt file?

    I'm writing a set of reports that are going to be distributed to many clients across the country. Each one of them will have a different connection string to use.
    I don't want to have to walk each client through setting the datasource location manually.
    Is there anyway I can have the .rpt file look at a config file or something to change the database/server name to the client's settings rather than remembering the settings I have here?
    Our app has a connection string stored in a text file that I could translate into xml or something else.
    If you need more details let me know.

    Hi,
    Need more info-
    VS version?
    CR version?
    Web or win app?
    Also you can provide the connection information in the web.config file and retrieve the information from their as per the requirement(In case of web application).
    Also you can change the connection informatin in code, but the database structure should be same as the reports been designed.
    To download sample code click [here|https://boc.sdn.sap.com/codesamples].
    You can also take help from [Dev library|https://boc.sdn.sap.com/node/7770]
    Hope this helps!!
    Regards,
    Amit

Maybe you are looking for

  • Mac Mini and Final Cut Pro

    Hi there, I wanted to see if anyone out here had a good or very bad experience working with FCP on the newest model Mac Mini, and more so, if it is possible to use the HDMI output on the Mac Mini as a video and audio out to a TV while working. Can Pr

  • Upgraded to 6.0.5 and itunes does not run

    I'm running Windows 2003 (i know, not officially supported...) and I upgraded itunes to 6.0.5. itunes no longer runs. I get an application error on start with " iTunes.exe - Application Error" "The exception Privileged instruction. (0xc0000096) occur

  • Inbox Doesn't Show New Mail Until I Click Out of Inbox and Click Back In

    Hello, I originally posted this in the Microsoft Community, but I was told to post here instead. HELP!!! Nobody I know seems to have an answer for this. I have Outlook 2010 connected to Exchange (work email). Whenever I get new mail, I have to click

  • How do I force iTunes to load all media in my iTunes folder into iTunes?

    I copied over the iTunes folder from my Mac to my Windows 7 PC.  I went through the instructions I found online about transfering my iTunes library from a Mac to Windows and everything seemed to work fine except when I open up iTunes the only media i

  • Issue opening microsoft powerpoint presentation

    I am having issues opening a powerpoint presentation through microsoft word. The error message I am receiving is "There was an error accessing MacintoshHDusers..." Any suggestions? I am receiving the file from another mac user who I believe is using