Switching underlying database for existing application

I am exploring the possibility of switching database(from Oracle to Mysql) for an existing application, assuming both database have identical data structures.
Obviously we might need to remap some datatypes, and create links manually. Is there an efficient way of doing this without much breakage?
Thanks.

User, you have to do mou re then just alter some data types. You have to change the Mets data too as you otherwise run into trouble when you run the application. Some interaction is calculated at runtime depending on the db type and data types chosen when you started the project.
Then you have to leverage the different functionality of the dbs. If you have used db specific functions in your java code, you have to reactor this code too.
Timo

Similar Messages

  • TS1702 when i try to update an application it tells me that my account is not valid for use in the UK and have to switch to the australian store to update?how do i switch stores/countries for the applications?? Thanks.

    when i try to update an application it tells me that my account is not valid for use in the UK and have to switch to the australian store to update?how do i switch stores/countries for the applications?? Thanks.

    See  >  Change your iTunes Store country
    Here  >  http://support.apple.com/kb/HT1311

  • Opensource database for Mobile application development

    hi.
    1. SQL CE is a database for mobile applications. Is there a similar opensource implementation available , i.e a database that i can port on my mobile application.
    2.If this is not the forum in which i must post such question ..pls let me know the link where in i should make such posts..
    Ur suggestions will be valuable..
    regards
    KARTIK

    hi.
    1. SQL CE is a database for mobile applications. Is
    there a similar opensource implementation available ,
    i.e a database that i can port on my mobile
    application.
    2.If this is not the forum in which i must post such
    question ..pls let me know the link where in i should
    make such posts..
    Ur suggestions will be valuable..
    regards
    KARTIKhttp://hsqldb.sourceforge.net/

  • Not sure if i should use a database for my application?

    Hi
    Not sure if i should post here or not..
    But my problem is that initially i planned to use a database to map my application logic so that it can keep information after the app shuts down and i would get it back the next session i open my app. My application is shared across netwrok therefore i thought it would make sense to use a database. I know i can use Serialization to keep state but that only does it for current location hence i opt to use a database.
    But now thinking back i'm not pretty sure afterall if i just have my app updating the database for no other use apart from using it to keep state from my app across network.
    So - do current software application out there use a database as a datasource alot? If so how are they using it?

    Interesting indeed..
    But saying this again: all my use of database is just mapping the application logic (model). So essentially it use is just like a backup.
    After reading that link you gave me: does that mean it is very common that most software system out there uses any database of some sort to store any information as small as smallest peice of information you get?

  • Weblogic.Deployer using -deploy for existing application

    I'm running on weblogic 8.1 SP3
    when I use -deploy for an existing application the documentation says it will do a redeploy.
    documentation for the targets option says that it will use existing targets for an application that is currently deployed.
    BUT it doesn't work. Is this a known issue ?
    I use the following options:
    -name fortune
    -source /data/bea81/applications/stg/fortune.ear
    -verbose -debug -deploy -stage

    Check to see if the problem is with the Deployer tool or myApp.war:
    1) Does myApp.war deploy using the console?
    2) Check myApp.war has all the classes it needs?
    If your app does deploy from the console then we can focus in on the Deploy tool. If not it may help give us a clue as to what is going on e.g. your war file missing classes.
    Hoos

  • Application Switcher: no icons for open applications.

    After updating to OS 10.6, when I use the application switcher (command + tab) no icons appear for the applications I have already opened. I have only finder icon.

    HI,
    Delete this file.
    com.apple.finder.plist
    /Users/YourName/Library/Preferences
    Drag that file form the Preferences folder to the Trash, empty the Trash and restart your Mac.
    Anothere user reports restarting did the job. http://discussions.apple.com/thread.jspa?messageID=10117564&#10117564
    If deleting the finder.plist file didn't help.. delete this file also.
    com.apple.dock.plist
    Found this also... Snow Leopard 101: Application Switcher Exposé
    Carolyn
    Message was edited by: Carolyn Samit

  • Using 9iAS Database for BI Applications?

    We have a 9205 Database that is serving as our data warehouse. I have created several servlets and java client classes using BI Beans and JDeveloper. I want to deploy them using 9i Application Server. The 9iAS install installs another database. Should I use the database that 9iAS installs instead of my pre-existing database, or keep using the 9205 warehouse and have two complete databases on the same machine?
    Thanks

    I have used HSQLDB for awhile. I have found it to be very useful, though I've mostly used it for simple, read-only databases. Definitely what I would recommend for your situation.

  • Common Supplier master database for Custom Applications and Oracle Financia

    Hi,
    We would like to build a custom applications (Multiple) for our organization core business operations using .NET on the database which is being used by Oracle financials R12.1.1. These custom applications are going to have its own application servers. BUT the database is common for both custom applications and oracle financials. This database is going to house on the Oracle RAC.
    We would like to have a common supplier master for both custom applications and Oracle payables. Could you please help me with below questions?
    1. How to create/Update/Query the supplier records in the supplier master tables provided by Oracle financials using custom applications?
    2. How can we store the additional data elements needed by each custom application? We can't use the DFF on the supplier tables as the data elements for each custom application is going to be different. even though they use same supplier.
    3. We might have multiple supplier with same name but different FEIN/SSN numbers. As per the design Oracle financials doesn't allow the same supplier name entered multiple times even though FEIN/SSN number is different. How can we workaround this limitation?
    Thanks,

    Hi,
    Please find my comments below:
    1. How to create/Update/Query the supplier records in the supplier master tables provided by Oracle financials using custom applications?
    A: You may use Supplier Open interface and Sites Interface to Create the Supplier Records. I don't think there is any API to update Supplier Info. Since both the applications exist on same database, I think you can query the Vendor tables from Custom applications also.
    2. How can we store the additional data elements needed by each custom application? We can't use the DFF on the supplier tables as the data elements for each custom application is going to be different. even though they use same supplier.
    A. Designing different tables depending on Custom Application ID and Vendor ID seems to be the only option.
    3. We might have multiple supplier with same name but different FEIN/SSN numbers. As per the design Oracle financials doesn't allow the same supplier name entered multiple times even though FEIN/SSN number is different. How can we workaround this limitation?
    A.One alternative is to create a single supplier with each FEIN/SSN number as site. Second one is to create Supplier Name concatenated with FEIN/SSN numbers as different suppliers and store the actual name in some DFF or other field. Standard functionality won't allow such duplication (Cannot Create Supplier/Employee With The Same Name Of Existing Supplier [ID 743430.1]).
    Hope it helps.
    Regards,
    Sridhar

  • How to set up database for form application in app. server 10g r2

    Hi Friends and Bgrant.
    I get user compiled fmb file.
    I did not find componant in app. server.
    However, I can see form server ment with 3 subitem : form compiler, formmigration and run form on the web.
    The form application is supported by database. Other person already configured server for application .
    I put a URL in URL field in run form on the web. I can see install ed successfully! Oracle application Server. Forme server. Oracle application server 10g. title: welcome oracle application server
    after clicked OK button, the page is grey blank without any inforamtion to be displayed. No error message. status bottome as done. the page title as Oracle application server form server.
    SO I think that i need to creade a datasource in app. server.
    But I do not know how to fill field.
    I can log into database from SQL*plus in server PC.
    In datasource page in app. server: i copy a default ORCALEDS information
    with new ID and password. it does not work
    hereData Source Class:
    JDBC URL :
    JDBC Driver:
    Location
    Transactional(XA) Location      
    EJB Location
    Thanks for any help!!
    jim

    Thanks for help!
    I fixed issue of database connection with new issue.
    Only display first form setting (first URL) for 4 different URL
    URL:
    http://salerpt.com/forms/frmservlet?config=emis-srmenu
    fmx file Location as C:\OraMid\forms\salerpt-Forms fmx name as srmenu.fmx in same directory
    fmb file location as C:\OraMid\forms\salerpt-Forms_source fmx name as srmenu.fmb in same directory
    # Single Sign-On OID configuration parameter
    oracle_home=C:\OraMid
    in formweb.cfg file
    baseHTMLjinitiator=basejini.htm
    workingDirector : workingDirectory= blank. but C:\OraMid\forms\salerpt-Forms right now
    # Forms runtime argument: which form module to run
    ##form=test.fmx
    ## i moved bottom section of form section in here and before
    line as Forms runtime argument: database connection details
    comment two line
    #jinit_exename=jinit.exe
    #jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    I create 4 sections as
    form=srmenu.fmx
    width=1200
    height=700
    pageTitle=Sale Information System (SIS)
    form=xxxx
    net 3 form setting
    However it only display one form interface that i put in( 4 different URL. only display first URL)
    It seems that one formsweb.cfg, it doesn not support multip form application.
    I have 4 small forms application with 4 URL for one formsweb.cfg.
    What should I need to do?
    I am waiting for your help!
    JIm
    Edited by: user589812 on Nov 24, 2008 1:49 PM

  • Loading caches from database for old application

    Hi,
    I clearly understand synchronization of DB with Coherence, if we do insert/update/delete records from both DB and Coherence, but as i understand this way is useful only if Coherence exists, from the time when the first record was created by Application.
    Is there any way to populate records for an existing/old DB to Coherence? If not, making small Java application that retrieves records and puts to Cache is acceptable?
    Thanks.

    Onur Aktaş wrote:
    Hi,
    I clearly understand synchronization of DB with Coherence, if we do insert/update/delete records from both DB and Coherence, but as i understand this way is useful only if Coherence exists, from the time when the first record was created by Application.
    Is there any way to populate records for an existing/old DB to Coherence? If not, making small Java application that retrieves records and puts to Cache is acceptable?
    Thanks.Hi Onur,
    do you use cache stores to write to the DB, or do you maintain the cache and the DB on your own?
    BR,
    Robert

  • Web Database for existing Sharepoint 2010 List

    I would like to create an Access Web Database based on a list that already exists in my SharePoint site. Is this possible?

    Hi Adam,
    From your description, my understanding is that you want to create an Access database using an existing SharePoint list.
    In SharePoint lists, there is a button called "Open with Access". You can synchronize the data in a SharePoint list with Access 2010 by using the Open with Access command in the list ribbon. This command creates an Access table linked to the SharePoint
    list, and a supplementary UserInfo table that contains additional information, such as user names, accounts, and e-mail addresses.
    You can also link a table to an existing SharePoint List by using the SharePoint List command in the Import & Link group on the External Data tab.
    More information about Access and SharePoint, you can refer to the link:
    https://support.office.com/en-us/article/Synchronize-a-SharePoint-2010-list-with-Access-2010-975BFB97-C799-4FCE-B7CC-3DB3B397F116
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Using simple database for an application

    Hello,
    Here is my need :
    I will develop an application based on two or three gui-clients java based and a database (all on linux based system).
    What choice for the database ?
    First I had a look on javadb, I was interested by the easy to use aspect and the embedded mode. But I have two applications that have to access the database in the same time and javadb has to be used in a "framework server" to accept multi-user (and this seems to be too complex for my use).
    The database will be very simple (4 or 5 tables and 1000 lines in the biggest table) and has to be shared between 2 ou 3 apps.
    I had a look on SQLite but the use of JNI obstructs me.
    Do you have other ideas to answer to my need ? Is there a way to share the file system where the data files of javadb is (by NFS for example) ? And start two derby service using the same files in two different JVM ?
    Thanks for your help and advices.
    Jean

    I have used HSQLDB for awhile. I have found it to be very useful, though I've mostly used it for simple, read-only databases. Definitely what I would recommend for your situation.

  • New database for existing user?

    Hi,
    am I right saying that a new schema in Oracle involves a new user to create?
    Say I've got my user already and I just want to create a new schema for this user.
    How can I do it?

    833519 wrote:
    wherever I'm looking I can read this:
    schema
    A named collection of database objects, including logical structures such as tables and indexes. A schema has the name of the database user who owns it.
    ---I don't particularly like that definition.
    A schema can be a logical database - just like a SQL-Server database. For example, the schema HR can be the Human Resources database with tables like employees, departments, payroll and so on.
    A schema can be a user account. Let's say John is the head of a department. A schema can be created for John called JOHN. The HR schema (logical database) can grant select privs to the JOHN schema (user account) on tables and views inside the HR database schema.
    It can even be setup in such a way that JOHN can only see his department's staff in the employees, and payroll tables, and a single row for his department in the departments table (this feature is called virtual private databases).
    The JOHN schema, besides connection to Oracle rights and selection rights on the HR tables, may have no other rights. So no tables, views and other db objects can be created in the JOHN schema.
    The HR schema otoh has the rights to create the db objects. And it may for example not have any create session rights, preventing anyone from directly logging into this schema.
    There may be a .Net application for HR. It uses an application schema in Oracle called HR_APP. It may have certain db objects (such as application log tables, application audit tables, etc). It also will have access to the HR schema's db objects.
    So an Oracle schema can be used in many different ways - providing flexibility way beyond what other database products provide in this regard.
    As for how to use a schema (as a user schema, logical database, app schema, library schema, etc) depends entirely on your requirements - and correctly translating these into secure and flexible Oracle schemas that address these requirements.
    In my understanding this means that if I wanna create two databases (collection of tables), which are called 'schemas' in Oracle I also have to create 2 database users.Yes. But these will be logical database schemas. Not end user schemas. For example, you can create a HR schema for a Human Resources database. You can create a MARKETING schema for the Marketing database. (yes, you will use the CREATE USER command to create these 2 logical database schemas - and you would use the same command to create a user schema, developer schema, or any other type of schema)
    The HR schema can be specifically setup for the HR database requirements. A space quota of 10Gb. The ability to create tables and stored procedures and views.
    Likewise, the MARKETING schema can be setup specifically for marketing. They may need a 50Gb space quota. This database may use object relational features and also need the rights to the SQL advance data types. Etc.
    If you want to use the HR database, you can logon as the HR schema. If you want to use the marketing database, you can logon as the MARKETING schema.
    Or you can create a user schema - and for this schema user to select tables from the HR database, the HR schema needs to grant specific rights (like select, update, delete and insert) to the user schema on those tables.
    Do not let this confuse you. A schema can be many different things, depending on WHAT it can do and HOW it is used. And both these you determine when creating the schema and its rights and its contents (if any).
    As already suggested - read the Concepts Guide. See http://tahiti.oracle.com (Oracle documentation portal).

  • Updating War File for existing Application Issue

    I have a web application that is currently deployed and running on a linux SunOne WebServer 7.0 U2.
    I use the web admin interface to update the (running) web application with a new WAR file and using the "PreCompile JSP" option.
    Once the web application has been updated and deployed, I get a 500 server error on the web application. Here is a snippet from the log.
    [28/May/2008:07:19:59] info ( 2427): CORE3276: Installing a new configuration
    [28/May/2008:07:19:59] info ( 2427): WEB0100: Loading web module in virtual server [interakt] at [/ssl/onlineenroll]
    [28/May/2008:07:20:00] info ( 2427): PWC1412: WebModule[/ssl/onlineenroll] ServletContext.log():Initializing Spring root WebApplicationContext
    [28/May/2008:07:20:02] info ( 2427): CORE3280: A new configuration was successfully installed
    [28/May/2008:07:20:02] info ( 2427): PWC1412: WebModule[/ssl/onlineenroll] ServletContext.log():Destroying Spring FrameworkServlet 'onlineenroll'
    [28/May/2008:07:20:02] info ( 2427): PWC1412: WebModule[/ssl/onlineenroll] ServletContext.log():Closing Spring root WebApplicationContext
    [28/May/2008:07:20:46] info ( 2427): for host 127.0.0.1 trying to GET /ssl/onlineenroll/action/enroll;jsessionid=AC1B582906B8ECBD422B72634CFDE128, service-j2ee reports: PWC1412: WebModule[/ssl/onlineenroll] ServletContext.log():Initializing Spring FrameworkServlet 'onlineenroll'
    [28/May/2008:07:20:46] failure ( 2427): for host 127.0.0.1 trying to GET /ssl/onlineenroll/action/enroll;jsessionid=AC1B582906B8ECBD422B72634CFDE128, service-j2ee reports: WebModule[/ssl/onlineenroll]StandardWrapper.Throwable
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tilesConfigurer' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tile-defs/definitions.xml'. */apps/SunWebsvr7/https-interakt/generated/interakt/ssl/onlineenroll/loader/org/apache/struts/resources/tiles-config_1_1.dtd (No such file or directory)*
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1302)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:463)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:404)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:375)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:263)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:170)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:184)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:430)
         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
         at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:354)
         at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:292)
         at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:262)
         at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1165)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:819)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:184)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
    Caused by: org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tile-defs/definitions.xml'. /apps/SunWebsvr7/https-interakt/generated/interakt/ssl/onlineenroll/loader/org/apache/struts/resources/tiles-config_1_1.dtd (No such file or directory)
         at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:523)
         at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseFrom what I can tell, the following folder is deleted when a new deployment is made "/apps/SunWebsvr7/https-interakt/generated/interakt/ssl/onlineenroll/loader/org/apache/struts/"
    If I stop the server instance and start it back then the directory "/apps/SunWebsvr7/https-interakt/generated/interakt/ssl/onlineenroll/loader/org/apache/struts/" is created when the web application starts up and the web application runs as expected.
    Does anyone know what I can do to be able to hot deploy a web application and not get this error?
    Any help would be appreciated.
    Marty Jones

    after more research I have determined that the update process is deleting the loader folder when it completes the update process. The problem is that the web application needs this folder because the third party tag library definitions are stored underneath the loader folder. Here is where the loader folder is located.
    /<SunOneInstallDir>/<ServerName>/generated/<web-app-name>/<context>/loader
    When I stop the server instance and start it back up then the loader folder is created and sets the tab library definitions appropriately.
    So the problem seems to be with the update process.

  • Create service under Windows for SUn application server 8.2

    I am trying to create a service on a Windows Server 2003 with the sc utilities. I am following the doc's syntax
    C:\\windows\\system32\\sc.exe create myservice binPath= "C:\\Sun\\AppServer\\
    lib\\appservService.exe \\"C:\\Sun\\AppServer\\bin\\asadmin.bat start-domain domain1\\"
    \\"C:\\Sun\\AppServer\\bin\\asadmin.bat stop-domain domain1\\""
    start=auto DisplayName= "SunJavaSystemAppServer DOMAIN1"
    The command does not complete. Why are there double backslash?
    All the path are right , so it seem to be a syntax issue
    Thanks
    Steve Lavoie

    May I ask which document was this? The proper one should be this section of 8.2 Administration guide:
    http://docs.sun.com/app/docs/doc/819-4712/6n6rit5q6?a=view
    Take a look at the sample provided there and adjust it for your installation path if necessary - there are no double backslash characters and this should work. Post if you are still running into problems.

Maybe you are looking for

  • Maverick not installing on Macintosh HD

    I can't install Maverick on my Mac book pro. I have OS X 10.8.5 Mountain Lion. Is that the problem? I keep getting the message "cannot install on Macintosh HD" even though I deleted a bunch of programs. Am I missing something?

  • SCOM 2012 - Custom disk space report - Computer Groups

    Hello, I've created custom disk report with sql query to pull the disk space for all servers. The report has parameters start data,End date and computer name but now my requirement would be to get the disk reports based on custom created computer gro

  • Random support for .BWF Poly files in CC

    Audition's support for .BWF files seems patchy and random. I use the industry standard Sound Devices recorders and the good news is that Audition will open all the files and 'see' all the individual tracks within - unfortunately it will only play bac

  • Actionlist is missing error with Reader 9.4 on Win2008

    Hi All, The 3rd party SW that I need to install requires Reader 8 or 9 as a pre-requisite.  I need the UK option.  I can download fine from adobe.com/reader/download/otherversions (they certainly hide the older versions well).  However when I run the

  • Camera display not working

    The camera display for the front facing (camera lens on back of camera) display stopped working on my droid razr maxx...any ideas. I did a soft boot on it, but to no avail. It was working on a few minutes before it stopped. The display for the user f