ADFBC

Hi all,
I developed the sample in the link http://www.oracle.com/technology/products/jdev/11/cuecards/adf_set_21/ccset21_ALL.html step by step. But I receive an error when I run the project.
The error I get is :
WARNING: ADFc: Error while selecting entity for Orders
oracle.jbo.DMLException: JBO-26080: Error while selecting entity for Orders
Caused by: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended
The SQL statement generated is :
SELECT Orders.ORDER_ID,
Orders.ORDER_DATE,
Orders.ORDER_SHIPPED_DATE,
Orders.ORDER_STATUS_CODE,
Orders.ORDER_TOTAL,
Orders.CUSTOMER_ID,
Orders.SHIP_TO_NAME,
Orders.SHIP_TO_ADDRESS_ID,
Orders.SHIP_TO_PHONE_NUMBER,
Orders.SHIPPING_OPTION_ID,
Orders.FREE_SHIPPING_FLAG,
Orders.CUSTOMER_COLLECT_FLAG,
Orders.GIFTWRAP_FLAG,
Orders.GIFTWRAP_MESSAGE
FROM ORDERS Orders

Hi,
did you copy and paste this SQL from your app or from the tutorial? If from the tutorial, paste it from your application to b esure
Frank

Similar Messages

  • Unable to run ADFBC JUNIT Test Classes with JDEV11G 11.1.1.6

    Dear All,
    I upgraded my project to the latest release JDEV 11G 11.1.1.6
    Previously we are on JDEV 11G 11.1.1.5
    I have a JUNIT class that I am running which test my ADFBC components.
    public class MyTestClass {
      @Test
      public void testVOAccess()
        //assertions
    }Unfortunately, I am hitting an error like this from the messages.
    Mar 9, 2012 1:28:07 PM oracle.adf.share.ADFContext getCurrent
    WARNING: Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    For more information please enable logging for oracle.adf.share.ADFContext at FINEST level.
    Mar 9, 2012 1:28:08 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
    SEVERE: org.xml.sax.SAXParseException: Invalid encoding name "Cp1252".
    Mar 9, 2012 1:28:10 PM oracle.mds
    NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
    Mar 9, 2012 1:28:12 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
    SEVERE: org.xml.sax.SAXParseException: Invalid encoding name "Cp1252".
    Mar 9, 2012 1:28:12 PM oracle.adf.share.jndi.ReferenceStoreHelper getReferencesMapEx
    WARNING: Incomplete connection reference object for connection:MYDATASOURCEAt the JUNIT Test Runner, I see this.
    java.lang.ExceptionInInitializerError: null
         java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:171)
         org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:216)
    Caused by: oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:207)
         oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)To validate the issue, I tried to run my same project using the older release which is JDEV 11G 11.1.1.5
    and I see that I am not hitting any error. All my test classes runs fine.
    Has anybody replicated this?
    Thanks

    Didier Laurent wrote:
    I logged the following bug for this issue:
    bug 14030895 - REGR: JDEVELOPER 11.1.1.6.0 JUNIT JBO-26061 ERROR WHILE OPENING JDBC CONNECTION
    Regards,
    Didier.So its really a bug..
    I abandon this already since I cannot find any solution to look up for this.
    On the other hand, I am maintaining two jdeveloper version just to get around this problem.
    When testing ADFBC, I used the 11.1.1.5 while for non-junit test I used the 11.1.1.6
    Hopefully this gets fixed on the next release as I am having a hard time swithcing between two JDev version.
    Thanks
    Edited by: Neliel on May 3, 2012 11:42 PM

  • Strange error when running ADFBC on Jboss 4.0.3SP1

    jdeveloper : 10.1.3.3.0.4157
    jboss : 4.0.3SP1
    database: Oracle10g
    I have developed a simple JSP page which talks to a table in the database using ADFBC, while I was developing I was using the OC4J server that comes with JDeveloper it runs fine, I deployed it to an Oracle Application Server, again it worked fine. Then my boss wants this deployed to a Jboss server and this is where it all went wrong.
    At first I had problems deploying to the server but then I realised that I need the ADF installer, so after I installed that it deployed fine. But when I try to goto the page it comes up with the following error
    JBO-30003: The application pool (com.delexian.notification.HRPublicServiceLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.CustomClassNotFoundException, msg=JBO-26022: Could not find and load the custom class com.delexian.notification.HRPublicServiceImpl
    Heres what I've done to try and resolve this problem
    - setup the oracle-ds.xml, standardjaws.xml and login-config.xml file according to this url http://www.onjava.com/pub/a/onjava/2004/02/25/jbossjdbc.html#oracle
    - checked that the class file is actually in the ear file that I've deployed.
    - double checked that I'm not deploying java files
    - double checked that the probject works on other app servers (OC4J and Oracle App Server)
    - setup the oracle-ds.xml jndi configuration according to bc4j.xcfg file
    I have been searching the forums and the only relevant thing I can find is someone said to goto a $JAVA_TOP/blah/blah directory and see if the files are in the folder. The problem with mine is that I am running on Windows and I don't have a $JAVA_TOP directory, could this be part of the problem ? The other reflex answer I've seen to problems like this is just "check your not deploying java files". Which is why I've double checked I'm deploying class files
    I have noticed that the class that it reckons it cannot find are in the Web-Inf folder, is this correct ?
    Here is my file layout in the war file (embedded in an EAR file), there is obviously other stuff in the WAR file, but I've posted what I think is most relevant, if you would like to know the location of other files please let me know.
    staff
    ----browsePersons.jspx
    WEB-INF
    ----classes
    --------com
    ------------delexian
    ----------------notification
    --------------------HRPublicServiceImpl.class
    should the com.delexian.notification.HRPublicServiceImpl.class be under a different folder ?
    I am just using a default deployment script, which was generated in JDev by right clicking on my view-controller project and selecting New -> Deployment Profiles -> WAR File.
    Is there anything in here I need to modify to get it running on a Jboss server ?
    Thanks
    Duncan

    Thanks for the reply, yes unfortunately it is in the classpath. Although I have a feeling it will be something simple like this when I work it out in the end...

  • Missing library error while deploying the ADFBC application

    Hi,
    I have small application developped using ADFBC. The application is working perfectly fine when I run the app using JDev.
    When I try to deploy the app to the standalone oc4j, I am getting following error...
    Binding SRDemoApp web-module for application SRDemoApp to site default-web-site under context root SRDemoApp
    Exception: NoClassDefFoundError:
         Missing class: oracle.jbo.ApplicationModule
         Dependent class: oracle.srdemo.model.common.SRService
         Loader: SRDemoApp.web.SRDemoApp:0.0.0
         Code-Source: /home/oracle/jdev/JDev4745/j2ee/home/applications/SRDemoApp/SRDemoApp/WEB-INF/classes/
         Configuration: WEB-INF/classes/ in /home/oracle/jdev/JDev4745/j2ee/home/applications/SRDemoApp/SRDemoApp/WEB-INF/classes
    The missing class is available from the following locations:
         1. Code-Source: /home/oracle/jdev/JDev4745/BC4J/lib/adfm.jar (from <code-source> (ignore manifest Class-Path) in /home/oracle/jdev/JDev4745/j2ee/home/config/server.xml)
         This code-source is available in loader adf.oracle.domain:11.1.1. This shared-library can be imported by the "SRDemoApp" application.
         This code-source is available in loader adf.generic.domain:11.1.1.
    I have adfm.jar in the BC4J/lib also.
    Some body please help me out

    Finaly we solved this...
    Actualy we need to add the below tag in applications.xml
    <imported-shared-libraries>
    <import-shared-library name="adf.generic.domain" />
    </imported-shared-libraries>

  • ADFBC 10.1.3.3 Row Level Security

    Hello.
    Till now, we have implemented Row Level Security through a database function, and using this function in all our view objects where clause.
    We would like to remove this database function, and implement this kind of security with ADFBC. Is this possible ? VPD is not an option. We are trying to make our product database independent.
    In general terms, we would need to check some conditions before creating the viewObjects rowset. I believe ADFBC does provide us with a mechanism to achieve this, but I'm not aware of how to do it.
    Any help would be great.
    Thanks a lot.
    John

    Thanks for the response Frank.
    Our row level security is if a certain user, has the rights to view a specific database row. We have all this security mapped to the database. Today we have a database function that receives some parameters (to identify which entity usecase is beeing queried) and returns yes or no, depending on the user rights.
    I'm not sure how to achieve this using the RowImpl class. It's my understanding that this a rowImpl class is always created when checking the row from the view object (hasNext() for example). But how do I fetch the current row, check if the user has the rights to view this row and return the fully filled row, or if he doesn't have access to this row, I would need to remove this row from the rowset. Is it possible to do this, just by implementing the rowimpl class of my View Object ? If so, which methods should I override to achieve this ?
    Thanks again

  • [Solved] ADFBC validation when your data isn't normalized

    Hello -
    I'm working on a ADFBC/JSF app (using JDev 10.1.3.3) where I am developing a JSF page to edit data for a table whose data is denormalized. I'll explain using the EMPLOYEES table in the HR sample schema.
    Change EMPLOYEES to...
    a. Add a column (EMPLOYEES.DEPARTMENT_NAME) that holds the data in DEPARTMENTS.DEPARTMENT_NAME
    b. Remove the foreign key EMP_DEPT_FK which links EMPLOYEES.DEPARTMENT_ID to DEPARTMENTS.DEPARTMENT_ID
    The UI presents a field for EMPLOYEES.DEPARTMENT_ID. It also shows EMPLOYEES.DEPARTMENT_NAME as a read-only field.
    When the user gives a value for EMPLOYEES.DEPARTMENT_ID, the app needs to
    1. Validate the DEPARTMENT_ID using a function in a PL/SQL package
    2. Populate the EMPLOYEES.DEPARTMENT_NAME field. Department name is retrieved using a function in a PL/SQL package that takes the department_id as a parameter.
    3. Assign a NULL value to EMPLOYEES.DEPARTMENT_NAME if the provided DEPARTMENT_ID is NULL.
    I don't have the option of changing the table structure.
    I have an entity object for the EMPLOYEES records. To accomplish #1 I added a method validator on the DEPARTMENT_ID attribute to call the appropriate PL/SQL function using JDBC. My question is - where should #2 and #3 happen?
    - In the same method validator on the attribute for DEPARTMENT_ID?
    - In the setter for the DEPARTMENT_ID after the call to setAttributeInternal?
    - Somewhere else?
    Thanks for reading my question
    -- Scott
    Message was edited by:
    scott.turnquist

    Thanks Frank.
    Here is what I came up with (in case anyone else has a similar question) - it works well so far.
    In EmployeeEntityImpl:
        public boolean validateDepartmentId(Number data) {
            boolean valid = true;
            if (data != null ) {
                try {
                    MyAppModuleImpl mod =
                        (MyAppModuleImpl )getDBTransaction().getRootApplicationModule();
                    valid = mod.validateDepartmentId(data);  //method uses JDBC to call PL/SQL package function, could throw SQLException
                } catch (SQLException se) {
                    log.error("Error while checking Department Id: " + data, se);
                    valid = false;
            return valid;
        public void setDepartmentId(Number value) {
            setAttributeInternal(DEPARTMENTID, value);
            //Propogate changes to redundant DepartmentName field.
            //If we get this far, we will have passed the validation
            //called by setAttributeInternal()
            if (value == null) {
                if (getDepartmentName() != null) {
                    setDepartmentName(null);
            } else {
                MyAppModuleImpl mod =
                    (MyAppModuleImpl) getDBTransaction().getRootApplicationModule();
                try {
                    String deptName = mod.lookupDepartmentNameFromDepartmentId(value);   //method uses JDBC to call PL/SQL package function, could throw SQLExeption
                    if (deptName == null) {
                        log.error("Could not find department name for department id: " +
                                  value);
                        throw new JboException("Invalid department id: " +
                                               value);
                    } else {
                        setDepartmentName(deptName);
                } catch (SQLException se) {
                    log.error("Could not validate department id: " + value, se);
                    throw new JboException("Invalid department id: " + value);
        }

  • ADFBC:oracle.jbo.ConfigException--------Classpath error

    hai all,
    I have a project using JDEV 10.1.3 and ADFBC
    In my applcation I need to access a servcie method inside the AppModule.
    I did this using the help of Oracle ADF guideand it was working fine for me.
    But now it showing some error on the line
    Configuration.createRootApplicationModule(amDef,config);
    the error is
    Apr 29, 2008 12:17:00 AM oracle.adf.share.config.ADFConfigFactoryfindOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration
    file /com/mycomp/res/common/bc4j.xcfg in the classpath
    at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:367)
    at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:284)
    at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:539)
    at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1498)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1476)
    at ..............
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    I didn't change anything specific to the AppModule.....
    My App module containing in the pacakage /com/mycomp/res
    and bc4j.xcfg is available in the /com/mycomp/res/common
    I have added dependency on the Model project from the view project
    and even tried to add /com/mycomp/res/common to the view projects classpth using add jar/folder
    But nothing work for me.Actually it was working fine before but now it has turned to show errors.
    I have checked all forums related to this issue,but nothing helped me.
    I'm completely stuck with this problem.... Anybody please help me ......
    thanks
    Ans

    Hai dvohra
    thanks for your reply
    I already tried this but no use.
    The model project is already checked in the dependency pane of the
    view project.
    But In my project I have found another bc4j.xcfg file in another Directory.
    (My project containing only one AppModule)
    I tried after deleting it but nothing hapend.the same error occure again
    Is any other thing to do to make it work
    Please help...........
    Thanks
    Ans

  • Labels Internationalization in ADFbc

    Hi, I have an ADF project where I’m using ADFbc on the model level.
    For labels, I’m using the “Label Text” in the “Control Hints” on the entity level, in that way if I drag the view object on multiple JFS screens the same label will be reflected on all of them.
    Now my question is, how can I implement “Internationalization on the labels”, in other words, how can I change all the labels to be in other language based on the logged in user?
    Jdev 11.1.1.3
    Thanks,
    Alain

    I will assume you know the language of the logged in user.
    I used this sessionScope bean in a previous a application to switch the locale at run time.
    import java.util.Locale;
    import javax.faces.component.UIViewRoot;
    import javax.faces.context.FacesContext;
    public class langBean
        public langBean()
            super();
      Locale preferredLocale;
        public void setPreferredLocale(Locale preferredLocale)
            this.preferredLocale = preferredLocale;
        public Locale getPreferredLocale()
            return preferredLocale;
    puplic void changeLocale(String language) //map the user language to Local (i.e. if English user pass en, If french user pass fr to this method)
          Locale newLocale = new Locale(language);
          FacesContext fctx = FacesContext.getCurrentInstance();
          fctx.getViewRoot().setLocale(newLocale);
          setPreferredLocale(FacesContext.getCurrentInstance().getViewRoot().getLocale());
    }once the user has logged in, determine his language, then call this method changeLocale(String language).
    Then in each page in your application, open the structure window, and select the view node, from the property inspector set Locale
    #{langBean.preferredLocale}
    For more information:
    check section: 21.4 Configuring Pages for an End User to Specify Locale at Runtime
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31973/af_global.htm#CIHIJJDG

  • Cannot access class oracle.jheadstart.model.adfbc.JhsApplicationModuleImpl;

    Error(2,38): cannot access class oracle.jheadstart.model.adfbc.JhsApplicationModuleImpl; file oracle\jheadstart\model\adfbc\JhsApplicationModuleImpl.class not found
    Hi,
    I am working on demo application from JHeadstart Developer's Guide (ch2). I got the above error when I tried to test the ADF BC.
    I checked the Project properties of the model and there was no jheadstart subfolder under oracle folder.
    I followed the install.html for JHeadstart download without problem.
    I am wondering if the .jar files from JHeadstart that I copied to Jdeveloper is where the issue is?
    Any help is much appreciated.
    Ahsan

    Sandra,
    Thanks for your prompt and helpful response.
    When you are at page 2-9 in the Getting Started chapter, you should not have run the Application Generator yet, therefore your Application Module should not extend JhsApplicationModuleImpl yet.
    CORRECT.
    Or did you explicitly set the ADF BC Base Class properties to JhsApplicationModuleImpl?
    YES I DID THIS.
    The paragraph that describes this does mention that JHeadstart sets it up for you, you don't have to do it yourself. Is that where the confusion originated?
    YES I UNDERSTOOD THIS ALSO BUT THE CONFUSION WAS NOT HERE.
    MY SUGGESTION: if you modified the first sentence on page 2-10 to something like (You need to 'run the JAG' before you do Right-click the "HRService"Application Module and choose 'Test' 'otherwise you will get an error') would resolve the confusion for me.

  • How to build a full dynamic WHERE expression in ADFBC Faces View Object ?

    Dear Steve
    >
    I need an example about how to build a full dynamic WHERE expression in
    ADFBC View Object
    In UIX I known to do that, but i don't kwown how to do in ADFBC Faces.
    please help me to see an example.
    thanks
    Juan Carlos

    You write an AM level method to set the where clause and you expose it as a client method. (just like you did before)
    Then you can drag this method onto a page as a button and then pressing on this button will execute the method.
    If you want this to be done automatically without pressing a button - you go to the pagedef.xml file for your page and add a methodInvocation binding to that AM method, and then add a method executable to the executables section calling this method.

  • JSF and ADFBC: How to Run a method every time the page is posted back

    Hi everyone,
    I am using ADFBC and JSF in my project, and there is a page which runs the following logic: The page displays a set of radio options and a submit button. It has a total of 4 options, but they never display all at once. For example, when user enters the page for the first time, only selectItem 1 displays. When it clicks on the submit button, the page is posted back and hides the first select item, showing now the second, and so forth. The steps i did to achieve this are:
    1 - Created a method on the App Module that inserts a row corresponding to the select item choice.
    2 - Created another method that verifies which is the lastly entered row and returns a string containing the relevant attribute, for example, "E".
    3 - Created the methodAction binding to run the insertMethod (1) and retrieveMethod (2).
    4 - Created an invokeMethod executable for the retrieveMethod (2) and set the refresh property to "always".
    5 - Created a variableIterator with a variable to hold the retrieveMethod return, also setting the refresh to "always".
    6 - Lastly, bound the "rendered" attribute of each select item to the variable's value, for example "#{bindings.returnVariable == 'E'}
    When i run the page, the logic works almost fine, except for one detail: When the user clicks the button that calls insertMethod, the page is posted back, and i assume the selectItems should be re-rendered accordingly. Yet, the button click inserts the row in the DB (called insertMethod) but keeps showing the previous radio item. If i restart OC4J, when i enter the page again the radio is now correct, showing the next option.
    Do you know how can i tell the page that the model has been refreshed, so it runs the retrieveMethod again, alters the variable and the radio options without having to leave the page or restarting OC4J?
    Thanks in advance for your help!
    Regards
    Thiago Souza

    Hi all,
    It seems i have figured out the error. It was a logic mistake on my method, ADF was doing the refreshes just fine. There is another little question i wanted to ask now: I need to execute a JSF Navigation Case when the page loads, in order to navigate to another page due to a certain condition. is there any way to run some logic to redirect the request before the page has been rendered, just like the onLoad() javascript event runs on the body every time it gets loaded?
    What i'm trying to do exactly is this: When the login.jspx page runs the "success" navigation case, it goes to "page1.jspx". But before "page1.jspx" is loaded, i need to run an Application Module method to check for a certain situation; if this criteria is not met, i must run "fail" navigation case, from "page1.jspx" to "page2.jspx" without ever displaying page1.jspx.
    Is it clear enough? Can you guys give me some pointers on how to do it?
    Thanks a lot!
    Thiago

  • Adfbc with stored procedure

    Is it possible to create ADFBC view object with a pl/sql stored procedure with an OUT variable ? Any examples ? JDev1013 here
    Thanks

    Considering that all you seem to want to do is call a stored procedure and return a single OUT parameter, I'm not sure why you want a view object at all. Why not implement a method in your application module's implementation class that returns that single value? Any public method that is exposed for clients in an application module is available in the data control created from that module.
    Here is sample code from one of my application module implementation classes:
    public String getCurrentState() {
        String currentState;
        try {
            CallableStatement s =
                getDBTransaction().createCallableStatement("BEGIN ? := SYS_CONTEXT('TEDS_CTX','CURRENT_STATE'); END;",
                                                           1);
            s.registerOutParameter(1, Types.VARCHAR);
            s.execute();
            currentState = s.getString(1);
            s.close();
        } catch (SQLException e) {
            throw new JboException(e);
        return currentState;
    }Mine calls a function, but you can just move the question mark to the position of the OUT parameter in your stored procedure and get rid of the assignment operator. You can also add IN parameters.

  • ADFBC JTree Master-Detail view

    Hello, I am using Jdeveloper 10.1.3.3. with ADFBC.
    I have table ORGUNIT with following fields:
    1. ID_ORGUNIT
    2. NAME
    3. ID_PARENT_ORGUNIT
    I have created Entity and View for this table, and ViewLink which is used for fields ID_ORGUNIT and ID_PARENT_ORGUNIT.
    In short, I am trying to create JTree which contains data about organizational units.
    Let's say these are my data:
    1. "ADM" "ADMINISTRATION" "NULL"
    2. "FIN" "FINANCING DEPARTMENT" "NULL"
    3. "FIN1" "FINANCING DEPARTMENT - XXX" "NULL"
    4. "FIN2" "FINANCING DEPARTMENT - YYY" "NULL"
    5. "DEV" "DEVELOPMENT DEPARTMENT" "NULL"
    So, I want to use JTree to create hierarchy:
    ADM
    I--FIN
    I I--FIN1
    I I--FIN2
    I
    I--DEV
    The problem is, when I create view link previously described...I get all data from view with their descendants...
    ADM
    I--FIN
    I I--FIN1
    I I--FIN2
    I
    I--DEV
    FIN
    I--FIN1
    I--FIN2
    FIN1
    FIN2
    DEV
    Can anyone help me? What could be the problem?

    Hi John,
    Thank you for your assistance.
    Just to confirm the details of what I have.
    Master VO: CustomerVO (based on customer table) correct!>Child VO: A VO based on a join between preferences and customer_preferences. (i.e. base your VO on two EO's) correct!what I have is a customer VO based on a customer EO, a customer_preferencesVO based on a customer_preferencesEO and a preferencesVO based on a preferencesEO.
    View links exist between customerVO and customer_preferencesVO and again between preferences and customer_preferences thus facilitating a many-to-many relationship.
    so what I'm trying to do is construct a master detail view between customers and preferences . I figured that in order to achieve this I would need to create two new VO instances, one for customers and one for preferences and then to probable use a statement in the where clause so that only preferences are returned for customers on the current row where a relationship exist via the customer_preverencesVO.
    This is where I'm struggling in understanding how best to implement this.
    All I want is a mechanism whereby when I come to use a tree view component in my UI model I will have a node that will display preferences.
    Thanks again,
    Gary

  • Possible to customize #{bindings.Delete.enabled} checks at ADFBC level?

    11g ADF Faces w/ADFBC
    Is it possible to customize the checks for a Delete binding at the underlying EntityImpl or ViewRowImpl level?
    On my page I have a table within a panel collection. On the panel collection's toolbar I have a button tied to a Delete operation on the iterator that provides the table data.
    I want the Delete button to be disabled for certain rows based on various data checks. (In my case, checking to see if the DB row is referenced elsewhere in the DB.) Is there some EntityImpl or ViewRowImpl method I can override to perform this check?
    (I know I can override remove() to check and throw an exception, but this would occur after the user has pushed the button in the web page.)
    (I also know I can get the desired effect to work by creating a method on a backing bean to grab the selected row from the table and invoking my custom checking logic on it. However, I wondered if there was a better way to work with the ADFBC framework to accomplish this.)
    Thank you for reading my question.

    One way of doing it might be to create a transient attribute in your VO that returns true or false based on whether the row can be deleted.
    Then in your page have the disable property of the button based on the value of this transient attribute.

  • JDev11g: ADFBC EO "collection" validator - anybody have this working?

    Hi gang
    I'm having a play with the new ADFBC entity object "collection" entity-level validator in JDev 11g as described in the Fusion Dev 11g guide section 7.4.14. Has anybody got this working? I can't seem to get any accessors or attributes to appear in the relevant poplists for this validator, even though I've created an accessor between my 2 EOs. I'm thinking I've done something wrong here.
    Regards,
    CM.

    In order for it to appear in the list of Accessors the Association between the EOs must be defined as a Composition Association.
    Penny

  • View Message with ADFBC Bussiness Rules

    Hi,
    I am working with SOA ADFBC and Bussiness Rules and I developed the example set by oracle but I need to know how to display the message contained in my Class Message_Action on my website.
    Thanks for your help.

    Hi vicente
    ¿¿Mi first question is: when I have to call this .lgf???
    You call it when if you need to run it! as simple as that!
    ¿¿¿is automaticlly invocated when datas are sent to the server and when I execute "Data Manager package " such as I see in the manual?????
    It can be called automatically if you put it in the default logic
    OR
    You can call it "manually" in running a data manager package
    "what is Data Manager package "??
    simple answer: A data manager package is used to call logics.
    (you can tweak it in going into excel in Edata > organize package list) I think i wrote a post how to do this...
    By default there are many packages running ligics thats "clears data", "copy data", move data"....
    What is the business rules library? ( I have a vocabulary problem
    I can use MDX or SQL to script logic???? for what??? script logic are not the fields which call files.lgf????
    Yes you can use MDX or SQL logic. Even is MDX not advised.
    You can do many data transformation with this!
    script logics are stored as LGF files in the system and then turn (when validated) in LGX. Do a search on yoru server to look for those files... but dont touch them if you dont know what they mean...
    Hope this helps
    Nic

Maybe you are looking for

  • Did Apple Security Update 2007-004 break your iWeb? Can't post to .Mac

    iWeb now will not publish to .Mac for me rather suddenly. The pages prepare, I can publish to a folder, but not to .Mac. The security update is the only thing I can think of that has changed. I have tried all other suggestions listed in this forum. T

  • TNS-12560: TNSrotocol adapter error

    Iu2019m installing SAP ERP 6.0 on a Windows server 2008 with Oracle 10.2.0.4.0. First of all I installed the Oracle software by means of Oracle Universal Installer.Then I used the Sapinst tool. At the step u201CConfigure Oracle server Networku201D I

  • For all the disgruntled 3G users

    For everyone who has updated to iOS4 and are experiencing problems running it on their 3G handsets. Let Apple know by filling in this simple form as obviously they're not browsing the forums! http://www.apple.com/feedback/iphone.html

  • Problems with resetting my iPhone 5 (iOS 7.1.2)

    Good afternoon, I just updated my account regarding a new e-mail address, a new password, new security questions etc. After that, I wanted to reset my iPhone 5. I tried resetting it directly on my phone which did not work out because in the end, you

  • How to Update Owner Information 8300?

    hello All, I have an 8300 Curve which was previoulsy on an Enterprise Server.  After finshing employment it is now linked to my individual email account but no matter what I try I can't update the Owner Information which will display when the phone i