Distributed dvlpment on WAS: Need to keep the local & svr DBs the same?

in our distributed development environment where we have local PC development of J2EE apps and a central Sun server hosting these apps for development, testing and production, we find that there is an inconsistency with the database with the fact that our central server uses Oracle and our local PC uses MaxDB.
since we are using different databases for development and production respectively, we would be
1) Forced to write separate SQL for each database, which would be very time consuming, or
2) Use very generic SQL, and handle retrieval logic using code, which would also be very time consuming.
The reason being Oracle and MaxDB both have different keywords and syntaxes.  I did a quick search for both Oracle and MaxDB keywords, and found that the following commonly used keywords in Oracle does not exist in MaxDB.
     GROUP BY
     DISTINCT
     LIKE
     BETWEEN
     UNION
Question:
1) Doesn't SQLJ abstract out the different database programming specifics? We did a test and we found that EXCEPT works for MaxDB but not for Oracle (had to use MINUS)
2) Does that mean that it is better for me to ensure that BOTH my PC development and server development utilise the SAME database (ie oracle?). If this is the case, will there be a licencing issue to ensure I get Oracle to my PCs too?
Cheers

Hi,
To ensure that your code runs properly on both DBs, you should use the SQL grammar defined by the Open SQL for Java framework. It is based on an SQL subset, which is relevant for all databases that SAP supports. For more information about the Open SQL grammar, see the following documentation: http://help.sap.com/saphelp_nw04/helpdata/en/9b/f46cabaa874bc9a82234e8cf1d0696/frameset.htm
However, note that you can only use the Open SQL for Java framework (which includes Open SQL/SQLJ) with the Java database schema of the Web AS itself. If you connect to another db schema, you should use the Native SQL layer of the framework. You can have a look at the Java Persistence documentation for more details on this: http://help.sap.com/saphelp_nw04/helpdata/en/2d/23b32e8c0152469edf07909703fe03/frameset.htm.
I hope this answers your questions.
Zornitsa

Similar Messages

  • When I try to send an email I get a message - Non ASCII characters in the local part of the recipient address.

    I am trying to send an emails to Italy. When I click send I get a message ( Non-ASCII characters in the local part of the recipient address). [email protected]  is one of the email address I am trying to send to. My other email address' work OK. I have sent emails to these Italian address before with no problem.

    Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • Pre-requisites required for the local configuration of the Weblogic portal

    Hi All,
    I have got the code from the client. It is appenntly came to know that Code has been developed in Weblogic workshop.
    When we build teh application we are getting the following web services related Errors:
    ERROR: DESCRIPTION:An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.NullPointerException:null
    WARNING: SUGGESTION:An unexpected error occurred. Please contact [email protected] for further assistance.
    ERROR: ERROR
    ERROR: DESCRIPTION:An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.NullPointerException:null
    WARNING: SUGGESTION:An unexpected error occurred. Please contact [email protected] for further assistance.
    ERROR: ERROR
    ERROR: DESCRIPTION:An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.NullPointerException:null
    WARNING: SUGGESTION:An unexpected error occurred. Please contact [email protected] for further assistance.
    ERROR: ERROR
    ERROR: DESCRIPTION:An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.NullPointerException:null
    WARNING: SUGGESTION:An unexpected error occurred. Please contact [email protected] for further assistance.
    ERROR: ERROR
    ERROR: DESCRIPTION:An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.NullPointerException:null
    WARNING: SUGGESTION:An unexpected error occurred. Please contact [email protected] for further assistance.
    ERROR: ERROR
    ERROR: DESCRIPTION:An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.NullPointerException:null
    WARNING: SUGGESTION:An unexpected error occurred. Please contact [email protected] for further assistance.
    PortaleWebApp: Created control beans for 19 controls in 12703 milliseconds
    BUILD FAILED
    ERROR: Build failed with 15 error(s).
    When we deploy in the Portal weblogic server, Application is deploying with out any errors. But it is not showing any login page when I start the PTLoginMain.portal file.
    As I am completly new to this Weblogic Portal server, Please let me know, Do i need to configure the any setting before starting the application. I mean to ask you that Pre-requisites required for the local configuration of the Weblogic portal Server.
    Any Help would be much appriciated.
    Regards & thanks,
    Nirmala Vijaay Sekhar Varre

    and your server address can be resolved or not?
    Are you accessing the server from Windows or Linux?
    - On Linux try editing the /etc/hosts file and add something like: 10.241.110.105 server1.etcetera
    - On Windows try editing the C:\WINDOWS\system32\drivers\etc\hosts file and add something like: 10.241.110.105 server1.etcetera
    When this works, contact your system administrator and ask him or her to map an ip to your hostname in DNS and DHCP
    such that the servername automatically resolves the ip-address

  • Using the local db in the netweaver developers workplace

    hi guys,
    is it possible to use the local db of my developers workplace?
    I am planning to create jsp-pages in the netweaver developers studio (nds) and want create some db-table for my  application (create and update statements). how can I access the local db in the nds? do I need a special jar-file like in jdbc to handle the communication with the db?
    In a later step I want to migrate this application into the local sap portal.
    thanks
    thorsten

    hi thorsten,
    the access information about your local max-db is shown in the sapmmc.
    the preferred way to access databases is by using jdbc datasources
    --> http://help.sap.com/saphelp_nw70/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/content.htm
    and the following link to get familiar with driver class and connection string:
    --> http://help.sap.com/saphelp_nw04s/helpdata/en/43/313c13198d0d26e10000000a1553f7/content.htm
    or: Can we connect from Portal to MaxDB with the trial version of SAPNetWeaver?
    hth, regards and merry x-mas to you, too
    regards, jens

  • How to get the absolute path of a file from the local disk given the file n

    how to get the absolute path of a file from the local disk given the file name

    // will look for the file at the current working directory
    // this is wherever you start the Java application (cound be C: and your
    // application is located in C:/myapp, but the working dir is C:/
    File file = new File("README.txt"); 
    if (file != null && file.exists())
        String absolutePath = file.getAbsolutePath();

  • Just bought a brand new ipod nano and downloaded an audiobook borrowed from the local library.  The book is there and playing but, I cannot hear anything.  What am I doing wrong?

    just bought a brand new ipod nano and downloaded an audiobook borrowed from the local library.  The book is there and playing but, I cannot hear anything.  What am I doing wrong?

    Does the same file play normally in iTunes?  Do other audiobooks play normally on the iPod?
    How does "borrowing" work?  Does it require use of another app, other than iTunes, to get it on the iPod?

  • Wrt1900ac (I changed the local ip of the router after a power outage)

    I changed the local ip of the router after a power outage,which brings me a lot of trouble because I have everything set up based on a class C network (192.168.1.x) and I changed it to a ip Type A (10.xxx), someone happens the same there any solution ?

    Hi juanmanuelvazquez. Have you tried to do a hard reset to the unit and reinstall it from scratch?  I suggest that you do so as power interruption normally brings the router back to default settings thereby messing up the network. To do the proper reset, please press down the reset button at the back of the router for 30 seconds while the device is powered on. Release the button and unplug the device. Reinstall everything from scratch.
    Hope that helps.

  • The Local section of the Yahoo front page is stuck on New York, and I'm unable to change it to my city. IE does not have this problem.

    The Local section of the Yahoo front page is stuck on New York as the default, and I'm unable to change it to my city using the normal procedure. IE does not have this problem. This is a new problem that has occurred with the latest version of Firefox. Since the same problem doesn't occur with IE, I've concluded that this is a Firefox issue and not a Yahoo issue. Please advise.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"

  • Does @Variable() can get the locale infomaiton of the enduser

    hi, all
    like the @Variable('BOUSER') can get the current user of the webi or universe, does @Variable() can get the locale infomaiton of the enduser?
    thanks.

    @Variable provides a default list of options.
    I posted the list in this topic on BOB - scroll down to it:
    http://www.forumtopics.com/busobj/viewtopic.php?t=142539
    The extended discussion also explains that while you can create other parameters, you will be responsible for maintaining them through something like the Windows API.
    Regards,
    Mark

  • How does the local copy of the universes work?

    To whom it may concern:
            We are using BO 6.5.1.Normally the local copy of the used universes will be updated from the repository when we open BO documents and select universes. However, recently we found that this "update" sometimes failed and cause an message windows full of garbage messages. We have to delete the universe we used under "C:\Documents and Settings\53170\Application Data\Business Objects\Business Objects 6.0\universes" and, then, the "update" resumes.
            Please provide me with the knowledge about how the local copy of universes updates? And, how to avoid the above problem? Thank you!
    Antonio

    Hi Yun,
    Following information might help you to resolve the issue.
    Whenever you alter and export the universe to the repository, Business Objects does not automatically update the local copies of the universes on each machine.
    Only when the users access to the same (altered) universe next time or makes a report from that universe from there local machine, then Business Objects first compares the altered universe with that of old universe (local copy) stored in the machine, only then Business Objects imports the altered universe in the useru2019s machine or replaces the old copy with the altered one.
    Solution:
    In BusinessObjects, click on Tools > Options > General tab. Place a check in the box to 'Automatically import universes'.
    End users will now import the updated copy of the universe whenever they open the report.
    Regards,
    Sarbhjeet Kaur

  • Do I need to keep a local copy?

    All of my music is on a single external drive.
    Once itunes match upoads/match all of my music, do I need to keep the external drive connected to one of my computer?
    Can I store the external drive in my safe or even trow it out and keep everything on the cloud without any local storage?
    Thank You

    Bernard Brault wrote:
    Thank you for your response. However I am still puzzled about having to keep a local copy. To be safe, this mean that I also have to keep a backup of my local copy as well.
    If you care about your data, yes you should. Redundant backup plans are what keeps data safe.
    Bernard Brault wrote:
    ITune Match has a copy my entire song collection as both links to my songs known to the Apple Store and cloud copies of my songs it could not match. So effectively iTunes Match has my entire 10,000 song collection but I am still forced to keep a backup of my song collection in a safe or on another cloud service like Dropbox or I risk loosing it all when my local drive eventually fails!
    It's not a true copy. Think if it as a mirror. For example I purchased the recently remastered early Rush albums on CD. There was one album in each box in 24-bit, 96 kHz which I have ripped and then converted to AAC @ 256 Kbps for the highest quality AAC track I can get. Now, most of these tracks were matched to tracks in the iTunes Store (which is fine since I'm going to be listening to them on my iPhone), but they are not the same tracks that are in my iTunes library. If I had a disaster I would not be able to restore the tracks I spent to much time on, I'd have to settle for the tracks I can get from the iTunes Store. For me this is not an optimal solution, which is why I keep local backups.
    If none of this is important to you, or if your other personal data is not important to you, then by all means don't backup. The choice is yours. But if you do not backup you will eventually lose data.

  • Verizon won't honor my contract..​.I'm going to the local news and the FCC

    On Friday I called Verizon because our 2 yr contract was expiring and, frankly, I didn't want to renew.  I just wanted to know what my options were as far as disconnecting our FIOS services.  I have had two years of nothing but troubles with Verizon and wanted to be rid of them.  However, I ended up speaking of {edited for privacy} from the Rentention Department, who offered me a very good deal to stay.  And, I have a confirmation number for that contract.  Within two hours after I got off the phone with her, we lost our phone service as, even though she verified with me that we were keeping our copper phone, the system switched us to a FIOS phone.  This is Tuesday night. I can make phone calls out, but incoming callers are now told our phone service has been disconnected.  I called tonight and spoke with "Mike" who told me that Verizon would not honor the contract that Maureen gave me.  To say the least, I am infuriated.  I have already contacted a friend of mine who is a reporter for our local news channel, and will be contacting the FCC tomorrow regarding possible legal implications.

    BethH,
     We are glad that you now have your services back.  We value you as a customer and will work to get the contract that you were promised or a comparible contract.  Please feel free to contact us if you need any further assistance.
     Thanks,
    Tonya D.
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • I get "there are non ASCII characters in the local part of the recipient's address" when trying to send emails as BCC. email addresses are all good!

    I used to send out christmas greetings from my biz to groups of 20 customers, in BCC format. all addresses are good, but the emails don't get sent now because of the supposed ASCII problem.

    Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • IP/VC 3540 MCU: How to eliminate the local image on the local endpoints?

    FACT: When creating a multipoint call using an MCU, the local image has been sent to the local endpoint which may result a slow connection since the video packet were sent to the origin.
    QUESTIONS:
    1. How can we prevent the local image to be sent to its original endpoint?
    2. If it does happen, does it consume more bandwidth?

    - In a symmetric conference that is setup to allow for 320K video would allow for 320K in and out. It does not get divided in half to produce 160K in and out.
    - The EMP has additional features above and beyond the RMM. You can see if the EMP is registered with your MCU by going into the administrative interface of the MCU and clicking on the “Registered MPs” tab. You should see both the MCU MP and EMP that is your system is using.
    - In a continuous presence conference 5 people would need to be in a conference in order for the local image to fall off the screen. This does not really eliminate the participant from the conference; it basically masks their image from being sent since they are not one of the primary speakers. If that person does talk the will show back up in the one of the four squares.
    - The only reasoning that I could possibly give for the local image looking good on the Polycom is that it may be sending back the original image to the local party. If you were to have another unit dial into the conference how does the image look?
    - Without the Audio Transcoder card you will only be able to handle G.711 Audio. Advantages of the Audio Transcoder card are that it allows you to transcode from G.711 to the following audio codecs.
    The IP/VC 3540 audio transcoder modules for the MC03A and the MC06A provide the following features:
    = Translates to G.722 codec
    = Translates to G.723 codec
    = Translates to G.728 codec
    = Translates to G.729 codec
    = Translation for up to 30 ports simultaneously

  • How to get the locale/region of the device?

    I want to retrieve the locale/region being used on the user's mobile device (doing this on iOS at the moment) and seem to be having difficulty figuring this out.
    I need to be able to distinguish between en_US, en_UK, en_CA etc.
    Capabilities.language & Capabilities.languages just seem to return the language "en" and not the locale/region being used for the device.
    I've also tried using
    var defaultLocale:LocaleID = new LocaleID(LocalID.DEFAULT);
    trace(defaultlLocale.getLanguage + "_" + defaultLocale.getRegion());
    But this just results in an output of "i-default_" (invalid language setting and empty region setting).
    Any ideas on what API calls I need to be using, or what I'm doing wrong?
    Thanks in advance

    Well it looks like if you go into the devices Settings->General->International->Language you can set the preferred language to "British English".
    This will then cause Capabilities.languages to return "en-GB" for the first element of the array (the prefferred language). Not sure why it doesn't use proper locale/region codes, but that's another discussion.
    The remaining issue is that there is no device setting for "Canadian English", so this doesn't completely solve my problem.
    iOS devices do also let you set the "Region Format" which does have a "Canada" setting. I'm guessing that I could use this as a work around if we have access to the "Region Format" data through some AIR API. Does anyone know if we have access to the "Region Format" information on iOS devices and how we'd access that information?
    Thanks.

Maybe you are looking for

  • Population of XREF2-Reference Key 2 for a Accounting Document

    Hi Gurus, I have a requirement while posting an accounting document by clearing the Customer open item. My requirement is Populating the BSEG-XREF2 with customer tolerance Group (KNB1-TOGRU) of the Customer. I tried implementing the logic in the subs

  • Details on booting from a Fire Wire HD

    Good day, all I'm trying to make a bootable back up of my internal hard drive on my old iBook. I used "Personal Backup X3" to "clone" my drive to a LaCie Fire Wire drive (which is partitioned into two 40 gig parts. When I boot the iBook (with the LaC

  • DVD recording very slow on my Satellite M30

    Hi, I have a satellite M30 with a DVD burner Teac dv-w28e. burning onto DVD (8x) takes more than 1 hour and half for 4 GB, even if the burning program says the speed is 8x and the estimated time is 10 minutes. So, what's the matter???

  • Snow Leopard - Bento 2.0v5 - Lost record data on Snow Leopard Upgrade

    Any thoughts on this one: After an update to Snow Leopard 10.6 and 10.6.1, the data entered in Bento fields associated with contact names in Address Book are no longer available (only 10 of 300 or more records are still available) In addition, the ca

  • Print not working in Adobe Reader 11.0.07.

    It does not acknowledge that I have clicked the "print" button in the program. Control   P also has no response. Therefore, I cannot even look at printer settings. I am running Mac OS X 10.9.4. I've uninstalled and reinstalled a few times. Admin sett