Skip to main content

JDeveloper 11.1.1.4.0

Ok so I have upgraded to the new version of JDev today, all seems good.
Let the fun and games commence. Will update this post once I have anything I spot.

Hmmn Gridlink Datasource and MultiData Source lots of reading up to do.
New Entitlement Grants in jazn look good.

Our applications seems to be working as before...

Spoke to soon :
1) java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: defaultSelection
A) Dont map a bind variable with a default to a transient attribute in VO.

2) oracle.security.idm.ObjectNotFoundException: No User found matching the criteria
A) Think this is to do with the fact that our provider is the first in the list. Will investigate later as it has no impact.

3) One Screen is now vastly slower.
A) Make sure your tuning parameters are set this fixed it for me.

4) When trying to run one of our sub projects stand alone: oracle.adf.controller.security.AuthorizationException: ADFC-0619: Authorization check failed: 'oracle.jbo.uicli.binding.JUFormDef@192172f' 'VIEW'.
A) ???

Comments

  1. Haven't you faced the problem 2 ("No User found matching the criteria") on Jdev 11.1.1.3 ? I haven't upgraded to 11.1.1.4 yet, but I'm already getting this exception, since I have a custom authenticator in the providers list (and all of them are SUFFICIENT). Any ideas?

    ReplyDelete
  2. Hi Tomy,

    Havent got his on 11.1.1.3 but here is my config used on 11.1.1.3 and I didnt get the error:

    1) Added my custom authenticator
    2) Moved the my authenticator to the FIRST provider in the list.
    3) Marked it as SUFFICIENT
    4) Marked only the DefaultAuthenticator as SUFFICIENT.

    This worked for me. If this doesnt help answer the following questions for me:

    1) Is this error preventing you from logging in?
    2) Have you configured any other providers in your providers list.
    3) Your jazn-data.xml may not be configured correctly

    ReplyDelete
  3. Thanks! What should we do if we have to map a transient attribute to a Bind variable in a ViewCriteria?

    ReplyDelete

Post a Comment

Popular posts from this blog

ADF sort of generic screen for tables with the same structure

We have a couple (about a hundred) of tables with the same structure (Code, Description, Create Date, Update Date). So I wanted to do something simple so that I did not have to create all these screens 1) EO   I created the EO based on one of the tables I had that had the above columns. I then Added a transient attribute called table name to my EO based on a groovy expression. (the expression needs to change as I am reading web tier stuff from the model layer but I will fix this later) I then generated a java class for my EO. And added the following overriden method to my newly created java class. protected StringBuffer buildDMLStatement(int i, AttributeDefImpl[] attributeDefImpl,   AttributeDefImpl[] attributeDefImpl2, AttributeDefImpl[] attributeDefImpl3, boolean b) {   StringBuffer statement = super.buildDMLStatement(   i, attributeDefImpl, attributeDefImpl2, attributeDefImpl3, b); return new StringBuffer(StringUtils.replace(statement.to...

Util code

public static MethodExpression getMethodExpression( String expr, Class returnType, Class[] argTypes){ FacesContext fc = FacesContext.getCurrentInstance(); ELContext elctx = fc.getELContext(); ExpressionFactory elFactory = fc.getApplication().getExpressionFactory(); return elFactory.createMethodExpression( elctx, expr, returnType, argTypes); } public static javax.faces.el.MethodBinding getMethodBinding( String expr, Class[] argTypes){ FacesContext fc = FacesContext.getCurrentInstance(); ELContext elctx = fc.getELContext(); return fc.getApplication().createMethodBinding(expr, argTypes); } SetPropertyListener listener = new SetPropertyListener( ActionEvent.class.getName()); listener.setFrom(link.getRoute()); listener.setValueExpression("to", JSFUtils.getValueExpression("#{pageFlowScope.route}", String.class)); action.addActionListener(listener); AdfFacesContext.getCurrentInstance().getPageFlowScope() .put("route", lin...

MANIFEST.MF merge JDeveloper for an executable jar

Goto your project > properties. Then click on deployment in the menu. Edit or add a jar deployment profile. Fill in the details under jar options (select Include manifest and give it a main class name) Also remember that the merge functionality only works with a BLANK line at the end of the merge file. REALLY this caught me. My merge file contents: Class-Path: commons-codec-1.3.jar [...empty line here CRLF...]