Business Components and Database Views - Trouble Creating

I am trying to create a business component that contains a View that I created in my database. When I get to the fnnal step of creating the business component and it begins to generate the XML and Java code, it bombs out and says that the view object does not support ROWID. I just need to select only GridControl of this view.
Any suggestions/help would be appreciated. I could not find any info in the JDeveloper help.
null

Some options:
[list]
[*]Create the entity using the Entity Wizard instead of reverse engineering it from a table. In the entity wizard you can specify the table/view name, then indicate which attribute should function as the primary key.
[*]Don't bother creating an entity object for this view. You can just create a view object with an "expert mode" query that selects against your database view. It does not need an entity object. Note, however, that without an associated entity you won't get "uniquing" of entity level values, so if another view object being used by the same use changes the data that this grid is showing, the updates won't be automatically synchronized if you go this route.
[list]

Similar Messages

  • Why ADF Business Components and TopLink

    Hi All,
    Why are there two types of components in Businses Tier? (ADF Business Components and TopLink). Even through there are other types, I can visualize the use of other components but ADF Business Components & TopLink seems to serve the same requirement.
    Can some one provide me information on what is the difference between these two and when to use which one?

    ADF Business Components (aka BC4J) are different from Toplink from approach point of view. Basically if you are more comfortable with SQL and want fine grain control over what and how SQL are run against the database, BC4J is the way to go, because, it's you who write the queries(in ViewObjects)
    If you are from more of java backgroup and can visualize things in term of Object and relationships among objects, so on and so forth then Toplink would be the right choice.
    Pls see the post by Shay in his blog:
    http://blogs.oracle.com/shay/2006/03/10
    regards - rutwik

  • Business Components and OAS 4.0.8

    I have several projects running in JDeveloper - one of them being a BC4J project, the others a mix of servlets and classes that make use of the BC4J project to interact with the database.
    I have successfully managed to deploy the Business components application to OAS, but I get stuck after that.
    How do I make use of this deployed BC4J application through a JServlet application?

    Hi,
    A colleague of mine mentioned that one may encounter problems deploying to OAS 4.0.8.
    I understand that OAS 4.0.8.1 has major bug fixes and may make deployment substantially easier. Having not attempted either, I cannot verify his statement.
    Hope you have success!
    G.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Subhadip:
    I have created an application using Oracle Business Components and Oracle InfoSwing controls. Now I want to deploy the Business Components as EJB to OAS 4.0.8 and want to run the front end as an Applet which will connect to those EJB Session beans stored in OAS. Please let me know if its possible or not and any document detailing how to do it. To be more specific:
    1) In the properties dialog for the Application Module, in the remote tab, there are options for Oracle8i EJB, CORBA and VISIBROKER, but nothing for OAS. So what to choose there?
    2) If I run Deployment Wizard on the Business Components project with OAS option (selecting nothing in the Remote Tab), it fails (says nothing to parse in the source JAR file)
    3) In the property pallette of the InfoProducer Session object, what to give in the remote proerties for OAS EJB.
    4) It seems that no manual code change is required if they are deployed in Oracle8i or VisiBroker whether they are deployed in Local or EJB or CORBA(the deployment wizard takes care of it). Is it same for OAS EJB deployment also?
    Please help. It's Very Very urgent.<HR></BLOCKQUOTE>
    null

  • View on "Transparent Table and DataBase View" ????

    Hi
    I have three transparent tables and four database views in R/3.
    Is it possible to create the view on "Transparent Table and DataBase View". Please let me know
    kumar

    no it's not possible.

  • Difference between business components and EJB

    hello guys, do anyone knows what is the core difference of using ADF Business components and EJB Session Beans ??

    this blog might help http://blog.whitehorses.nl/2012/03/26/adf-11g-bc4j-or-ejb3/
    Timo

  • Possible Bug: Business Components and packaging preferences

    I'm using JDev 11g TP2
    When I set up package preferences for business components, it is completely ignoring the package I setup for the Entity object.
    Example:
    From the menu Tools>Preferences
    Under the section Business Components>Packages.
    I set the following:
    Business Component: left blank - it uses the default [prefix].model
    Entity: entity
    Association: entity.association
    View Object: view
    View Link: view.links
    the rest have been left at default settings.
    Then I create a new diagram so I can add existing database tables to the application. I drag and drop the selected tables from the application resources to the diagram. It creates the entity objects in the [prefix].model package, not the [prefix].model.entity package like I was expecting. However the associations get created correctly in the [prefix].model.entity.association package.
    Is this possibly a bug, or just a training issue for me?
    Thanks

    No worries Ric. Unfortunately I don't have access to your latest builds but I'll still raise the issues in case they are relevant.
    Regards,
    CM.

  • JDeveloper 3.0 and Database-Views

    I have started to test JDeveloper and have the first problem.
    I make extensive use of database-saved views and started with the Package Wizard to create default business-objects (view objects and view links).
    But when I select a database-view I get a save error: Entity creation failed no primary key attributes and does not support ROWID. oracle.jbo.dt.objects.Jbo.Exception
    The connection was established with jdbc.oracle.thin, the database is NT-Version 7.3.4, JDeveloper is Version 3.0 (Build 532).
    What have I done wrong or is it not possible to connect to views ???
    I hope for your help.
    Henry
    null

    Dan,
    JDeveloper 3.0 provides an 'Add-In API' and 'Custom Addins' for
    integration with third-party vendors. These were also in place
    for 2.0.
    If you go to the JDeveloper page, there are HTML documents
    available under the 2.0 Technical Information section, and also
    an online walkthrough available if you follow the 'Online Demo'
    link.
    Laura
    Dan Schroeder (guest) wrote:
    : Will JDeveloper 3.0 support source control integration? I am
    : currently MKS Source Integerty 7.5. I haven't seen any
    : references about source control within JDeveloper 3.0.482, but
    : someone told me that it may be available as an add on.
    null

  • Diff  between maintence and database views

    pls  answer now,its urgent

    Hi
    Database Views
    Data about an application object is often distributed on several database tables. A database view provides an application-specific view on such distributed data.
    Database views are defined in the ABAP Dictionary. A database view is automatically created in the underlying database when it is activated.
    Application programs can access the data of a database view using the database interface. You can access the data in ABAP programs with both OPEN SQL and NATIVE SQL. However, the data is actually selected in the database. Since the join operation is executed in the database in this case, you can minimize the number of database accesses in this way. Database views implement an inner join (see Inner and Outer Join).
    If the database view only contains a single table, the maintenance status can be used to determine if data records can also be inserted with the view. If the database view contains more than one table, you can only read the data.
    Database views should be created if want to select logically connected data from different tables simultaneously. Selection with a database view is generally faster than access to individual tables. When selecting with views, you should also ensure that there are suitable indexes on the tables contained in the view.
    Maintenance View:
    Maintenance views offer easy ways to maintain complex application objects.
    Data distributed on several tables often forms a logical unit, for example an application object, for the user. You want to be able to display, modify and create the data of such an application object together. Normally the user is not interested in the technical implementation of the application object, that is in the distribution of the data on several tables.
    A maintenance view permits you to maintain the data of an application object together. The data is automatically distributed in the underlying database tables. The maintenance status determines which accesses to the data of the underlying tables are possible with the maintenance view.
    All the tables in a maintenance view must be linked with foreign keys, that is the join conditions for maintenance views are always derived from the foreign key  You cannot directly enter the join conditions as for database views.
    There are some restrictions for the attributes of the foreign keys with which the tables in a maintenance view can be linked
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    Maintenance mechanisms, like screens and processing programs, must be created from the view definition with the transaction Generate Table View (SE54). This makes it possible to create easy-to-use maintenance interfaces in a simple manner.
    If it is helpful rewards points
    Reagards
    Pratap.M

  • JPA and Database Views

    hi ,
    How can i represent my DataBase View in JPA , and since each "Entity" should have an "@Id" how can i handle this on my views since some of them does not have a convenient ID field/fields , Thanks

    In this situation I created @Id for one of the columns or created @IdClass from all view fields.

  • ADF business components and scalability ?

    Hello,
    I am new to the ADF Framework, I come from an open source background.
    I have a limitation to use Oracle technologies for an internet banking design.
    My concern is the large number of users accessing the system and how we scale up through clustering.
    Do you recommend ADF business components for this application, can ADF be simple POJOs handlers or EJB 3.0 session facades ? if that is the case, would you recommend EJB 3.0 for clustering and scalability for an internet banking system.
    Any guidance is appreciated.
    Thanks.

    Thanks for the reply, I will read the document, however,
    If I try to compare ADF to other frameworks, creating BCms as POJOs would take advantage of the Apache clustering(web tier, same as Tomcat clustering in Jboss), there is no need for OC4J services of the 10gAS, on the other hand, if I go with EJB3 stateless session beans BCms then i would need 10g OC4J container and its clustering capability(AS clustering).
    Your time is appreciated and please respond only if you time, i will go through the doc.

  • Building Cascading Lists for Query with ADF Business components and JSP

    I build “Cascading Lists for Query Screens with ADF Business Components”. When I to select master list first – Ok, but when I to select master list second returned error : JBO – 25013 : Too many objects match the primary key oracle.jbo.key[CN]. CN dependences with key to detail list (Countries in this case). Please help me.
    Excuse me for my English.
    Andrew.

    You would have a better chance, that someone answers your question, if you choose the right forum:
    JDeveloper and ADF

  • JPA and Database View.

    Hi people...
    I working with JPA and Hibernate and i have a View in my Database and i need to map this View. It's this possible? Some have an example to show me?.
    Thanks!

    I hope this link help you
    http://forums.java.net/jive/message.jspa?messageID=244187
    I�m having a similar problem, I�m developing using JPA and now I need to bring values from some views on database but I still don�t know how.I�m still Java jr and I didn�t understand clearly but I guess that the link can help you, and if it�s true please explain me.

  • DB Connect and Database Views

    Hello,
    I am writing a function module to access an external Oracle database that has been defined in our ABAP system using DBConnect.
    I would like to use Open SQL instead of Native SQL to access the data in the remote table.  Is this possible?  I believe that in order to do this, a view of the remote table would have to be defined in the ABAP data dictionary via SE11, but I am unable to do this.
    Does anyone know if this is possible, or am I required to use Native SQL when accessing an external database?
    Regards,
    -Matt Schababerle

    Hi,
    Chek out these two links.
    It would be helpful:
    Access external Oracle database with ABAP
    external oracle database connection
    Regards,
    Anjali

  • Is it better to install windows on the same mac hard drive or use the second hard drive bay as it's own? Im also using deploy studio and am having trouble creating a workflow to assign the bay.

    Have mac pros with 1tb drives in tem. Trying to figure out imaging via deploy studio.

    For the easist install and problem solving having W7 on it's own disk would be the best way to go.
    The only thing you need to do is either take out the lower # drives ahead of the future Windows disk or put the Windows HD in bay/slot #1. (or just take out all but the future W7 disk and install it manually works too)
    The easiest way would be to put the W7 drive in slot slot/bay #1 then you can still use BC Assistant to install the drivers and such.
    After the install you can have the Windows drive in any slot you want.
    I'm not familier with Deploy Studio so can't help you beyond this.

  • Business Components and oracle.jbo.domain.Date

    Hello I have the next problem I have a Busines Component and I have to acess to rows who have Dates and with oracle.jbo.domain.Date I can4t acess to the day, month, year .
    Can anyone Help me how can I do to access this dates?
    Thanks a lot your your help.

    Hi,
    This is the trilogy problem:
    oracle.jbo.domain.Date
    oracle.sql.DATE
    java.util.Date
    The question is how to translate from one object type to another.
    You can use the following:
    oracle.jbo.domain.Date tmpDate = null;
    SimpleDateFormat tmpLocalFormat = new SimpleDateFormat();
    SimpleDateFormat tmpLocalFormat2 = new SimpleDateFormat();
    // Obtenir la date du sommaire
    tmpDate = (oracle.jbo.domain.Date) session.getValue("DateElem");
    // Initialisation des objets de formatage de date
    tmpLocalFormat.applyPattern("yyyy-MM-dd");
    tmpLocalFormat2.applyPattern("dd-MM-yyyy");
    // Conversion du format de date yyyy-MM-dd => dd-MM-yyyy
    tmpWhereClause = new String(tmpLocalFormat2.format(tmpLocalFormat.parse(tmpDate.toString())));
    // Ajouter ` la clause "Where" la contrainte de la date
    tmpWhereClause = "DrqSommaireInitial.DATE_SOMMAIRE = TO_DATE('" + tmpWhereClause + "', 'DD-MM-YYYY')";
    Take a look also to class calendar...
    null

Maybe you are looking for