Using History Columns without SecurityManager

Hi
There is a nice feature in BC4J which allows to manage history columns ("created by", "modified by") automatically. See Entity Wizard/Attribute/Checkbox "History column".
This mechanismn uses JAZN to retrive the Name of the User.
This is a nice feature as long as you use JAZN for security management. But is there a hook, which I can use, to provide the user name from a different source, like my own implementation of a (non standard) security manager? Something like a method which I can override to retrive the correct user name?
Any hints are welcome
Frank Brandstetter

As there is no setter for the UserPrincipalName, as it's propagates through JAAS, you have to use some kind of security which maps to the adf security.
Timo

Similar Messages

  • History Columns - Modified by - EL expression - JHS 10.1.3.3

    Hi,
    We dont use custom authentication implementation available in Jheadstart. We use our own user defined authentication mechanism and we set the user id information in the cookie.
    When we mark a column under "history columns - modified by", we would like to use the cookie value using an EL expression like ${cookie.ShopperCookie.value}, instead of JhsUser.JHS_USER_KEY ? Can this be possible? How do we do it?
    Or do you want us to create a new JhsUser object with this userid info and set in session when we set the user information in the cookie? Is there any other place like EntityImpl that we can create this object(jhsUser) and set it in session?
    Any pointers?
    Thanks,
    Siva

    Hi Siva,
    Apparently the current user can not be retrieved when using these adf history columns. Maybe it is relying on the JAZN JAAS provider instead of the your custom authentication method. You can try to override the mechanism of retrieving the current user information when using "ADF History attributes". Maybe some guys on the jdeveloper forum can give you some pointers on how to do that.
    JDeveloper and ADF
    Alternatively you can fill your history columns without using the ADF History functionality by extending the EntityImpl class and overriding some of it's methods. Have a look at pascal's blog for some pointers on how to do that. (google on "Pascal’s Blog » Filling audit columns automatically with ADF")
    Regards,
    Ruud Bijkerk
    JHeadstart team

  • How we generate Surrogate Keys without using identify column

    Hi All,
    How we generate Surrogate Keys without using identify column.
    Regards,
    Manish

    There are various options
    1.IDENTITY columns - simplest to implement
    2. Using NEWID(), NEWSEQUENTIALID() functions (if you want to use GUID values as surrogate keys)
    3. SEQUENCE object (if SQL 2012 and above)
    4. Using custom functions to generate keys yourself
    This is an good article which compares use of GUIDs against integers as surrogate keys
    http://blog.jonathanoliver.com/integers-vs-guids-and-natural-vs-surrogate-keys/
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to auto update date column without using trigger

    Hi,
    How to write below MYSQL query in Oracle 10g :
    CREATE TABLE example_timestamp (
    Id number(10) NOT NULL PRIMARY KEY,
    Data VARCHAR(100),
         Date_time TIMESTAMP DEFAULT current_timestamp on update current_timestamp
    I need to auto update the Date_Time column without using trigger when ever i update a record.
    Example shown below is from MYSQL. I want to perform the below steps in ORACLE to auto update Date_Time column.
    mysql> INSERT INTO example_timestamp (data)
    VALUES ('The time of creation is:');
    mysql> SELECT * FROM example_timestamp;
    | id | data | Date_Time |
    | 1 | The time of creation is: | 2012-06-28 12:37:22 |
    mysql> UPDATE example_timestamp
    SET data='The current timestamp is: '
    WHERE id=1;
    mysql> SELECT * FROM example_timestamp;
    | id | data | Date_Time |
    | 1 | The current timestamp is: | 2012-06-28 12:38:55 |
    Regards,
    Yogesh.

    Is there no functionality in oracle to auto update date column without using trigger??
    I dont want to update the date column in UPDATE statement.
    The date column should automatically get updated when ever i execute an Update statement.

  • How to display row to columns without using pivot keyword

    hi,
    could someone help me how to dispaly rows into columns without using pivot keyword and actuall my scenario is,iam having two tables with names and sample data is shown below
    ID PROJECT MID MINAME TASKID TASKNAME
    1     PROJ1     1     AA     100     PR1_TASK1
    1     PROJ1     3     CC     102     PR1_TASK3
    1     PROJ1     4     DD     103     PR1_TASK4
    1     PROJ1     5     EE     104     PR1_TASK5
    1     PROJ1     6     FF     105     PR1_TASK6
    2     PROJ2     5     EE     114     PR2_TASK1
    2     PROJ2     6     FF     115     PR2_TASK2
    2     PROJ2     7     GG     116     PR2_TASK3
    2     PROJ2     8     HH     117     PR2_TASK4
    2     PROJ2     9     JJ     118     PR2_TASK5
    2     PROJ2     10     KK     119     PR2_TASK6
    2     PROJ2     1     AA     120     PR2_TASK7
    The output should display project and count of tasks in particular milestone as shown below
    project AA BB CC DD EE FF GG HH JJ KK
    1 2 0 1 5 3 2 0 2 1 0
    2 1 2 0 2 1 0 2 4 3 1
    Thanks in advance ,
    vvr

    WITH t1 AS
    (SELECT 1 ID,
             'PROJ1' PROJECT,
             1 MID,
             'AA' MINAME,
             100 TASKID,
             'PR1_TASK1' TASKNAME
        FROM DUAL
      UNION
      SELECT 1, 'PROJ1', 3, 'CC', 102, 'PR1_TASK3'
        FROM DUAL
      UNION
      SELECT 1, 'PROJ1', 4, 'DD', 103, 'PR1_TASK4'
        FROM DUAL
      UNION
      SELECT 1, 'PROJ1', 5, 'EE', 104, 'PR1_TASK5'
        FROM DUAL
      UNION
      SELECT 1, 'PROJ1', 6, 'FF', 105, 'PR1_TASK6'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 5, 'EE', 114, 'PR2_TASK1'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 6, 'FF', 115, 'PR2_TASK2'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 7, 'GG', 116, 'PR2_TASK3'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 8, 'HH', 117, 'PR2_TASK4'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 9, 'JJ', 118, 'PR1_TASK5'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 10, 'KK', 119, 'PR1_TASK6'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 1, 'AA', 120, 'PR1_TASK7' FROM DUAL)
    SELECT id project,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'AA'
                  AND id = t_out.id),
               0) AA,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'BB'
                  AND id = t_out.id),
               0) BB,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'CC'
                  AND id = t_out.id),
               0) CC,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'DD'
                  AND id = t_out.id),
               0) DD,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'EE'
                  AND id = t_out.id),
               0) EE,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'FF'
                  AND id = t_out.id),
               0) FF,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'GG'
                  AND id = t_out.id),
               0) GG,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'HH'
                  AND id = t_out.id),
               0) HH,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'JJ'
                  AND id = t_out.id),
               0) JJ,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'KK'
                  AND id = t_out.id),
               0) KK
      FROM (SELECT DISTINCT id FROM t1) t_out
    PROJECT     AA     BB     CC     DD     EE     FF     GG     HH     JJ     KK
    1     1     0     3     4     5     6     0     0     0     0
    2     1     0     0     0     5     6     7     8     9     10As I understand, you want MID of MINAMEs displayed ? But output is not like yours.. What is exactly your requirements?

  • Not able to update history columns in Jdeveloper11.1.1.3.0

    Hi ,
    We have one ADF application that is migrated from 10g to 11g.And our application is deployed on the weblogic server.
    We are Using JDeveloper 11.1.1.3.
    we are facing some session time out issues in the application which is intermitent and whenever we leave the web page for some times, the session get timed out and page gets errored out.
    We have checked the error trace and seems after comming back to the page say around 20-25 mins and tried to update any record in the table it throws the error.
    Jan 4, 2012 4:24:36 AM com.sun.faces.application.ActionListenerImpl processAction
    SEVERE: java.lang.RuntimeException: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO PGM_USR_PERMISSIONS(PGM_USR_PERMISSION_ID,PROGRAM_ID,LST_UPD_TSTMP,LST_UPD_USR,USER_ID,PERMISSION_ID) VALUES (:1,:2,:3,:4,:5,:6) RETURNING PGM_USR_PERMISSION_ID INTO :7; END;".
    javax.faces.el.EvaluationException: java.lang.RuntimeException: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO PGM_USR_PERMISSIONS(PGM_USR_PERMISSION_ID,PROGRAM_ID,LST_UPD_TSTMP,LST_UPD_USR,USER_ID,PERMISSION_ID) VALUES (:1,:2,:3,:4,:5,:6) RETURNING PGM_USR_PERMISSION_ID INTO :7; END;".
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at com.oracle.stbpo.filter.SecurityFilter.doFilter(SecurityFilter.java:88)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.RuntimeException: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO PGM_USR_PERMISSIONS(PGM_USR_PERMISSION_ID,PROGRAM_ID,LST_UPD_TSTMP,LST_UPD_USR,USER_ID,PERMISSION_ID) VALUES (:1,:2,:3,:4,:5,:6) RETURNING PGM_USR_PERMISSION_ID INTO :7; END;".
         at com.oracle.stbpo.datamodel.appmodule.SecurityAMImpl.saveProgramUsrPermissions(SecurityAMImpl.java:1187)
         at com.oracle.stbpo.view.backing.security.PermissionListBackingBean.saveProgramPermissions(PermissionListBackingBean.java:182)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 38 more
    Caused by: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO PGM_USR_PERMISSIONS(PGM_USR_PERMISSION_ID,PROGRAM_ID,LST_UPD_TSTMP,LST_UPD_USR,USER_ID,PERMISSION_ID) VALUES (:1,:2,:3,:4,:5,:6) RETURNING PGM_USR_PERMISSION_ID INTO :7; END;".
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:582)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:7990)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6319)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3168)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2976)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2014)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2273)
         at com.oracle.stbpo.datamodel.appmodule.SecurityAMImpl.saveProgramUsrPermissions(SecurityAMImpl.java:1180)
         at com.oracle.stbpo.view.backing.security.PermissionListBackingBean.saveProgramPermissions(PermissionListBackingBean.java:182)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.oracle.stbpo.filter.SecurityFilter.doFilter(SecurityFilter.java:88)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         ... 9 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("STBPO"."PGM_USR_PERMISSIONS"."LST_UPD_USR")
    ORA-06512: at line 1
    Some how LST_UPD_USR is comming as null.
    We are Using JDeveloper 11.1.1.3.
    We have set the session time out parameter in web.xml as well as for AM.
    Attached is the problem statement doc.
    Also the behaviour is only on the weblogic server and we don't face any issues in the local set up.
    Kindly help us in solving this problem. Also let me know if any further details is required.
    Thanks
    Namit Kakkar

    Thanks John
    My Web logic server version is WebLogic Server 10.3.3.0..
    Java Version:     
    1.6.0_20
    OS Name:     
    Linux
    OS Version:     
    2.6.18-164.0.0.0.1.el5
    JACC Enabled:     
    false
    Also I have find some where that there is some issues with the Jdev11.1.1.3.0 updating the history columns.
    Further, We have migrated the application from ADF10g to 11g (11.1.1.3.0)
    and we are using trinidad tags .
    Do we have any issues with the Trinidad libraries?
    Please help me in fixing this issue.
    Thanks
    Namit.
    Edited by: 899138 on Jan 5, 2012 1:54 AM

  • Can we use WHO columns in Business Logic implementation

    Hi,
    Can we use WHO columns for business logic implementation..?
    From one table I need to pick up the latest record. I have a ActionDate column in the table which stores the date of the action.
    But on the same day there can be multiple action records. ie Multiple records have same ActionDate.
    Select * from action_table where action_date=(maximum action_date)
    The above query will return more than 1 record.
    Now can I use the Creation_Date which is a WHO column to identify the latest record..?
    Will it introduce any issues if I use creation_date WHO column?
    Usage of WHO column in application logic, Is it against the Standards ?
    Thanks a lot.

    I guess you are talking about populating the value using the history column creation_dt from EO.
    If so, you can use then. We are using them in all our applications to populate WHO columns of our table.
    Infact as far as I know, even Oracle application uses them.
    They generally populate the timestamp, so you may need to format them when doing date comparisons.
    Hope that helps.
    Amit

  • To get list of materialized views/views using a column of a table

    Hi,
        I am removing sal column from table tab_emp;
    i want to check whether any materialized view or view using this column by  querying using data dictionary :-
    if i use like condition against query column of all_mviews it is throwing error sicne it is long data type.
    is there a way to search it without creating any function and use it in a query
    Thanks,
    Ajoy

    start with select * from dictionary where table_name like '%VIEW%'
    to identify appropriate dictionary views.
    Then read: Ask Tom "Converting Longs to LOBS" and Ask Tom "Long to Varchar2 conversion.... "
    to be able to search LONG descriptions for column names.
    For example:
    create table check_table as
    select owner,view_name,text_length,to_lob(text) text_lob from all_views
    Column Name
    Data Type
    Nullable
    Default
    Primary Key
    OWNER
    VARCHAR2(30)
    No
    VIEW_NAME
    VARCHAR2(30)
    No
    TEXT_LENGTH
    NUMBER
    Yes
    TEXT_LOB
    CLOB
    Yes
    select * from check_table where instr(upper(text_lob),'SAL') > 0
    OWNER
    VIEW_NAME
    TEXT_LENGTH
    TEXT_LOB
    SYS
    USER_ENCRYPTED_COLUMNS
    147
    select TABLE_NAME, COLUMN_NAME, ENCRYPTION_ALG,SALT, INTEGRITY_ALG from DBA_ENCRYPTED_COLUMNS where OWNER = SYS_CONTEXT('USERENV','CURRENT_USER')
    Regards
    Etbin

  • Where did the History Column checkbox go?

    I am using jdeveloper 11g release 11.1.2.2.0.
    I was working through some of the storefront demo and the the instructions said.
    Open the Entity Object, Click the Attributes Tab, Select the History Column check box.
    I am unable to find a History Column check box on this version. where did it go?

    I think it is called Track Change History now - a drop down list.
    You can also look for it in the property inspector window.

  • Fact column without aggrigation at rpd level is  showing error in report

    Hi,
    in my repository fact table is there "service request".
    in that fact i have created one column and i havent given aggrigation. And i havent given levels also.
    But if i create report by using this column, it is throwing error.
    how to create messure without aggrigation and without levels?
    Thanks
    Anjireddy

    What is the error that you get?
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • I want to use variation funtion without define the characteristic...

    Dear.
    I want to use variation funtion without define the characteristic into general data selection in making report painter.
    Finally hopeful thing is, The extract data which contain that characteristic group should be used in the whole sub-hierarchy
    automatically such as I did that in general data selection.
    For example, supposing the profit center group A is composed like below,
       A
      └─ B
    └─ C
    .....└─ D
    When I make report painter, if the profit center positioned in lead column not general data,
    I can't use variation funtion in profit center. So, I must save extract data each profit center group manually. (A,B,C,D..)
    It is so uncomfortalble.(Guess the profit center group composed over hundreds.)
    You know, the profit center located in general data, I just need to extract data only once in A. Then B,C,D also saved automatically.
    Why can't do this in former case ? If possible, please let me know.

    Replace af with h.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <f:view>
    <h:messages id="m1"/>
    <h:form id="f1">
    <h:outputText value="#{inputValue}" id="ot1"/>
    </h:form>
    </f:view>

  • How to show all fileds column without scroll the report output.

    Hi,
    In my report output shows few columns and need to scroll right to see rest of fields . but i want to see all columns without scroll to right side in output.
    Please guide me how to fix the fileds in report.
    Regards.

    Hello,
    Why dont you use WAD and then switch off these properties in Webitem paging properties.
    i think that would give you more flexibility with paging,scrolling but with some extra effort of creating a WAD
    waiting for your feedback
    Regards
    Nitin Bhat

  • How can I stop recent history being displayed in history menu without stopping remembering history altogether

    I'm using the latest release (10.0) and am looking for a way to stop the history from being displayed in the History menu without turning off History, so I can still access History by going into the library.

    I suppose it would help if I knew not only what you wanted but why, as there are a few possibilities that may help.
    You may use private browsing,to stop some events being logged into the history in the first place, you may also clear items,single ones if need be.
    * see[[Clearing Location bar history]]
    * and [[private browsing]]
    You can choose whether or not to display the history as suggested options from the location bar.
    * see [[location bar autocomplete#w_how-can-i-control-what-results-the-location-bar-shows-me]]_how-can-i-control-what-results-the-location-bar-shows-me
    If you save History, then it can be displayed, I dare say there are methods of removing the button/option to display history from the UseIneterface but it would still be available from the Library.
    Another option you may consider is settng up user accounts on the Operating System for different users, or even setting up separate firefox profiles for different users on the same OS account.

  • How to enable AI(accent insensitiv) for one column without changing session

    Following is my test SQL:
    create table accent_test(col varchar2(10 char);
    insert into accent_test values('INDIA');
    insert into accent_test values('india');
    insert into accent_test values('InDiÄ ');
    Following SQL can only enable CI(Case insensitive), but can’t enable AI(accent insensitive):
    select *
    from accent_test
    where NLS_UPPER(col, 'NLS_SORT=GENERIC_BASELETTER') LIKE NLS_UPPER('INDIA', 'NLS_SORT=GENERIC_BASELETTER')
    COL
    INDIA
    india
    Upper SQL can’t return the third row ‘InDiÄ’ which includes accent character.
    I know following SQL can enable AI by changing the session. However it will change the whole session and other columns in one table:
    SQL> ALTER SESSION SET NLS_COMP=LINGUISTIC;
    SQL> ALTER SESSION SET NLS_SORT=GENERIC_BASELETTER;
    Is there any solution to enable AI for only one column without changing the session?

    convert(<Any Chinese Character>, 'US7ASCII') will all return same character '?'.might be an matter of using the right characterset:
    SQL> select 'ä' str, convert('ä', 'JA16SJIS') converted_str from dual union all
    select 'á', convert('á', 'JA16SJIS') from dual union all
    select 'â', convert('â', 'JA16SJIS') from dual union all
    select 'à',  convert('à', 'JA16SJIS') from dual
    STR CONVERTED_STR
    ä   a           
    á   a           
    â   a           
    à   a           
    4 rows selected.

  • Multi Row Selector using Generic Column Names (parse query at runtime only)

    Hi,
    I created a tabular report which had a multi row select in it - got the deleting working fine.
    Am now creating a second tabular report, but because of the SQL:
    select
    "ID",
    "ID" ID_DISPLAY,
    "RESNUMBER",
    "RESDESCRIPTION",
    decode(RESTYPE,'R','Right Party','W','Wrong Party'),
    decode(DMCFLAG,'Y','Yes','N','No'),
    decode(SALEFLAG,'Y','Yes','N','No')
    from "CALL_RESULTS"
    I have to select the option Use Generic Column Names (parse query at runtime only) otherwise I cannot save the form.
    My problem is I am now unable to add a multi row selector to the tabular form. If I do and run the form I get the following error - failed to parse SQL query: ORA-00904: "COL11": invalid identifier. Also when I go back and edit the form the multi row selector has been removed.
    Can anyone tell me why I can't add a row selector like I previously could?
    Regards
    Simon

    Arie,
    I added aliases and to the decode columns, and I can now add a row selector to the form without any problems.
    Thank you very much for your help.
    Regards
    Simon

Maybe you are looking for

  • HT4061 how can i transfer ringtones from one iphone to another

    How can I transfer ringtones from one Iphone to another

  • Windows 8 Hard Drive Migration from X201T -- X230T

    Hi, I'm currently in the process of getting my X201T replaced under warranty and getting an X230T as a replacement system. I had originally upgraded my 160gb HD in my X201T to a 750gb HD and have Windows 8 Pro WMC 64-Bit installed and licensed. There

  • Oracle Service Bus 11g { for financial services }

    Latest version available of ORACLE SERVICE BUS FOR FINANCIAL SERVICES is 10gR3 (10.3.1.0) and that of ORACLE SERVICE BUS is 11.1.1.3.0 Are features provided in OSB FOR FINANCIAL SERVICES { like support for specific message formats and protocols such

  • Why XPath didnot work with Namespace ?

    Dear all, When I parsing a xml document with Namespace by XPath , it didnot work well , but if I remove the part of Namespace , it worked well , I am not sure if I processed with right steps , any help is appreciated : My parser : jdom-b9 jdk : 1.4.1

  • Apple: Please add GPS and non-Nike workout apps to Nano

    Apple, I've bought three earlier incarnations of the Nano, but stopped upgrading after the 4th gen, when the product lost versatility. Among other things, please consider adding GPS capability and the ability to load non-Nike workout apps such as Run