How can i generate simple Entities and View Objects ... automatically ?

Hello eveybody,
I hope this is the right place i'm posting in. My question is ADF/Jdeveloper related.
Here is my problem. Where i work, we use xsd files to design our beans and we generate java classes from this xsd file. Then we design these beans again through Jdeveloper when creating Entities and related views, associations, view links... so we design our beans two times ... Moreover, 90% of the time, the work we do using Jdeveloper is the following : Writing CRUD operation that are almost the same every time.
So my question is very simple. What do you think is the best way to automatically generate entities, views, associations, views Links and why not module (module.xml and an empty implementation) from our xsd files. Then we'll use JDeveloper to customize the generated files.
Your help would be very appreciated, brahim !
Edited by: user10394923 on 29 oct. 2008 06:01

I didn't understand the role of the beans that you generate from the XSD files. When you use ADF Business Components, you don't need those beans at all and you don't need to write code for any of the CRUD operations. Can you clarify what role the beans play in the application?

Similar Messages

  • How can I open two sites and view each side by side in a seperate window?

    What is correct procedure to open and view two windows at the same time?

    You can do that in different ways.<br />
    You can open two window or tear off one tab to a new window (right-click a tab: Move to New Window) and resize both windows as you like.
    You can also use an extension.
    *Fox Splitter: https://addons.mozilla.org/firefox/addon/fox-splitter/
    *Split Pannel: https://addons.mozilla.org/firefox/addon/split-pannel

  • How can i hide both Detach AND View menus from a panelCollection component?

    Hello,
    i was checking the internet for a solution, but i end up using featuresOff but
    its only can hide 1 feature than those 2.
    Anyone have a solution on this for hiding both objects?
    thanks in advance.
    JDeveloper ADF 11.1.2.4.0

    Hi,
    Check out the tag doc for the panelCollection.ADF RichClient API - &lt;af:panelCollection&gt;
    You need to use a space separated list of features in the featureOff property.
    For ex, in your case, you would use something like  <af:panelCollection id="pc1" featuresOff="viewMenu detach">
    -Arun

  • BC4J - reverse generation - not all entities and views in same package

    Hi
    I want to use reverse generation, but separate all entity objects in package (my.entities) and View Object and view links in (my.views) not all in one package.
    I can do this by generating entities first and then creating view objects and view links separately.
    Can I do this in one step as we do if we want them in one package ?
    Usama

    Yes, you can. No one step can do all thing for me.

  • How can i view my iphone contents on PC. How can i view my backup data in itunes. How can i see my SMS and contact on PC

    Hi,
    Can anybody help me out on the follwoing questions
    how can i view my iphone contents on PC. How can i view my backup data in itunes. How can i see my SMS and contact on PC

    The data isn't actually stored in iTunes.  iTunes is like a card catalog that allows you to access information from the various places that it's stored on the computer.  SMS and contact info will be viewable in whatever program you sync contact information.  The backup actually keeps the files, but doesn't make them viewable, I'm pretty sure.  You can only see the info you've actually synced.

  • I took all my video with my iPhone turned the wrong way. When I view it on my pc it's turned on its side. How can I rotate the video and crop it?

    I took all my video with my iPhone turned the wrong way. When I view it on my pc it's turned on its side. How can I rotate the video and crop it?

    Try plugging it into a computer with iTunes opened. If you see anything that says restore, say no.
    Sometimes these issues resolve themselves when you connect the device to iTunes.
    What happens when you hold the home and sleep/wake button? I know it doesn't work, but does it shut off at all?

  • How can u change the desktop and taskbar to a classic windows view

    how can u change the desktop and taskbar to a classic windows view in 8.1

    Hi,
    If you mean to customize the desktop, you can use themes, desktop backgrounds, window colors, and screen savers to personalize your desktop.   
    If you want some free themes and desktop backgrounds to use, there are lots to choose from in the
    Personalization Gallery.
    To learn more about personalizing the desktop, see
    Get started with themes.
    Best regards
    Michael Shao
    TechNet Community Support

  • How can i synchronize analog output and analog input timings to generate and measure voltage at the same time.

    how can i synchronize analog output and analog input timings to generate and measure voltage at the same time.

    Read this Tutorial
    http://zone.ni.com/devzone/cda/tut/p/id/3615#toc3
    And also refer to this link where You have repeated this question.
    PS: Please stick to one thread. That way, its easier to keep track of your query and answers

  • How can I generate and/or retrieve log files from iPad

    How can I generate and/or retrieve log files from iPad?
    OBS!
    There are NO files apearing in ~/Library/Logs/CrashReporter/MobileDevice/<name of iPad> so where else can i find it?
    I want to force it to produce a log, or find it within the iPad.
    It is needed for support of an app.

    Not sure on porting out the log data, but you can find it under General->About->Diagnostic&Usage->Diagnostic&Usage Data.  It will give you a list of your log data, and you can get additional details by selecting the applicable log you are looking for.  Hope this helps.

  • How can I dynamically assign prompt and URI to a button in a table?

    I've got a VO returning document name, link and a status flag. My resultsTable for this VO is currently displaying 3 fields: 2 messageStyledText fields for the document name and link text, and a switcher that shows a checkbox image or red X image depending on the value.
    I now want to put a button into this results table that a user can click to launch a subsequent page where they can fill out those related docs. To do this, I'd like to make the prompt of this button = VO.documentName, the Desitination URI of this button = VO.linkText, and then leave the switcher as is. The result might look somethign like this:
    <Form 838C> X
    <Form 1952> \/
    <Form 1234> X
    In this case, Form 1952 ahs been filled out, the others not. Users should be able to click one of the buttons to launch a subsequent page where they can fill the form.
    I found code to walk through a VO results set using an iterator, you'll see that below. Now, stubbed in these 3 steps below:
    --set button dest
    --set button label
    --determine loop end
    I can't see how to do this. I already have the table, so can I walk through the results set and access the results table at the same time?
    I need to be able to set each of the buttons to the right Label (Prompt) and then set each button to the appropriate destination. Here's what I have so far: Thanks in advance!
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    * Initializes the detail employee query.
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject summaryVO = (OAViewObject)am.findViewObject("LANLSupplDocsSummaryVO1");
    if (summaryVO != null)
    // Do not reinitialize the VO unless needed.
    String stringReqHeaderId = pageContext.getParameter("REQ_ID");
    Number defaultReqHeaderId = null;
    try
    defaultReqHeaderId = new Number(stringReqHeaderId);
    catch(Exception e)
    // throw new OAException("AK", "FWK_TBX_INVALID_EMP_NUMBER");
    throw new OAException("ICX", "XXXL_INVALID_NUMBER");
    summaryVO.setWhereClauseParams(null);
    summaryVO.setWhereClauseParam(0,defaultReqHeaderId);
    summaryVO.executeQuery();
    // This controller is associated with the table.
    OATableBean table = (OATableBean)webBean;
    // We need to format the Switcher image column so the image is centered
    // (this isn't done automatically for Switchers as it is for
    // plain image columns). We start by getting the table's
    // column formats.
    // NOTE!!! You must call the prepareForRendering() method on the table before
    // formatting columns. Furthermore, this call must be sequenced after the
    // table is queried, and after you do any control bar manipulation.
    table.prepareForRendering(pageContext);
    DataObjectList columnFormats = table.getColumnFormats();
    DictionaryData columnFormat = null;
    int childIndex = pageContext.findChildIndex(table, "DOC_STATUS");
    // int buttonIndex = pageContext.findChildIndex(table, "DOC_STATUS");
    // int meaningIndex = pageContext.findChildIndex(table, "MEANING");
    columnFormat =(DictionaryData)columnFormats.getItem(childIndex);
    columnFormat.put(COLUMN_DATA_FORMAT_KEY, ICON_BUTTON_FORMAT);
    LANLSupplDocsSummaryVORowImpl row = null;
    // This tells us the number of rows that have been fetched in the
    // row set, and will not pull additional rows in like some of the
    // other "get count" methods.
    int fetchedRowCount = vo.getFetchedRowCount();
    // We use a separate iterator -- even though we could step through the
    // rows without it -- because we don't want to affect row currency.
    RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
    if (fetchedRowCount > 0)
    deleteIter.setRangeStart(0);
    deleteIter.setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++)
    row = (LANLSupplDocsSummaryVORowImpl)deleteIter.getRowAtRangeIndex(i);
    // For performance reasons, we generate ViewRowImpls for all
    // View Objects. When we need to obtain an attribute value,
    // we use the named accessors instead of a generic String lookup.
    // Number primaryKey = (Number)row.getAttribute("EmployeeId");
    String formPage = row.getMeaning();
    --set button dest
    --set button label
    --determine loop end
    break; // only one possible selected row in this case
    // Always close the iterator when you're done.
    deleteIter.closeRowSetIterator();
    }

    Thanks Guaravv,
    I'm unable to get this to compile. Here's the errors I'm getting, followed by my controller code. Thanks again!
    Project: LANLSupplementalDocs.jpr
    C:\oracle\jDeveloper\jdevhome\jdev\myprojects\lanl\oracle\apps\icx\por\req\webui\LANLSupplementalDocsSummaryCO.java
    Error(16,46): cannot access class oracle.apps.fnd.framework.webui.beans.OAButtonBean; file oracle\apps\fnd\framework\webui\beans\OAButtonBean.class not found
    Error(124,9): class OAButtonBean not found in class lanl.oracle.apps.icx.por.req.webui.LANLSupplementalDocsSummaryCO
    Error(124,26): class OAButtonBean not found in class lanl.oracle.apps.icx.por.req.webui.LANLSupplementalDocsSummaryCO
    Error(125,9): class OADataBoundValueViewObject not found in class lanl.oracle.apps.icx.por.req.webui.LANLSupplementalDocsSummaryCO
    Error(125,47): class OADataBoundValueViewObject not found in class lanl.oracle.apps.icx.por.req.webui.LANLSupplementalDocsSummaryCO
    Controller:
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package lanl.oracle.apps.icx.por.req.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.cabo.ui.data.DictionaryData;
    import oracle.cabo.ui.data.DataObjectList;
    import oracle.apps.fnd.framework.webui.beans.table.OATableBean;
    import oracle.apps.fnd.framework.webui.beans.OAButtonBean;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.OAException;
    import oracle.jbo.domain.Number;
    import oracle.apps.fnd.framework.OAApplicationModule;
    //import oracle.apps.fnd.framework.webui.beans.form.OASubmitButtonBean;
    //import oracle.apps.fnd.framework.webui.beans.layout.OASpacerBean;
    //import oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean;
    * Controller for ...
    public class LANLSupplementalDocsSummaryCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    * Initializes the detail employee query.
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject summaryVO = (OAViewObject)am.findViewObject("LANLSupplDocsSummaryVO1");
    if (summaryVO != null)
    // Do not reinitialize the VO unless needed.
    String stringReqHeaderId = pageContext.getParameter("REQ_ID");
    Number defaultReqHeaderId = null;
    try
    defaultReqHeaderId = new Number(stringReqHeaderId);
    catch(Exception e)
    // throw new OAException("AK", "FWK_TBX_INVALID_EMP_NUMBER");
    throw new OAException("ICX", "XXXL_INVALID_NUMBER");
    summaryVO.setWhereClauseParams(null);
    summaryVO.setWhereClauseParam(0,defaultReqHeaderId);
    summaryVO.executeQuery();
    // This controller is associated with the table.
    OATableBean table = (OATableBean)webBean;
    // We need to format the Switcher image column so the image is centered
    // (this isn't done automatically for Switchers as it is for
    // plain image columns). We start by getting the table's
    // column formats.
    // NOTE!!! You must call the prepareForRendering() method on the table before
    // formatting columns. Furthermore, this call must be sequenced after the
    // table is queried, and after you do any control bar manipulation.
    table.prepareForRendering(pageContext);
    DataObjectList columnFormats = table.getColumnFormats();
    DictionaryData columnFormat = null;
    int childIndex = pageContext.findChildIndex(table, "DOC_STATUS");
    // int buttonIndex = pageContext.findChildIndex(table, "DOC_STATUS");
    // int meaningIndex = pageContext.findChildIndex(table, "MEANING");
    columnFormat =(DictionaryData)columnFormats.getItem(childIndex);
    columnFormat.put(COLUMN_DATA_FORMAT_KEY, ICON_BUTTON_FORMAT);
    // LANLSupplDocsSummaryVORowImpl row = null;
    // This tells us the number of rows that have been fetched in the
    // row set, and will not pull additional rows in like some of the
    // other "get count" methods.
    int fetchedRowCount = summaryVO.getFetchedRowCount();
    // We use a separate iterator -- even though we could step through the
    // rows without it -- because we don't want to affect row currency.
    // RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
    if (fetchedRowCount > 0)
    for (int i = 0; i < fetchedRowCount; i++)
    OATableBean tableBean = (OATableBean)webBean.findChildRecursive("ResultsTable");
    OAButtonBean m= (OAButtonBean)tableBean.findChildRecursive("DocLauncher");
    OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "MEANING");
    m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
    else
    throw new OAException("ICX", "XXXL_BC");
    }

  • How can we generate the report of backup,tablesapcefrom OEM / RMAN

    How can we generate the report of backup status,tablesapce(usedf,free space) for all the databases from OEM / RMAN
    1.)we need generate the report of tablespace used,free, archive...
    2.)How can we generate the Backup status report also

    user13584223 wrote:
    How can we generate the report of backup status,tablesapce(usedf,free space) for all the databases from OEM / RMAN
    1.)we need generate the report of tablespace used,free, archive...There are DBA_* views that expose the necessary information. They are documented in the Reference Manual.
    2.)How can we generate the Backup status report alsoThere are rman commands that give that. They are documented in the Backup and Recovery User's Guide.
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to [url tahiti.oracle.com]tahiti.oracle.com.
    Locate the link for your Oracle product and version, and click on it.
    You are now at the entire documentation set for your selected Oracle product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    =================================

  • How can I generate a html page in a servlet-applet connection?

    Hello, I have an applet which contains an ok button, when I click this button, I need that servlet generate an html page and view it in browser. How can I do this?
    Thanks

    But with this method only is possible I think open a page web, and if it is possible call url of the servlet, you generate other request and response object (other call to method doGet or doPost because ShowDocument needs parameter url), so the previously request when I click button ok it's no the same and how I obtain the prinwriter from first request, showDocument don't obtain html page from printwriter.

  • How can i connect simple dc motor to labview

    any one who help me how can i connect simple dc motor to labview and speed control of that

    Hi,
    There is a selection guide for motors on our website which can be found here: http://zone.ni.com/devzone/cda/tut/p/id/12594
    There is also software specifically for LabVIEW to control motors.  You can find it here: http://sine.ni.com/nips/cds/view/p/lang/en/nid/13851
    Regards,
    Greg H.
    Applications Engineer
    National Instruments

  • How can i make simple program to match colors ?(photos taken by camera)

    how can i make simple program to match colors ?(photos taken by camera)

    Hi khaledyr,
    use a "random number" and compare for ">0.5" to get a (1 or 0) signal
    What exactly are you searching for?
    - Hints for choosing hardware?
    - How to output voltage or relais signals?
    - Help on using DAQ(mx)?
    - Help on generating (boolean) waveforms?
    Message Edited by GerdW on 04-16-2010 08:15 AM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can I pass field value betwen view in ICWC?

    Hi experts,
    I am new to this BSP programming. I have some requirements to modify standard ICWC in CRM 5.0
    Hope can get some advices and helps here.
    I have added a new field called <status> to context note SEARCHCUSTOMER in BupaSearchB2B view and also the same field name to context note CUSTOMER in BupaCreate view.
    I have added the field into both the HTM views and able to execute thru WebClient. However, I have one problem in passing the <status> value from BupaSearchB2B view  to the BupaCreate view when I click on the 'create' button.
    I do search and saw this thread How can I pass field value beetwen view in IC Web Client? , but i cant figure out how it works.
    Do I need to create the field <status> to context note CUSTOMER in BupaSearchB2B? Currently the context note does not have any attributes.
    Really appreciate for any help.
    Edited by: mervyn tay on Apr 7, 2009 11:42 AM

    solved by myself...
    code in the CREATE_ACCOUNT method.
            ev_entity->set_property( iv_attr_name = 'ZZICNO'
                                     iv_value = lv_icnum1 ).

Maybe you are looking for

  • How to look for business partner number in GTS

    Hi Experts, How to look for the business partner number in GTS when we have the Customer Id number in r/3? Please let me know the path in GTS. Edited by: Anurag87 on Dec 9, 2010 2:17 PM

  • Business packages, Business Functions and Business Components

    Dear All, I am new to ESS/MSS. We are going to implement the following applications. (Company is Indian based). Version : EHP6 and Portal 7.3 1. Employee Search 2. Personal Information 2. Working Time 3. Benefits and Payments (Reimbursements, Salary

  • Payment document reversal at the time of invoice reversal

    Hi, We are facing a problem of payment document getting reversed at the time of invoice reversal in FICA in IS-U. We had raised a query with SAP twice and they had asked fro two notes to be applied. But still it is not working. Has anybody faced such

  • Making a digital framing application

    I want to make a digital framing application like at this website: http://www.art.com/FrameStep/default.asp?apnum=3459566&PODConfigID=4990697&pd=13856207&sp= A&ui=978F9BE58F4C490C8CA5C33C44F089D0&customerzoneid=3 Im not sure if i would be able to mak

  • IPAD mini - emails going to outbox for 2 weeks - I need to send them

    I have just spent three hours trying to pinpoint problem I have had with my iPAD mini for about two weeks - - 15 messages sitting there in outbox - - I get that smtp.verizon.net - which I understand is correct.  It does seem to be affected by any oth