ADF: Creating DataControl from POJO model

HI
I am new the ADF, i created simple java code in ADF Model (Jdeveloper 11.1.1.1)and exposed as a DataContol( Right Click on javafile -> Create Data Control). jdeveloper creates Datacontrol and XML file (HelloWorld.xml).
for a same code i did in Jdeveloper 11.1.2.1 but it creating DataContol but not HelloWorld.XML, Why is this?
because of this i clould not add the Hint and Tooltip...
Can anybody tell what wrong with this?
here is the code
public class HelloWorld {
public String hello(String name) {
return "Hello " +name ;
thanks
Nidhi

Hi John, here are some more point mention in the New feature document
<extract start>
ADF Databinding
Sparse Bean Data Controls and Data Control Enhancements
When working with data controls, creating an XML file for each accessor in your data control is now optional. For example, your EJB data control may contain accessors for the Department and Employee entity beans, but you do not have to create XML files for these beans until you start modifying data control properties (for example, control hints).
If you do choose to create a bean XML file, you can use many of the ADF BC features in your data control. For example, you can choose which columns to display in the list of attributes. You can also add groovy expressions and a search form to your data control.
<extract end>
exactly i want to use the property like control hints and validation and all, but here the document not having details like "how to choose to create a bean xml file " option
thanks
Nidhi

Similar Messages

  • Create sequence from Data Modeler?

    Hi,
    I started using SQL Developer Data Modeler to model my first APEX application, but there are one thing I don't understand.
    From the logical model, I can create all my application model, but I don't find anywhere I can define thath my PK must be populated from a squence.
    From APEX is a step in the wizard, creating the sequence and trigger, but If I model from Data Modeler, then, I "loose" this important feature common to mostly all my table objects.
    There are something I'm missing?
    Regards.

    Philip Stoyanov wrote:
    You can set surrogate key to be generated for entity during engineering to relational model - in DM 3.3 available here http://www.oracle.com/technetwork/developer-tools/datamodeler/downloads/datamodeler-33-ea-1869055.html
    PhilipHi again,
    Sorry sir, but I downloaded 3.3 and can't find what you point in your last message.
    Regards.

  • Create repository from database model- snowflake facts and dimension joins

    I am working on a project that has a database model similar to the image in the link below.
    There are other few tables around it, but this generally represent the spine or major database model. This is not exactly a snowflake schema as there are no intrinsic hierarchy in the dimension tables. As you can see dim2 and dim4 has one to many relationship with dim3. there are joins between the fact tables as well.
    From some blogs and forum threads, I found out that I can create one fact/dimension table by joining many fact/dimension tables. Is this a right approach? Any thoughts on this model please?
    Thanks,
    Rakesh
    ps: I am using Windows XP Pro and OBIEE 10.1.4.3.1 and right now analyzing the data to create a repository.

    Hi Rakesh,
    As above post says you combine all fact tables into single fact table with other dimension tables so it would become a simple start schema .Go throught these blogs for further information .
    http://forums.oracle.com/forums/thread.jspa?threadID=2124061&tstart=0
    http://www.obinotes.com/2010/08/joins-within-logical-table-sources-in.html#comment-form
    Hope it helps you.Seems your new to forum you sud follow these rules http://forums.oracle.com/forums/ann.jspa?annID=939
    By,
    KK

  • How to create Analysis from two different subject areas with diff models

    Hello,
    I have problem with create analysis from two different areas with two different models (Model Star and Snowflakes) build in BI Admin tools.
    First Model A = Subject Area A have one fact tables (with measures) and three dimensions tables (Model Star)
    Second Model B = Subject Area B have one fact table (no measures) and five dimensions tables (Model Snowflakes).
    I'm looking solutions how I can give good results. In this case I can't use UNION, INTERSECT etc., because this models haven't the same number column and data type?
    whether it is possible to do in OBIEE?
    Please help me
    Kind regard
    robix

    Hi
    One thing to understand is that if your are imagining having two Subject Areas (SAs) displayed and then dragging columns from each into your Request without any preparation, then no, that can't be done. You would need to do a join in the BMM layer and expose the column from the second Subject Area in the presentation layer.
    But if you indeed interested in UNION (or intersect) queries, then do this:
    Build your first query in the first SA in the usual manner. Note the number of columns and the data types of each column.
    Now at the bottom of the Criteria workspace, there is a button called "Combine with similar request." Click it.
    Select your second SA. You will note that the outlines of the columns in your first query appear. This is to remind you that the number of columns in this second query must be the same as in the first. It also shows the data type of each column for the same reason.
    Once you select your columns and your filters, click on result. (Oh, you will also need to decide what kind of combination you want -- click on the dropdown.) The result will be a new Request that has data from both SAs in the query and combined in the manner you select (union, intersect, etc.)
    That should give you a start.
    http://obiee101.blogspot.in/2010/08/obiee-combine-with-similar-request.html -- Read this link this is good one to understand with screen shots. -- OBIEE 10g
    http://oraclebiee11g.blogspot.in/2011/01/querying-across-multiple-subject-areas.html -- OBIEE 11g
    Award Points it is useful.
    Thanks
    satya

  • Issue in creating a custom data model from BP

    Hi Team
    We have a requirement to create a custom data model by copying data model BP. I have successfully created new data model ZP . I have copied the UI for searching from BP. Issue is when i search a business partner  ideally it should not display any entries because i have just created the data model, But it is taking entries from BP and getting displayed. Please let me know how to map data model to search UI. I dont see option USMD_MODEL here

    Hi Imran,
    actually that is not an issue but a designed feature. I'm afraid that you need to re-think your whole project. The explanations is rather simple:
    Data model BP in MDG is a so called Re-Use Area data modell. This means that active data (records that are currently not stored in a change request) are saved in existing SAP ERP data base tables like BUT000 for the business partner master data and LFA1 or KNA1 for Vendor or Customer master data.
    If you copy data model BP to ZP you still refer to the same active area. You will always find the same active objects - no matter which data model you are actually using for the user interface. The only difference wil occur for objects being currently processed in a change request. In that case a separation between BP and ZP is possible. But this won't help to solve your issue.
    From SAP side I can only recommend not to copy BP but to find a different way of integrating your project needs into BP.
    Best regards
    Michael

  • Creating mysql schema from pojo with hibernate using netbeans

    I have been fortunate in finding some good tutorials on how to create POJOs from database schema using hibernate (e.g. http://netbeans.org/kb/docs/web/hibernate-webapp.html).
    Does anyone know of tutorials on creating database schemas from POJOs -- preferable using netbeans? Even the very smallest tutorial with one table or two related tables will do.

    961389 wrote:
    I have been fortunateNot really, that is not rare information.
    Does anyone know of tutorials on creating database schemas from POJOs -- preferable using netbeans? Even the very smallest tutorial with one table or two related tables will do.Netbeans has little to do with the creation of the schema, it's the container that's usually configured to do it. You can use the "hibernate.hbm2ddl.auto" property to control whether the DDL is created from the entities automatically.

  • Price refresh for new Shopping Cart created from a model

    I'm looking for a solution for the following problem.
    When i create a shopping cart from a model that has been previously created with a certain price, i'd like the system to update this price if it has been updated between model creation time and new shopping cart creation time from this model. (Whatever price it is catalog, material master price etc...)
    If i check the new SC created from the model with function module BBP_PROCDOC_GETDETAIL and my SC number, i see that table E_PRIDOC is fullfilled like this
                                                                                    COND COND_RATE             COND_ COND_P CON D C C GUID                             CON CON COND_VALUE            COND_
                                                                                    0100               106,53  EUR       1  PC    Y   90CA85CDA91B254DB35E750519F3975D 001 001             2.556,72  EUR 
    01PB             2.532,72  EUR       1  CRN       90CA85CDA91B254DB35E750519F3975D 050 001             2.532,72  EUR 
                      2.532,72  EUR       1  CRN       90CA85CDA91B254DB35E750519F3975D 100 001             2.532,72  EUR 
                          0,00  EUR       1  CRN       90CA85CDA91B254DB35E750519F3975D 200 001                 0,00  EUR 
                      2.532,72  EUR       1  CRN       90CA85CDA91B254DB35E750519F3975D 300 001             2.532,72  EUR 
    condition type 0100 is inactive (with the new correct price) and condition type 01PB (manual condition) is used with SC model price and makes that 0100 is inactive.
    How to get 0100 condition type active instead of 01PB when creating Shopping cart from models ?
    Any ideas are welcome.
    PE HAMON

    Supplier Relationship Management Implementation Guide (IMG): SRM Server ® Cross-Application Basic Settings ® Pricing ®
    ·        General Configuration Parameters
    ·        Process Condition Types
    - Maintain condition type 0100 here if not maintained
    ·        Process Calculation Schema -
    In process calculation schema make 0100 condition type as default or assign 0100 to the calculation schema
    ·        Process Condition Groups
    Go through this steps and you will be able to figure out.
    For more information you can log on to this URL
    http://help.sap.com/saphelp_srm50/helpdata/en/67/c3833cfa3dbc2ce10000000a114027/frameset.htm
    Please assign points if you find the answer usefull
    Thanks
    Sunny

  • How to create ArrayColletion in mx:Script from mx:Model id="results" source="/data/data.xml" /

    How to create ArrayColletion in mx:Script from <mx:Model
    id="results" source="/data/data.xml" />
    Please see my code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Model id="results" source="/data/data.xml" />
    <mx:Script>
    import mx.collections.ArrayCollection;
    import mx.utils.ArrayUtil;
    import mx.controls.Alert;
    </mx:Script>
    <mx:ArrayCollection id ="dt1"
    source="{ArrayUtil.toArray(results.result)}"/>
    <mx:Script><![CDATA[
    [Bindable]
    public var expenses:ArrayCollection = dt1;
    [Bindable]
    public var expenses2:ArrayCollection = dt1;
    [Bindable]
    public var dp:ArrayCollection=expenses;
    public function changeDataProvider():void{
    Alert.show(expenses.toString());
    if (dp==expenses){
    dp=expenses2;
    }else{
    dp=expenses;
    ]]></mx:Script>
    <mx:Panel x="10" y="10" width="100%" height="378"
    layout="absolute">
    <mx:ColumnChart dataProvider="{dt1}" x="10" y="10"
    id="myChart" height="318" width="100%">
    <mx:horizontalAxis>
    <mx:CategoryAxis categoryField="month"/>
    </mx:horizontalAxis>
    <mx:series>
    <mx:ColumnSeries displayName="apple" yField="apple"/>
    <mx:ColumnSeries displayName="orange"
    yField="orange"/>
    <mx:ColumnSeries displayName="banana"
    yField="banana"/>
    </mx:series>
    </mx:ColumnChart>
    <mx:Legend dataProvider="{myChart}" x="481" y="10"/>
    </mx:Panel>
    <mx:Button x="284" y="416" label="Change Data" id="bt"
    click="changeDataProvider()" />
    </mx:Application>

    Tracy,
    Thanks. That worked. However I have another related question:
    I convert the xml feed to a XMLListCollection by doing:
    <mx:XMLListCollection id="mission"
    source="{xmlFeed.lastResult.day}"/>
    and
    <mx:XMLListCollection id="mission1"
    source="{xmlFeed.lastResult.day.tBlock}"/>
    On the chart I have
    <mx:ColumnChart id="missionReadiness" height="150%"
    width="100%"
    paddingLeft="2" paddingRight="2"
    showDataTips="true" dataProvider="{mission1}">
    <mx:series>
    <mx:ColumnSeries xField="" yField="@today"
    displayName="Today"/>
    <mx:ColumnSeries xField="" yField="@tomorrow"
    displayName="Tomorrow"/>
    <mx:ColumnSeries xField="" yField="@afterT"
    displayName="After Tomorrow"/>
    </mx:series>
    </mx:ColumnChart>
    the yField works, but for the xField I want to have the @date
    but refers to the parent node, so I am clueless on how to refer to
    it.
    Also, I would like to display on the chart only the values to
    a specific date (like @date="05/17/2007").
    Any suggestions on how to do that?
    Gilbert

  • Calling a css user created method from jspx page in ADF faces

    Hi all,
    Can anyone help me out to solve an issue calling a css user created method from a jspx page.
    Note: The css method is not the default css method. It needs to be called using 'styleClass' attribute in any tag.
    Thanks
    Neha

    Hi,
    I am not an expert in CSS so I don't know what a css method is. However, CSS can be applied to components via EL accessing a managed bean that returns the sytle text
    Frank

  • Clear Asset Master when creating a Functional Location from a model?

    Hi experts,
    Is it possible to clear the asset master of a functional location when you are creating one from a copy that has an asset?
    I do a clear in user-exit (ZXLOMU01) of this value but when it returns from the next call customer, the program still have the value in IFLO.
    * CALL FUNCTION  'EXIT_SAPMILO0_001'                        "P40K059741
      MOVE Y_I_0 TO SY-SUBRC.                                   "P40K059741
      CALL CUSTOMER-FUNCTION '001'                              "P40K059741
           EXPORTING  ACTIVITY_TYPE           = L_ACTYP
                      DATA_IFLO               = IFLO
                      DATA_IFLO_OLD           = IFLO_OLD
                      DATA_IFLOS              = IFLOS
                      MAIN_CLASS              = RILO0-KLASSE          "4.5A
           IMPORTING  UPDATE_DATA_IFLO        = L_USR1
                      UPDATE_FLAGS_IFLO       = L_USR1U
           EXCEPTIONS POSTING_NOT_ALLOWED     = 1
                      POSTING_NOT_ALLOWED_EXT = 2
                      OTHERS                  = 3.
    I don't know what I have to do. Could anyone help me?
    Thanks in advance,
    Javi

    Anyone, please?
    Lots of thanks!

  • ADF Business Components from Tables - adding more tables

    Hi.
    I have already created a ADF Business Components from Tables and added tables from the Oracle database.
    My question is:
    Is it possible to add more tables to the same Business Components model?
    Not as a new Component Table, but with the same tables so i can use the same relations and mappings?

    Hi and thanks! Yes, I am talking about recreating a the same View Object that i already has created. In my first model i had the tables Name and Address. I want to add a new table called zipcode to the same View som i can choose colums from the zipcode-table in the same View as Name and Address.
    I'm not shure what you mean by Data Model tab? Can you spesify?
    Thanks!

  • Display Data from multiple models in one table

    Hi Experts,
    Is it possible to display data from multiple models in one table smltnsly.
    I have created a table dynamically.Now I would like to display data from multiple models... If this possible,can anyone give me a lead as to how to do it..
    Regards
    SU

    Hi
    Your Model Nodes be
    Model1
    ---Output_Model1
    Attrib1
    Attrib2
    Model2
    ---Output_model2
    Attrib1
    Attrib2
    and the value node is
    ValueNode
    ---Attrib1
    ---Attrib2
    Now the coding.
    int size;
    IPrivate<ViewName>.IOutput_mode1Node  node1 = wdContext.nodeOuptut_Model1();
    IPrivate<ViewName>.IValueNodeElement elem;
    size = node1.size();
    for(int i=0; i<size; i++)
       elem = wdContext.createValueNodeElement();
       elem.setAttrib1( node1.getOutput_Model1ElementAt(i).getAttrib1() );
       elem.setAttrib2( node1.getOutput_Model1ElementAt(i).getAttrib2();
       wdContext.nodeValueNode().addElement( elem );
    similar code for Model Node 2
    Regards
    Abhimanyu L

  • Error while deploying ADF web application from JDeveloper 11g to Web Logic

    Hi,
    I developed application following "Developing RIA Web Applications with Oracle ADF" tutorial.
    It works fine when started locally, from JDevelopwr 11g (11.1.1.1.0).
    I tried to deploy it to remote Oracle WebLogic Server (10.3.1, with ADF libraries installed) from JDeveloper, but got:
    +[02:29:00 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application HRDemo on AdminServer.: Failed to load webapp: 'HRDemo.war'.+
    +[02:29:00 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HRDemo.war'+
    +[02:29:00 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet+
    +[02:29:00 PM] See server logs or server console for more details.+
    +[02:29:00 PM] weblogic.application.ModuleException: Failed to load webapp: 'HRDemo.war'+
    +[02:29:00 PM] #### Deployment incomplete. ####+
    +[02:29:00 PM] Deployment Failed+
    Tried to add "ADF Common Web Runtime" to deployment profile's "Libraries selected for deployment" but than got:
    +[02:52:44 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application HRSystem_ViewController_webapp1 on AdminServer.: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'.+
    +[02:52:44 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'+
    +[02:52:44 PM] Caused by: java.lang.ClassNotFoundException: oracle.jsp.runtimev2.JspServlet+
    +[02:52:44 PM] See server logs or server console for more details.+
    +[02:52:44 PM] weblogic.application.ModuleException: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'+
    +[02:52:44 PM] #### Deployment incomplete. ####+
    +[02:52:44 PM] Deployment Failed+
    Regards,
    Zdravko.
    Edited by: [email protected] on Sep 10, 2009 2:58 PM

    Hi,
    We did that earlier, too (modified existing domain).
    Also, after that, we created new domain and extended it according to you suggestions but no change.
    Regards,
    Zdravko.
    Edited by: [email protected] on Sep 11, 2009 10:20 AM

  • Recommended way of getting entity manager from pojo class

    Hi,
    In our application we have the need or retrieving entity manager from 'pojo' classes.
    More specifically we have singleton classes which act as 'data' repositories and are accessed from both servlets and ejb.
    I'm aware that the repositories classes might be problematic, but in the current stage we can't perform significant change in application structure so I am looking for a 'fast' solution as possible.
    The best way will be to lookup entityt manager in JNDI, but as I undestand this feature is not avaialabe in weblogic.
    I understand that the preffered way for getting entity manager in such situation is by using @PersistenceUnit annotion on the calling location and lookup entityManager by that name in the pojo. This is however problematic for us since since we access the repositories from variouse locations (many different classes).
    Possible additional solutions we thought of:
    - creating an 'entity manager factory' locator ejb. This is an ejb with no transaction attribute, which has one method getEntityManagerFactory. It injects entityManagerFactory and returns it. This is the fastest soltion to implement. Is this a valid one?
    - using application managed entity manager in such situations. We have a problem doing so now because the creation seems to fail for variouse reasons.
    What is the recommended way?
    Thanks.

    To obtain an EntityManager instance, first must obtain an EntityManagerFactory instance by injecting it into the application component by means of the javax.persistence.PersistenceUnit annotation:
    @PersistenceUnit
    EntityManagerFactory emf;
    Then, obtain an EntityManager from the EntityManagerFactory instance:
    EntityManager em = emf.createEntityManager();
    http://download.oracle.com/javaee/5/tutorial/doc/bnbqw.html
    Edited by: dvohra16 on Apr 14, 2011 5:06 PM

  • Integrating ADF Business Components from heterogenous data sources

    Hi all,
    has anybody experience in integrating ADF Business Components from heterogenous data sources like ViewObjects from a DB2 database as LOV in a ViewObject from a Oracle 11g?
    What is the best practice approach to integrate such different ADF Business Components in declarative and programmatic ways?
    Thank you!

    thank you for the answer! We already updated out BC according to http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
    The DB2 ViewObjects are exported as ADF Libraries and imported in the BC of the project with Oracle DB ViewObjects. In the root AM I created instances from the imported DB2-ViewObjects as well as from the Oracle-ViewObjects, but when I start AM test environment it takes the preconfigured Data Source of the root AM. So I probably will pesneed to create two AMs for the different ViewObject types and for the two connection types. My question is what will be best practices to use data from the DB2-VO of AM_DB2 in the OracleDB-VOs as part of AM_Oracle? Should it be done only programmatically or can it be done also declaratively and any suggestions how to proceed?
    Thank you!
    Edited by: nbo on Jun 3, 2012 2:53 AM

Maybe you are looking for

  • HELP WITH A FORM

    Ok here is the problem, I am trying to make a form in my existing fla document and the form will not function. I have created the form and used the exact same php script in a seperate flash movie and the form worked fine but I can not get it to work

  • Still image that shimmies and shakes

    There are 2 still images in this piece I'm finishing up that that shimmy and shake. They are only on the sreen for 3 seconds, but it's noticeable. I thought I'd found the answer when I pulled them ouf of the Timeline, into the Viewer to have a look,

  • Fatal Trash Deletion - My Mini is Dead!

    So, I have tried everything. PRam reset; fsck -fy; etc... In verbose boot-up I get all kinds of kernel errors (e.g. it fails to register service "com.apple.kernelextensionsserver"; it says "matching fails". There are many "matching fails" This happen

  • What is the best way   for writing cursors in while loops

    i just chage my flatform from visual foxpro to sql for every report part using query analyser i have to make report on any tables suppose : - mastempno wise report so i heve to use cursor or store procedure in while loop for searching in transaction

  • I want to create or add an email address- blackberry curve 3520

    Hi guys, i am very new to nthe world of moden phones and emailing on them! but i am getting very fustrated that i have followed the instructions to add email to my phone and it does not provide me with the option needed! i have a blackberry curve 352