Best Practice to Setup an application to work with both oracle and db2 db

Hi,
We have an application that currently supports both oracle and db2 databases . It is currently using JPA with eclipselink as backend mechanism and we want to move to ADFBc as our backend . So what is best practice to do this?
I came across an old post in https://groups.google.com/forum/#!topic/adf-methodology/UlJZSTu14Io that states to create two different model projects to support oracle and db2 .
Is this still the standard ? Is there a way that we could work around rather than creating multiple projects?
How do i get the view controller to work with multiple model projects if this is the case?
Thank you.

Thanks for the response .
The problem is i would have the same schema on both the databases (both in oracle and db2) .
I don't see a scenario where i want both the application model projects at the same time . What i meant is , Application will either be deployed with Oracle DB or DB2 but not with both on a production environment .
So is there a way where i just change the connection parameters alone rather having two different models ?
If i have to use two model projects ,  would it be possible say i built the view controller for Oracle , and use it for DB2 if i make sure the BC objects names are similar between model projects and switch just the model jar based on the deployment environment ?
-Sam

Similar Messages

  • Is there a way to get a creative cloud license that works with both Mac and PC platforms?

    Is there a way to get a creative cloud license that works with both Mac and PC platforms?

    Hi there
    A Creative Cloud membership gives you access to both the Mac & Win versions of the desktop applications.
    Please check the FAQ for more information: Creative Cloud Help | Creative Cloud / Common Questions
    Kind regards
    Bev

  • How to Build a Flex App that works with both SQLite and MySQL?

    Let me explain a bit: I am developing an app that will
    be published as an AIR application using SQLite, as well as a FLEX application that will use MyDSQL via web services.
    I want to develop both applications in such a way that all the components can be reused, and I only have to do minimal redevelopment. I have started witht the AIR application. Once I have it completed, I want to publish the application (with minimal redevelopment) as a FLEX web app.
    My thinking is that I contain the database accesses in the Application, and passing the data via interfaces to the respective modules, as well as receiving data from the modules back to the Application to be written to the database. This was the only changes between the FLEX and the AIR application will be how the database access is handled in the Application file, and I can leave all modules as is and will be able to maximize reusability,
    I haven't done this before, and was wondering what the best approach for this is?
    Thanks!

    It seems very difficult to find best practices on how to structure your database layer in FLEX. None of the books I have go into detail about it, nor do any of the websites I have found so far, including the Adobe Flex tutorials. Sure, they explain how to interact with databases, but don't seem to care about best practices for structuring your application.
    Can anyone point me in the right direction for this?
    Thanks!

  • Will an unlocked iPhone 4S work with both CDMA and GSM SIM cards?

    I was using the iPhone 4S with a GSM sim card all these years here in India and would like to switch to a CDMA carrier.
    Does the phone work with both SIM cards? Or is there a separate model which works with CDMA?
    Appreciate all replies.
    Thank You!

    Hey varun0809,
    It sounds like you have a question about the specifications of your specific model of iPhone 4s. Here is an article for you that should be able to help you answer these questions:
    iPhone 4S - Technical Specifications
    http://support.apple.com/kb/sp643
    Cellular and Wireless
    World phone
    UMTS/HSDPA/HSUPA (850, 900, 1900, 2100 MHz);
    GSM/EDGE (850, 900, 1800, 1900 MHz)
    CDMA EV-DO Rev. A (800, 1900 MHz)3
    802.11b/g/n Wi-Fi (802.11n 2.4GHz only)
    Bluetooth 4.0 wireless technology
    1GB = 1 billion bytes; actual formatted capacity less.
    Actual size and weight vary by configuration and manufacturing process.
    CDMA available only if iPhone 4S is sold and activated for use on a CDMA network.
    All battery claims depend on network configuration and many other factors; actual results will vary. Battery has limited recharge cycles and may eventually need to be replaced by Apple service provider. Battery life and charge cycles vary by use and settings. See www.apple.com/batteries and www.apple.com/iphone/battery for more information.
    Wireless broadband recommended; fees may apply
    Some features, applications, and services are not available in all areas. See your carrier for details. Application availability and pricing are subject to change.
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • What format do I ned to make my external hard drives to enable them to work with both Mac and PC?

    I'd like to format several external hrd drives to work with both my Mac Book Pro and a PC in the house.  Disk utility says ok for esFat to wrok with both but techies say format as FAT. 
    Also, does size of external have an influence on the formatting option?
    Thanks.  Being a relative newcomer to MAC, I am trying to learn the ropes.  Thanks for any assistance you can give me.
    TJ

    hey
    i agree with matt exFat is a hybrid with good compatibility between both windows and mac, but it has this problem with huge cluster size so it'll eat your hdd up.
    if you are using it on a single windows pc you can install a HFS+ reader to that windows pc it'll enable you to read the hdd formatted HFS+ but you WON'T be able to write to it!!
    anyway it's your choice since both are okay but personally i've formatted mine to HFS+ and installed a reader on the pc

  • How come a USB will work with both Mac and Windows (as in that there are already files from Windows and Mac can still read and write onto it) but a external Hard Drive won't (as in there are files from Windows on there but Mac can read but not write)?

    I have a Seagate Drive that I'm hoping to copy some movies from my Mac onto (because it only has a 512 SSD and I'd rather keep that empty and handy for more readily needed files) but it won't work. It shows up as a drive when connected (with the orange USB drive icon popping up) and is appropirately labeled "FreeAgent Drive", but when I try to copy files onto it it won't work. There are already windows files on there, such as some windows backups and lot's and lot's of pictures and videos. However, I have several USBs which already have windows files on them (namely movies, music, and other stuff) and copying and stuff works fine. Why won't it work with this hard drive and would work with USBs? Please help me out here guys, I am not experienced with Hard disks and formatting and stuff like that. 10 points for whoever helps me out the most. Thanks.

    We will need to reformat your EXT, but it will then work on both Mac and Win
    Connect the drive to your Mac, open disk utility
    Go to the partiton tab and select '1' ... format should be ExFAT ... in options select MBR
    Format the drive
    It should now work on both OSs; report back

  • Generic Insert and Update Queries to work on both Oracle and SQLServer

    xMII12.0.2
    I need to write queries which will be able to run on both Oracle and SQLServer database tables without any changes.  It needs to be able to handle dates without including Oracle specific date functions (TO_DATE, TO_CHAR, TO_TIMESTAMP, etc.).
    I did read a post earlier by Jeremy Good regarding the use of ED and SD which invoke the DatePrefix and DateSuffix in the data server configuration.  That seems to work fine in cases of only trying to insert two distinct dates.  However, what do you do in the case of having three or more dates to insert.  An example query might be:
    Insert into ProductionOrder
    (ProdOrdNbr, Plant, Material, Quantity, UOM, DeliveryDate, ProdStartDate, ProdFinishDate, CreateDate, LastModifiedDate)
    Values
    ('0100001001', '001', '000000000007887780', 20.0, 'PC', '21-FEB-08 22:01:19','11-FEB-08 00:01:34', '12-FEB-08 02:44:59', '01-FEB-08 12:00:00', '04-FEB-01 13:22:13')
    So far I have been using the TO_DATE to convert the dates successfully, but SQLServer does not recognize that function (not surprising since it is an Oracle specific function).  So I would have to go through all the transactions/query templates and rebuild them separately to deal with the different database vendors. 
    Any suggestions?
    Thanks,
    Mike

    Hi Rick,
    Are you talking about dynamically building each script based on a server setting and datatype?  If I understand you correctly, I guess it could be done that way, but it would be a royal pain to maintain.  I have done such things before and can see how it could be done. 
    But is there no way to invoke the DatePrefix and DateSuffix besides the SD and ED parameters?  Or did I misunderstand your response?
    I would be perfectly happy to build all the queries inside BLS transactions.  In the few cases, where they are not already contained in the BLS, we could throw a BLS wrapper around it and not pay much of a penalty in performance.
    Thanks,
    Mike

  • Best practice for managing a Windows 7 deployment with both 32-bit and 64-bit?

    What is the best practice for creating and organizing deployment shares in MDT for a Windows 7 deployment that has mostly 32-bit computers, but a few 64-bit computers as well? Is it better to create a single deployment share for Windows 7 and include both
    versions, or is it better to create two separate deployment shares? And what about 32-bit and 64-bit versions of applications?
    I'm currently leaning towards creating two separate deployment shares, just so that I don't have to keep typing (x86) and (x64) for every application I import, as well as making it easier when choosing applications in the Lite Touch installation. But I know
    each deployment share has the option to create both an x86 and x64 boot image, so that's why I am confused. 

    Supporting two task sequences is way easier than supporting two shares. Two shares means two boot media, or maintaining a method of directing the user to one or the other. Everything needs to be imported or configured twice. Not to mention doubling storage
    space. MDT is designed to have multiple task sequences, why wouldn't you use them?
    Supporting multiple task sequences can be a pain, but not bad once you get a system. Supporting app installs intelligently is a large part of that. We have one folder per app install, with a wrapper vbscript that handles OS detection. If there are separate
    binaries, they are placed in x86 and x64 subfolders. Everything runs from one folder via the same command, "cscript install.vbs". So, import once, assign once, and forget it. Its the same install package we use for Altiris, and we'll be using a Powershell
    version of it when we fully migrate to SCCM.
    Others handle x86 and x64 apps separately, and use the MDT app details to select what platform the app is meant for. I've done that, but we have a template for the vbscript wrapper and its a standard process, I believe its easier. YMMV.
    Once you get your apps into MDT, create bundles. Core build bundle, core deploy bundle, Laptop deploy bundle, etcetera. Now you don't have to assign twenty apps to both task sequences, just one bundle. When you replace one app in the bundle, all TS'es are
    updated automatically. Its kind of the same mentality as active directory. Users, groups and resources = apps, bundles and task sequences.
    If you have separate build and deploy shares in your lab, great. If not, separate your apps into build and deploy folders in your lab MDT share. Use a selection profile to upload only your deploy side to production. In fact I separate everything (except
    drivers) into Build and deploy folders on my lab server. Don't mix build and deploy, and don't mix Lab/QA and production. I also keep a "Retired" folder. When I replace an app, TS, OS, etcetera, I move it to the retired folder and append "RETIRED - " to the
    front of it  so I can instantly spot it if it happens to show up somewhere it shouldn't.
    To me, the biggest "weakness" of MDT is its flexibility. There's literally a dozen different ways to do everything, and there's no fences to keep you on the path. If you don't create some sort of organization for yourself, its very easy to get lost as things
    get complicated. Tossing everything into one giant bucket will have you pulling your hair out.

  • Can't get WEP to work with both mac and windows machines.

    Currently my airport express is setup with no security. When I try to setup using WEP it works great for my powerbook but the windows machines constantly get disconnected.
    Any ideas? Should I use other types of wireless security (WPA etc...)? If so, can an xp machine be configured for that type?
    Any help would be greatly appreciated.
    PowerBook G4   Mac OS X (10.4.7)  

    If you can use WPA use WPA, it will depend on your PC
    wireless adapter and if you are running Windows XP
    SP2.
    --the window PC is running xp sp 2 but the adapter does not appear to support WPA (dell true mobile 1300 internal adapter)
    from your response below not clear what is the best path to take given WEP is the only option.
    One of the problems with WEP is that the actual
    standard relies on a 10 character HEX key for 40bit
    WEP and a 26 character HEX key for 128bit WEP.
    In order to make things easier for people, vendors
    use certain algorithms to convert simple
    alphanumeric passwords (or passphrases) into HEX
    keys, thus enabling people to use simple memorable
    WEP password rather than lengthy HEX keys.
    The problem is that different vendors use different
    algorithms to generate the HEX key and therefore a
    ASCII password on an AEBS will be hashed differently
    on a Netgear client and vice versa.
    One thing is a 13 character 128 bit WEP password
    will be hashed by all vendors in the same way (if
    you use 40bit WEP then a 5 character password is
    required).
    Though sometimes not even that works and the HEX key
    must be used regardless.
    AirPort: Joining an encrypted wireless network
    http://docs.info.apple.com/article.html?artnum=106424
    Choosing a password for networks that use Wired
    Equivalent Privacy (WEP)
    http://docs.info.apple.com/article.html?artnum=108058
    Accessing a Airport Network with a Windows XP PC or
    laptop (with XP SP2)
    http://www.ifelix.co.uk/tech/1011.html
    Accessing a Airport Network with a Windows XP PC or
    laptop (with XP SP1)
    http://www.ifelix.co.uk/tech/1010.html
    iFelix

  • Which oracle client works with both Oracle 11.2.0.2 and BizTalk 2006 R2

    Hi there
    My Oracle11.2.0.2 is installed on linux server. My Biztalk2006R2 is installed on Windows Server 2003 R2 x64. I have already installed BizTalk Adapter for Oracle on the Biztalk server and now require to install Oracle Client to make Biztalk able to retrieve data from Oracle11.2.0.2 using the oracle client.
    From the following link,
    http://msdn.microsoft.com/en-us/library/aa559822%28v=BTS.20%29.aspx
    I came to know that the only oracle clients compatible with Biztalk adapter for oracle are as below:
    1) Oracle client 8i
    2) oracle client 9i
    3) oracle client 10i
    Now I need to install an oracle client on biztalk server in order to make biztalk talk to oracle and retrieve data from it.
    Question1: which of the above clients should i install on biztalk server that is compatible with both Oracle11.2.0.2 as well as Biztalk server 2006 R2?
    Question2: How to install and configure this client to make it work correctly?
    Please help.. thanks.
    Edited by: manibest on 19-Dec-2012 03:27
    Edited by: manibest on 19-Dec-2012 03:27

    The Biztalk Adapter interface with Oracle software has information, requirements per referenced document that does not make sense.
    E.g. "10i" does not exist and the requirement "Oracle ODBC driver 9.2.0.5.4" means that only 9.2 Client can be used. (Mixing parts from one Database Client product version with another version is not allowed/supported/certified.)
    Btw, does that machine happen to have Itanium hardware? (probably no, since you stated x64)
    For Oracle's OS requirements, 2003 was certified with/from 9.2.0.3 (and likely also terminal patch set version 9.2.0.8). Not sure about Server 2003 R2, 32 or 64-bit. I'm pretty sure 10.2 was certified on 2003 R2, but the note likely refers to 10.1 versions (before it was known it would be labeled 10g, g for grid replacing the i ).
    This FAQ may have some more information: http://www.oracle.com/technetwork/database/windows/faq-100614.html
    For Oracle client - server interoperability and certification, there's a support matrix on MOS. See doc id 207303.1.
    It seems 9.2 is supported on the wire to operate with 11.2 server, but Client with at least patch set 9.2.0.4 is required.
    So, I guess best bet is to find updated requirements.
    If you manage to get hold of 9.2.0.5, after verifying that 2003 R2 is ok, then it looks like the puzzle could be put together for a complete picture.
    For ease of install, take a look at the Instant Client. (However, there's no 9.2 IC, that type of client install came later)
    http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
    Edit;
    some corrections, specially about 9.2 version
    Edited by: orafad on Dec 19, 2012 10:58 PM

  • Work with both: iPhoto and Aperture (or Lightroom)

    I have iLife '09 and the newest MacBook pro with Leopard (last edition) and I am New in Apple Scene.
    All my photos now are imported in iPhoto. How can I organize lot of photos, when I want to work with Aperture (or Lightroom)? Do I need then iPhoto? Or only organize all photos in Aperture?

    Aperture, Lightroom and iPhoto all cover the same ground in different ways.
    iPhoto is aimed at the domestic market. It's very user friendly and works very well with Point and Shoot cameras especially.
    Both AP and LR are focussed firmly on the Pro Shooter shooting high volumes of RAW. They both have significant learning curves.
    That said, there is much to be gained as an Amateur photographer using either app if you are shooting RAW. Much less so if you you're shooting jpeg.
    You can download trials of both AP and LR.
    AP works in a limited fashion with iPhoto. You can share your Previews with iPhoto, for instance, and there is a facility to easily migrate from iPhoto to Aperture. You can migrate an entire library or just particular photos.
    LR is utterly unaware of iPhoto. There is a third party plug-in that facilitates exporting from LR to iPhoto. There is no easy way to migrate from iPhoto to LR.
    Subject to the caveats above about shooting RAW: I would use Aperture as the primary organisational and processing app. I choose AP because it's much more powerful that iPhoto and because it has excellent OS integration entirely missing from LR.
    Regards
    TD

  • Working with both aliases and redirection

    Hi,
    Working with an OS X Server Tiger 10.4.4.
    Hostname is 'osxserver' in domain 'beicip.fr'.
    I have a LDAP user named 'gardais'.
    Mails to this user are redirected to an external mail box.
    When I send a mail to [email protected], I get the mail in the external mailbox as expected.
    In the mail service, I added a alias to the hostname.
    Under 'localhost', I added the hostname 'lists'
    Problem is : when I send a mail to [email protected] (same user, same domain but host alias), the mail bounce back and forth between osxserver and our internal mail exchanger.
    The internal mail exchanger giveup after about 10minutes of bouncing.
    It's like osxserver is trying to send the mail through the relay host without rewriting the destination email address (to forward the mail to the external mailbox)
    What did I do wrong for this to work fine with the "official" hostname (osxserver) but not with the alias declared for the mail server.
    Please note that the 'lists' hostname is known and declared in a DNS.
    Thanks,
    Ionel

    Instead of "lists" add "lists.beicip.fr"

  • Elp pls!! am trying to setup ipad  0s7 to work with my 2610xi and also a HP 6525 printer. I am no where with this even after visiting Apple store in Pensacola, fl.  HP says one thing and Apple says DUHHHH.

    I have an ipad os7 system and am trying to get it set up to print to HP  2610xi all in one printer and also print to another HP printer 6525.
    Hp says one thing and Apple here  says nothing to it I don't have anything going. Apple says all the printers must say compatibile with AIR whatever that means since HP says bull.......! Do I need to download air software or what and than what?  I use Windows 7 and all works there.  Everything is wireless!
    Help please, I don't need more door stops!
    Paul

    The 6525 product description has this statement:
    Print from virtually anywhere with HP ePrint,[1] share wirelessly,[7] and scan & copy with ease.                                                                                                            
    Looks like you have to use the HP ePrint app which is available in the App Store

  • Does UMX Work with both Oracle Apps 11i and Oracle Portal

    Hi,
    I am looking for some information related to UMX, Please share...
    Has some one setup UMX in your 11i instance.. How comfortable it is after installation
    I am looking to setup UMX for an Apps11i instance...
    I am also sharing this Apps11i Database with Portal and Discoverer installation.
    It is my initial understanding that the UMX is tightly coupled with Apps11i, Can I also integrate or use UMX with Discoverer/Portal.
    Well, my basic purpose of exploring UMX is to get the Automatic Password Reset. If you are aware of anyother Password reset feature (which is not custom built using FND_USER Package & Procedure, coz..upgrade/maintenance issue), Please let me know.
    With kind regards,
    JRF.

    Refer Metalink Note 258281.1, 290525.1 for Configuring UMX with Oracle Apps
    also refer the following link
    http://www.oracle.com/technology/products/applications/security/index.html
    (white paper on UMX)

  • How to work with both desktop and Surface pro 3

    Hello,
    I have a desktop for my normal use of Adobe Creative Cloud for Photoshop and Lightroom.  I have my lightroom catalog on a separate external drive.  I just got Surface pro 3 to do Adobe on it.  I am now confused on how to work on Surface and how to access my Lightroom catalog.
    Thanks for your help.
    Mo

    Just install Lightroom on your Surface Pro, plug-in the external drive, and double-click the LR catalog file.

Maybe you are looking for

  • Outlook 2011 no longer syncing with iCal 5

    After the upgrade to Lion, Outlook 2011 w/ sp1 no longer syncs with iCal. Sync services are on but no syncing takes place.

  • Generate a LabVIEW VI From My SignalExpress Project

    I'm using Signal Express to acquire and analyse signal from Tektronix TDS 2012B digital storage oscilloscope. I've two problems facing now. 1. I'm not able to plot the BH Loop (Hysteresis Loop) in Signal Express, which is shown correctly in TDS 2012B

  • Purchasing a 2011 new or refurb iMac vs new 2012?

    Hi All, It is time to finally upgrade my old iMac. I waited for the new 2012 model to come out. Now that I have read up on it and see there is no cd/dvd optical drive(which I use quite a bit) I wonder if I am better off trying to find a mid 2011 iMac

  • Photo Boot "Pop Art" question...

    I am aware that within XCode Tools there's a utility called Core Images Fun House that replicates some of the photo booth filters on regular photos (and then some more...) But any of you guys have figured the way to exactly replicate one of the frame

  • Process chain failures and errors therein

    Hi all, Can anyone please guide me as to why the process chain fails? what are the <b>various kind of errors</b> most often encountered? and how we can recifty them.....??? Your kind suggestions are thankfully acknowledged, thanks and regards, shalin