How to generate schema from designer?

I have the following problem - my application is intended as development tool, e.g. laike Oracle warehouse builder or so. So - the main part will be graphical designer, which imports the structure of existing database and then user can draw the structure of additional database schema (and maybe - the user can specify some mappings and/or relationships in some other way as well) and then - my application will generate schema based on these drawings (e.g. my application can generate SQL statements like create table and so on and then - execute them).
My current plan is to use UML (or EMF, maybe together with database modelling profile if available) designer from Eclipse as the main part of application and then the SQL generation I can organize in code (where the UML drawing I can access as tree of code instances) ro even - if there is one available - I can define transformation from UML database profile to SQL code (in manner of MDA - model driven architecture, as advised by people from IBM Rational). I think - this should be pretty optimal use of already available free-source technologies... I have intention to use this for Oracle database only, so - I have no intention to make tool that can definitely work with any SQL-standard compliant database.
I only wanted to check - what are your thoughs about this. Now I wonder - does Oracle offer some framework for building developer productivity tools as I described. It could be quite logical - because Oracle itself should have some kind of platform e.g. for building its Warehouse Builder and so on - why not open this platform for wider use? So - I wanted to just check - if there some alternative (more appropriate for Oracle) available instead of using Eclipse.
Message was edited by:
user454720

Thanks for the schema generation task info.
I found that OAS 10.1.3 is not Java EE 5 compliant (at least not yet), so it's only got JAXB 1.0. Hence my JDev library problem and the schema generation confusion were both from the same cause.
Thanks.

Similar Messages

  • Generating forms from Designer... bug?

    Sorry for offtopic....
    I'm trying to generate form from designer. The form has 1 data module with base table & one lookup table usages. One field from lookup table is displayable. When I set "Display type" property of this field "Text" disigner says: "CDI-21600: A running utility.. etc." BUT when I set "Display type" property of this field "PopList" - everything goes well! I don`t even need to restart designer. This is .log from designer
    Form Generator (Windows 95/NT) : Version 5.0.24.13.0 - Production on Wed Apr 25 10:14:34 2001
    Copyright (c) 1995, 1998 Oracle Corporation. All rights reserved
    Generating Module 'Q20010' (1 of 1)
    Loading form template from file system (d:\work\libs\tpl_lov.fmb)
    Loading object library from file system (d:\work\libs\dob_olb1.olb)
    Block NE based on table
    6 row(s) automatically chosen
    -- (Error happens at this stage) --
    Generation Complete
    All fields from base table are binded.
    Sysinfo:
    WinNT 4.0.WS Rus SP6a HE
    Oracle Designer (rel. 2.1.2) 7.0.24.2.0
    Developer/2000 Forms 5.0.6.14.2
    GUI Common files 6.0.8.12.1
    Form Generator 5.0.24.13.0
    P.S. I hope i've explained my problem clearly. If somethig is not clear, pls e-mail me.

    This is from http://metalink.oracle.com/ site - Technical libraries - Oracle Designer - Collected CDI-21600 errors,fixes and workarounds:
    The CDI-21600 error message means that the generator is hitting an unhandled
    exception, also known as a GPF (general protection fault). The CDI-21600 error
    masks the underlying exception error. To see the real error do the following:
    1. Go into the Registry Editor (REGEDIT).
    2. Navigate to HKEY_LOCAL_MACHINE\software\oracle\des2_70
    3. Set EXCEPT_HANDLING to 0 (by default it is 1).
    Repeat the action that resulted in the error.
    I have read this article and it seems that there is not such bug, but ... ?
    Maybe this will be a little help for you.
    Helena

  • How to generate report from two tables using DAO design pattern?

    Hi,
    Iam using struts with DAO pattern for my application. According to DAO design im creating model class for each table in my database with getter,setter methods. i have no problem when im generating report from one table. but if have i have to join two tables whatis the better way for doing that? is it good practise to create a new model contains properties from both the tables?
    Please help me
    Thanks in Advance
    Rajesh

    Dear Rajesh,
    As per the pattern you are creating equivalent java objects for every database table under consideration in which each db field will become a private attribute and public getter and setter methods.
    If you have to display data from one table the above approach is sufficient enough.
    But in case your database is normalised ..lets take an example of Bank having Branch and Accounts tables. We dont need to repeat the whole information of the branch for every account in that branch. so we prefer to have a branch id in that table....this approach lot of insertion/deletion/updatation anomlies that may exists with the database...
    now lets come back to our topic....we shall create two java objects 1) Branch 2) Account.....
    When ever u just need to display simple report u can do it staright forward,,,,,now if u want to display branch information along with the account information....the two objects just created are not sufficient
    So i suggest u the following approaches
    1) Create an attribute of type Branch in the Accounts Object......
    This shall serve the purpose of displaying the Btranch information
    2) Create a collection object of type ( Vector or ArrayList) which can have objects of Account in the Branch Object,,,
    Now its upto u how shall u fill up the objects with appropriate sql queries.
    The method that i mentioned is followed by Oracle Toplink and Hibernate ....which provide Object to relation mapping layers.
    Any queries ...revert back to me...
    Mahesh

  • How can create schema from this document.

    Thank you for reply~
    The following is that I have.
    <?xml version='1.0'?>
    <conference>
    <proceedings key="AlbenR00">
    <pro_book>
    <editor>Lauralee Alben</editor>
    <editor>Michael Rigsby</editor>
    <title>Envisioning the E-Quarium: Strategic Design Planning for the Monterey Bay Aquarium''s Website.</title>
    <pages>452-454</pages>
    <year>2000</year>
    <booktitle>Symposium on Designing Interactive Systems</booktitle>
    <series> <--declared with ANY in DTD
    <href>db/conf/eld.htm</href>
    <source>Information Retrieval</source>
    </series>
    </pro_book>
    </proceedings>
    </conference>
    I want to create DB schema from this document, but because I don't know how the document is stored in Oracle8i with object-relational schema when the document has more two level deep.
    (In sample of XSU,all XML documents has only one level deep.)
    Would you create schema from above simple document,please? It will be very helpful to me!!
    Thank you for reading my e-mail.

    Just stop using it and remove any data from your profile that you don't want there. You can't actually remove your account or your old posts from the server.
    If you have registered to have notification emails sent to you, click 'My Stuff' at top right, select 'Preferences' , then in the next page select the 'Email Notification Preferences' tab and click all the 'No' radio buttons. Then click 'Save'.
    If you already have notifications set on some threads you will still get emails from them. Click on your username at the top, then under 'Actions' in the right sidebar, select "'Manage email notifications.' This will show the threads you've set up notifications on in the past. Select those you want to stop and click the 'Remove Selected Notifications' button at bottom.

  • How to generate PDF from an IView

    Hi all,
    I have been reading a lot about generating PDF document, smart form, adobe LiveCycle Forms, BAPI's..etc. but I can not find anything more simple:
    I just would like to show (and maybe save and print) in PDF format (maybe in a popup) an IView content.
    I have read how to generate a pdf file from a binary attribute of the Context, but nothing about how to fill this binary attribute with the data of the current showed IView.
    Is this possible?
    Thanks in advance,

    Hello, Lohitha.
    Thanks for your post. You are right, the general way to create a PDF is like that, using Adobe Interactive Forms.
    Using this, I must design a form and fill it with data binding. But, in fact, what I'm requested to do is just convert the current IView into a pdf file without using any forms, but keeping the IView design.
    Let me explain myself, It could be something similar to convert a .doc file into .pdf.
    I tried this code;
         IPrivatePDFComponentView.IContextElement contextElement = wdContext.currentContextElement();
         byte[] bytes = contextElement.getPdfSource(); //here I get bytes = null since PdfSource is empty if I do not use Interactive Forms!!
         try {
              File file = new File("C:\temp\example.pdf");
              FileOutputStream os = new FileOutputStream(file);
              os.write(bytes);
              os.close();
         } catch (IOException e) {
              // do something
              e.printStackTrace();
    Do you know how could I do that?
    Thanks

  • How to generate XML from EBusiness suite ARXSGPO

    Could someone tell me how I can generate XML from the EBusiness Suite Accounts Receivable report ARXSGPO.rdf I understand this report is called by a C program. I have tried changing the concurrent request to output format to XML the result does not resemble XML. Does anyone have any suggestions how I can generate XML from the ARXSGPO report?
    Thanks,
    Mark

    Hi Mark
    the next release of XMLP will have last page only support. The problem is that at the template layer you do not know how many lines are going to fit on the page, so you never know what is going to be the last page. The only way around it for now is to specify the number of lines to a page and then check when all the lines have been rendered and then render the remit portion.
    I have a sample invoice that does the same, drop me a mail, you can work out the email from my name and the fact I work for XMLP Im sure.
    Tim

  • Error while generating forms from Designer 2000

    Hi,
    The following error was encountered while trying to generate forms from the Designer ( using Design Editor ) .
    CDI-23564 : "C:\ORAWIN95\BIN\CF50G32.DLL" could not be loaded or does not exist . Please check that the product has been installed correctly .
    But the specified dll actually exists in the specified path .
    Pls clarify ( send mail to [email protected])
    Thanks
    Eugene Xavier
    null

    This is from http://metalink.oracle.com/ site - Technical libraries - Oracle Designer - Collected CDI-21600 errors,fixes and workarounds:
    The CDI-21600 error message means that the generator is hitting an unhandled
    exception, also known as a GPF (general protection fault). The CDI-21600 error
    masks the underlying exception error. To see the real error do the following:
    1. Go into the Registry Editor (REGEDIT).
    2. Navigate to HKEY_LOCAL_MACHINE\software\oracle\des2_70
    3. Set EXCEPT_HANDLING to 0 (by default it is 1).
    Repeat the action that resulted in the error.
    I have read this article and it seems that there is not such bug, but ... ?
    Maybe this will be a little help for you.
    Helena

  • How to generate alert from Mapping

    Hello,
    I know how to generate alrets by configuring ALRTCATDEF, Alert Configuration.
    I want to know how we can generate alert from mapping for ex..
    If a=b then send the message
    and if a!=b then failed the message and throw and alert.
    In java or XSLT mapping
    Thnaks and Regards
    Hemant

    Hi Hemanth,
    Bhavesh Blog explied to raise alert using UDF,if you want using JAVA or XSLT converth the same code in to JAVA Map,I think it will work.
    I had done similar requirement using Mial adapter using Java Mapping.
    Regards,
    Raj

  • Need some help how to generate xml from java bean.

    Hi,
    Can some one help me how to generate the xml format output from a java bean.
    The bean contains around 15 to 20 attribute values.
    Thanks in Advance.
    sarayu

    You can use XMLEncoder with custom persistence delegates if needed:
    http://java.sun.com/products/jfc/tsc/articles/persistence4/

  • Cfg61.dll - Cannot generate forms from Designer

    Hi
    When I try and generate a form from Designer 6i (i am using the tutorial app) i get the following error message :- CDD-23564 : The file "g:\orant\BIN\cfg61.dll" could not be loaded or does not exist. However the file does exist in the specified location. Ive looked thru the on-line documentation and checked the registry but cant see anything obvious. Ive got the following configuration on my machine :-
    Windows NT 4 (service pack 3)
    Oracle 8i (version 8.1.6)
    Designer 6i (version 6.5.28.8.0)
    Any advice would be welcome.
    Thanks
    null

    The configuration looks ok except for Th eService Pack. Designer requires Service Pack 5 or 6 or Wondows 2000 Service Pack 1. Try changing the Service Pack.
    All the best

  • How to generate PDF from template via REST query

    Hello. I'm newbie in Adobe LiveCycle, will appreciate any help.
    What we need: generate PDF from template, using different data.
    What we have: LiveCycle Designer and server with deployed Adobe LiveCycle ES 2.5 image.
    Looks like server works and listen 8080.
    In Livecycle Designer I can generate XML (XDP) from PDF, so I can change this XML in PHP/Python/Go script to fill template with data.
    I'm looking for some REST method, where I can give that XML (XDP) and recieve generated PDF in response.
    I've spent whole to for googling all these things, found a lot of docs, but all is very complicated there. Also, examples from just doesn't work - maybe I have to do something on server before calling REST API method.
    Please, push me into right direction

    Your best bet is to probably create an orchestration (or "process" in Adobe speak) that accepts two document parameters, calls LiveCycle Forms (or Output depending on whether you want to interactive or non-interactive PDF), and returns the resulting document variable.
    The orchestration will return a redirect that will point you to the document object.
    See Invoking LiveCycle using REST Requests, and Creating Your First LiveCycle ES4 Application.
    Rob

  • How to generate xhtml from xml

    Hi All
    I've an application that will generate an xml file in this way:
    FileWriter salidaxml = new FileWriter(new File("reporteHP.xml"));
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder = dbf.newDocumentBuilder();
    Document doc = docBuilder.newDocument();
    // Some nodes and elements added here
    TransformerFactory transFact = TransformerFactory.newInstance();
    Transformer trans = transFact.newTransformer();
    trans.setOutputProperty(OutputKeys.INDENT, "yes");
    trans.setOutputProperty(OutputKeys.METHOD, "xml");
    trans.setOutputProperty(OutputKeys.ENCODING, "ISO-8859-1");
    trans.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");
    Result result = new StreamResult(salidaxml);     
    try {               
        trans.transform(new DOMSource(doc), result);               
        transformer.transform(source, rslt);           
    } catch (TransformerException te) {               
        System.out.println(te.getMessageAndLocation());               
    throw te;           
    salidaxml.flush();           
    salidaxml.close();Code run ok but I want to know how could I add code to generate a xhtml file using a dtd and a xsl I've or at least how to add the following at the begin of the xml generated file:
    <?xml-stylesheet type="text/xsl" href="reporte.xsl"?>Thanks in advance
    <xl>

    Hi
    Thanks for your help but I really didn;t found what I'm lookin for in this page.
    This page explains how xslt transform xml in xhtml. I know this point, I want to know HOW could I make it from my application. I guess there are a transform class that could generate html from a xsl template, but I couldn't find the way to do it and couldn't find examples too.
    <xl>

  • How to generate DAO from Entities in OEPE

    Hi All,
    I'm using oracle enterprise pack for Eclipse(OEPE). I developed JPA project for that i created Entities from Tables now i want to develop a DAO(Data Access Objects) from Entities
    but i'm not getting any plug-in fro that to generate DAOs or any Option in OEPE.why i need DAOs is from that DAOs i need to expose an web services.
    please any one show how to generate a DAOs in OEPE or where i need to instal ant plug-in for that generation.
    please give any resolution.
    Thanks & Regards
    Shankar

    Hi Carlin,
    Thanks a lot .
    I downloaded that latest version. I'm able to generate DAO's(stateless session beans) fine ,but while exposing them as a web service I'm getting this error IWAB0014E Unexpected exception occurred. in pop, that pop details following errors I'm getting
    IWAB0014E Unexpected exception occurred.
    java.lang.NullPointerException
    at org.eclipse.jst.ws.internal.consumption.ui.common.FacetOperationDelegate.addFacetsToProject(FacetOperationDelegate.java:75)
    at org.eclipse.jst.ws.internal.consumption.common.FacetUtils.addFacetsToProject(FacetUtils.java:777)
    at org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand.execute(CreateFacetedProjectCommand.java:190)
    at org.eclipse.jst.ws.internal.creation.ui.extension.PreServiceDevelopCommand.execute(PreServiceDevelopCommand.java:197)
    at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:419)
    at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:359)
    at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:254)
    at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$6.run(SimpleCommandEngineManager.java:294)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1029)
    at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:264)
    at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:91)
    at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.performFinish(WizardPageManager.java:262)
    at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.performFinish(DynamicWizard.java:382)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    I'm using OEPE 11gR1 (11.1.1.8) and server oracle web logic server 11gR1(10.3.4) version.
    while exposing WS configurations as fallowing like
    Server Run time :oracle web logic server 11gR1(10.3.4)
    Web Service runtime:Apache Axis
    services project:samplejpsws
    services EAR project:samplewsEAR
    for this while exposing WS i'm getting above Errors
    can you please tel how to Expose WS and that are the run times requires
    Thanks
    Shankar

  • How to generate check from Payment Run

    How to generate check, if by mistake we forgot to check mark "Create payment medium" in payment run. Because the payment goes through but there is no check, Is there a transaction that can create a check from that payment run?

    (1) First find out the check numbers from check register (FCHN)
    (2) Go to your payment medium, highlight the variant and click on Maintain Variant.
    (3) At the bottom of Maintain Variant is a feature for you to reprint checks.  Key in the check numbers you get from (1)
    Hope you get thru it.

  • How-to Generate Script from the export dump file

    Hi all,
    Software : Oracle 10gR2/Windows 2003
    =============================
    Has anyone generated a Script from a export dump file ( exported via data pump export). I know it is possible to generate script from the regular export.
    I want to know how to generate the script for various objects or is it possible to get the counts of types of objects in the dump file and / or generate the script from the export dump file exported via data pump utility on Oracle 10g.
    Thanks,
    SS

    I want to know how to generate the script for various objects.what do you mean by scripts? Assuming the metadata definitions of various objects.
    First of all, you can generate the metadata definitions using import.
    Use, Impdp with SQLFILE parameter to generate the SQL file for the metadata definitions.
    Refer to
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_overview.htm

Maybe you are looking for

  • Date/Time Stamp on AP1242AG

    Having just configured the AP i was reviewing the available tabs. When looking at the log i notice that the date is Mar 1. Can this be changed to the current date? If so how?

  • Whlie creating a new instance, listener doesn't work

    Hi I got some problem while install a new instance. Maybe listener configured incorrectly please help me out. I created a new instance(SID:BUS) by myself. I didn't use DBCA or anyother tools There's legacy instance on my NT server. That's why I have

  • Is it possible to auto merge contacts?

    Yesterday my Z10 restarted himself (I don't know why...) and today I see, that all my contacts are unmerged - I see for example 4 times the same person, because of Gmail, Facebook, Twitter and SIM... So is it possible to auto merge contacts? All time

  • How cost;ly it is to get the current system time

    I am using this call "System.currentTimeMillis()" to get the current system time. I need to now how costly it is to get the current system time.

  • A Quality report as a tool for the Quality management of Web services

    Hi everybody, I would like to explain and discuss my current research project with you: The differentiation from competitors is crucial for the economic success of a product. This differentiation can be achieved in addition to price and the date of t