Fetching lazy attribute problem

Hi all.
I have a simple question.
How can i get an unfetched value of an entity attribute marked in my jpa as
+@Basic (fetch = FetchType.LAZY)+
+@Column(name="DEPARTMENT_NAME", nullable = false, length = 30)+
private String departmentName;
when i try to use a getter method in a client unit:
SessionEJB sessionEJB = (SessionEJB)context.lookup("EJBAppEx1-Model-SessionEJB#geo.model.SessionEJB");
List<Departments> f = (List<Departments>)sessionEJB.getDepartmentsFindAll();
Departments d10 = f.get(10);
String name = d10.getDepartmentName();+
i get the error:
java.lang.IllegalStateException: Cannot get unfetched attribute [departmentName] from detached object geo.model.Departments@a22e0c.
     at org.eclipse.persistence.internal.queries.EntityFetchGroup.onUnfetchedAttribute(EntityFetchGroup.java:92)
     at org.eclipse.persistence.internal.jpa.EntityManagerImpl.processUnfetchedAttribute(EntityManagerImpl.java:2360)
     at geo.model.Departments._persistence_checkFetched(Departments.java)
     at geo.model.Departments._persistence_get_departmentName(Departments.java)
     at geo.model.Departments.getDepartmentName(Departments.java:65)
     at geo.model.SessionEJBClient.main(SessionEJBClient.java:22)
Thanks in advance. Alex

Hi,
this is a JPA-Provider specific question. From the stacktrace I assume you are using eclipseLink. The exception could have many reasons.
Checkout this forum: http://www.eclipse.org/forums/index.php?t=thread&frm_id=111

Similar Messages

  • I have a problem when i use fetch LAZY

    Hi All
    i have faced a problem when i have tried FETCH LAZY instead of FETCH EAGER
    The problem is the table generator return null instead of valid primary key value
    I dont get what is the problem every thing is ok With the FETCH EAGER
    please help me in this problem either by give me a directions to solve this problem or give me an example about FETCH LAZY
    Hassan Kbbewar.

    i need a complete example of ejb with fetch lazy relationship ...

  • Fetch Product Attributes using get_extension

    Hello TechGurus,
    I am executing BOL Query 'IsuOrderItemQuery' by passing 'CA_number' which is giving me list of ISU Contracts. Now for each contract's product , I need to fetch product attributes (Custom).
    I am trying to fetch the same using class method cl_crm_isu_order_info=>get_extension. I am passing item GUID to this method along with attribute name as a object name but I am failed to fetch the value of the attribute.
    I am using below code.
        cl_crm_isu_order_info=>get_extension( EXPORTING iv_guid        = l_wa_ser_contr-guid "contains item guid
                                                    iv_object_name = 'ZDEVICE_CR_PP'
                                          CHANGING  ct_extension   = <it_extension> ).
    What may be the reason behind this? Any pointers towards this will be appreciated
    Thanks in Advance,
    Prashant

    Hi,
    Solved...
    Please use below method : Pass product GUID which can fetch from table comm_product.
      CALL METHOD cl_crm_isu_extension=>get_available_fields
        EXPORTING
          iv_product_guid     = p_l_wa_ser_contr_product_guid
        IMPORTING
          et_extension_fields = p_lt_ext_values_prod
        EXCEPTIONS
          error_occurred      = 1
          OTHERS              = 2.
    Thanks,
    Prashant

  • ERMS Attribute "Problem Status" not picking up value in Mail Form

    Hi All,
    As per the current system, we have a mail form where we have added an attribute "Problem Tracking Text" and it inserts the Problem record number in the outgoing email.
    Currently we need to add another attribute, "Problem Status". But when this is added to the Mail form, it does not pick the status in the outgoing email.
    "Problem Status" attribute is maintained under E-Mail Response Management System -> Define Repository
    What other configuration is missing. Please advise.

    Issue is resolved. For those who might face this issue in future-
    Problem Status is automatically stored in Fact Base. There is no need to have them as text in the email.
    One can directly add them in rule policy. It was not working for us because Fact Base it was stored as E0005 and in Rule policy it was stored as Completed. Once we changed the input value for rule policy to E0005, it works perfectly.

  • Navigational Attribute Problem in Input Query

    Hi,
    I am having a problem in input query implementation which uses a navigational attribute. I have, for eg, only one char 'customer' in rows; i want to exclude the customers with the status D (deleted) from displaying (Status is nav. attr. of customer).  I tried this by restricting in filter, Status D-"exclude". But as soon as I do this, query no longer remains input ready! (I also tried putting the same restriction in Default Values area rather than Filter, but ended with the same result )
    I discovered that if, furthermore, I put Status in rows (with the above said restriction still remaining), query is again input ready.
    Can't we exclude values in the filter on an input query? I want to know if this is a restriction with IP or a bug?

    Hi Gregor,
    Thanks for the explanation. But this makes me wonder, because due to this restriction one of the BIG advantages queries had over the planning layouts of BPS, seems to be gone. I mean, using navigational attributes for filtering; if we have to always have a single value restriction on a nav. attr., this will really be restricting. Is it expected that this will be changed in a later SP?
    And there is another problem that is coming due to this. When I use the exclude filter and also the nav. attr. Status in rows, then the query becomes input ready, but there are warning messges displaying when the query opens saying -
    Characteristic Customer has no master data for "C1"
    Characteristic Customer has no master data for "C2"
    etc... (these are the customers with status D). We are on SP15.
    Please suggest what should I do to get rid of these messages?
    Edited by: Mayank Gupta on Apr 10, 2008

  • Saving VO attributes Problem

    Hi,
    my requirement is to extend VO to include Dff attributes to hold dates.
    SO i substitute the vo , add Dff attrributes and transient attributes.
    In my CO ProcessRequest i :
    1.iterate through VO
    2.read VO Attribute1(Dff Attribute1) parse it, and put it XXScheduledStartDate(transient Date type).
    3.read VO Attribute2(Dff Attribute2) parse it, and put it XXScheduledEndDate(transient Date type).
    In my CO ProcessFormRequest i :
    1.iterate through VO,
    2.read VO XXScheduledStartDate(trasient Date type) , and put it VO Attribute1(Dff Attribute1).
    3.read VO XXScheduledEndDate(trasient Date type) , and put it VO Attribute2(Dff Attribute2).
    Until now it worked OK.
    My Problem is that i need to add logic in ProcessFormRequest to enable clear the dates,
    updating XXScheduledStartDate/attribute1,XXScheduledEndDate/attribute2 to null.
    After i add the logic(if) to handle, it stop work, sometimes the changes saved and
    sometimes not.
    if i remove the if from the code it returning work OK.
    Please Help.
    Thanks,
    My code in ProcessRequset is
    RowSetIterator RowIt1 = AssigneeVO1.createRowSetIterator("RowIt1");
    RowIt1.setRangeStart(0);
    RowIt1.setRangeSize(lineRowCount1);
    for(rowIndex1=0; rowIndex1<lineRowCount1; rowIndex1++)
    if (AssigneeRow1!=null&&AssigneeRow1.getAttribute("XXScheduledStartDate")!=null&&!"".equals(AssigneeRow1.getAttribute("XXScheduledStartDate")))
    ScheduledStartDateS = (String) AssigneeRow1.getAttribute("XXScheduledStartDate").toString();
    AssigneeRow1.setAttribute("Attribute1",ScheduledStartDateSF.toString());
    //New code to clear attribute
    if (AssigneeRow1!=null&&(AssigneeRow1.getAttribute("XXScheduledStartDate")==null || "".equals(AssigneeRow1.getAttribute("XXScheduledStartDate"))))
         AssigneeRow1.setAttribute("Attribute1","");
    // Set Attribute2 Attribute
    if (AssigneeRow1!=null&&AssigneeRow1.getAttribute("XXScheduledEndDate")!=null&&!"".equals(AssigneeRow1.getAttribute("XXScheduledEndDate")))
    ScheduledEndDateS = (String) AssigneeRow1.getAttribute("XXScheduledEndDate").toString();
    AssigneeRow1.setAttribute("Attribute2",ScheduledEndDateSF.toString());
    if (AssigneeRow1!=null&&(AssigneeRow1.getAttribute("XXScheduledEndDate")==null || "".equals(AssigneeRow1.getAttribute("XXScheduledEndDate"))))
         AssigneeRow1.setAttribute("Attribute2","");
    RowIt1.closeRowSetIterator();
    trxn.commit();

    Try resetting your preferences using one of the methods below (reinstalling the software does not reset the preferences).
    Reset Preferences
    http://forums.adobe.com/thread/375776
    1) Close the program and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (not reversible)
    or
    2) Move the Folder. See:
    http://www.bugge.com/Family-and-friends/Illy/illy.html

  • Attributes Problem in Business Object

    Hi,
    We had a requirement of creating a new Business Object with a couple of attributes(both Database and Virtual Attributes)
    So, as per the requirement, I created my Business Object with all the required attributes. And I have coded the required Business Logic for my Virtual Attributes.
    Now, I created my Business Object's method's using these attributes(OBJECT-ATTRIBUTE_NAME) in my methods wherever required.
    Finally, I tested the Business Object in SWO1(Business Object Builder), here are my observations...
    1) The Database attributes is getting created properly and I can see the values for the required
    2) The Virtual Attributes are getting created as per the Business Logic and I can see the desired result for this also.
    3) The methods are giving desired results.
    Now, my doubt is, when I trigger one of this Business Object's method from workflow, the attribute values(OBJECT-ATTRIBUTE_VALUE) are not visible inside the method. But if I test the same BO using SWO1, I can see all the Attribute values(OBJECT-KEYFIELDS).
    I can only see the KEY FIELDS of the Business Object in Debug mode, I mean, I can view OBJECT-KEY-KEYFIELD value, but not the OBJECT-ATTRIBUTENAME inside the BO'S method in Debug mode-when triggered from Workflow.
    Well, I am triggering the Workflow using the SWUD transaction and infact I am creating the required Instances in the first screen of SWUD.
    Can anyone make me clear why this is happening?
    Regards,
    <i><b>Raja Sekhar</b></i>

    Hi people,
    Thanks for immediate reply.
    Well, I think I didnt explain my problem clearly...
    Well, here is my clear explanation.
    I created a new Business Object named ZOBJECT say...
    It has 3 key fields...
    PERNR(Employee Number),BEGDA(Start Date) and ENDDA(End Date)
    It has 2 attributes...
    One is a Databsase Attribute - ENAME which gets populated from database PA0001.
    Another is a Virtual Attribute - EMAILID which gets populated from some Business Logic.
    And it has one Event...ZEVENT
    It has one method...
    SENDMAIL - Which sends the email to the EMAILID Attribute.So my coding looks something like this...
    METHOD SENDMAIL.
      DATA : W_FROMEMAIL TYPE PA0105-USRID_LONG,
             W_TOEMAIL TYPE PA0105-USRID_LONG,
             W_SUBJECT(100),
            IT_TEXT TYPE STANDARD TABLE OF SOLI.
      W_FROMEMAIL = '[email protected]'.
      W_TOEMAIL = OBJECT-EMAILID.
      W_SUBJECT = 'Test Mail'.
    Populate the mail content into IT_TEXT Internal table
      call function 'YHSENDEMAIL'
          EXPORTING
            FROMEMAIL = W_FROMEMAIL
            TOEMAIL   = W_TOEMAIL
            SUBJECT   = W_SUBJECT
          TABLES
            IT_TEXT   = IT_TEXT.
    ENDMETHOD.
    So as shown above I designed my Business Object.
    And I tested this Business Object from SWO1(Business Object Builder) Transaction itself. I am able to get the desired result. Everything seems perfect till now.
    Now, I created my workflow with ZOBJECT-ZEVENT as the Start Event.
    I created one Standard Task to send EMail which in turn calls up my ZOBJECT-SENDEMAIL Method.
    So when I called this method, I found that OBJECT-EMAIL inside the method is not populated, ultimately, no mail is going.
    I dont understand why the attribute values are not populated when I call the same method from workflow.
    When I checked the workflow log, I can see my attribute values for the ZOBJECT. But in the Method, I cant access the attribute values as such...But I am able to access the Key fields of the method...
    Can anybody explain me the reason for this behavior?
    I checked the BINDING, Everthing seems perfect from this side...So I dont think it's a binding problem.
    Regards,
    <i><b>Raja Sekhar</b></i>
    Message was edited by: Raja Sekhar

  • OBIEE 11.1.1.6 SSO with OAM 11.1.1.5: OID 11.1.1.6 attribute problem

    Hi Everyone!
    I have configured a OAM(webgate)+OID+OBIEE+OHS system.
    The OBIEE is protected via OHS(weblogic module) and webgate. It is working very well.
    The OAM authenticates from OID(default user identity store).
    The *"User Search Base"* is same ( *"cn=Users,dc=mydomain,dc=com"* ) in identity store and in OBIEE's OID authentication provider too.
    The SSO is enabled in OBIEE and the providers are:
    OID (Provider that performs LDAP authentication     1.0) SUFFICIENT
    OAM Provider (Oracle Access Manager Identity Asserter     1.0) REQUIRED
    DefaultAuthenticator     (WebLogic Authentication Provider     1.0) SUFFICIENT
    DefaultIdentityAsserter
    IF the *"User Name Attribute"* is *"cn"* in OAM's user identity store and the OBIEE's OID provider's *"user name attribute"* is *"cn"* (default) too, everything is working fine.
    But I have to use *"orclSAMAccountName"* instead of *"cn"* (OAM and OID provider). And in this case I have the problem.
    In the OBIEE's OID provider are:
    All Users Filter: (&(orclSAMAccountName=*)(objectclass=person))
    User From Name Filter: (&(orclSAMAccountName=%u)(objectclass=person))
    User Name Attribute: orclSAMAccountName
    I made a test user:
    cn=test
    sn=test_sn
    orclsamaccountname=test_sama
    uid=test_uid
    krbprincipalname=test_krb
    I can authenticate with test_sama in OAM, but OBIEE say: *"You are not logged in here: Oracle BI Server."*
    The bi log shows that:
    +Default (self-tuning)'> <BISystemUser> <> <00093dFuR^HFW7PMye7i6G00052S000Tt7> <1345642607333> <BEA-000000> <javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User test javax.security.auth.login.LoginException: [Security:090300]Identity Assertion Failed: User test does not exist+
    +oracle.security.jps.internal.api.jaas.AssertionException: javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User test javax.security.auth.login.LoginException: [Security:090300]Identity Assertion Failed: User test does not exist+
    Why does search OBIEE the *"cn"* and why does not use the *"orclsamaccountname"* ?
    Any idea???
    Regards, Jani

    Hello Jani,
    This is a known issue in OBIEE 11.1.1.6.0 , Please refer to : OBIEE 11.1.1.6 Agent failed with Error Codes: IHVF6OM7:OPR4ONWY:U9IM8TAC [nQSError: 13039] The impersonator does not exist in the BI Security Service [ID 1446877.1]
    We have configured OBIEE 11.1.1.6 on Linux and using Single Sign On (SSO) with Windows Native Authentication (WNA).
    Configured AD Authenticator, selected sAMAccountName instead of CN for User Attribute. Enabled SSO in EM. When trying to access OBIEE Presentation services we have encountered the error below.
    "You are not logged in here: Oracle BI Server."
    When checking the biserver1 log file found : [Security:090300]Identity Assertion Failed: User OracleSystemUser does not exist
    After applying the patch 13553428 on top of OBIEE 11.1.1.6.0 we have successfully logged into OBIEE Presentation services.
    This works fine with OBIEE 11.1.1.5.0 and 11.1.1.6.1
    Fixed in OBIEE 11.1.1.6.1. Apply Patch 13742915.
    If you want to stay in OBIEE 11.1.1.6.0. Apply Patch 13553428.
    Let me know if this solves the Asserter issue.
    Pls mark if helpful or answered.
    Thanks,
    -SVS

  • ACS View 4.0 attribute problem

    Hello,
    I'm currently testing the ACS View 4.0 in a VMWare Environment.
    I've added 2 ACS servers who are already in production thus generate enough syslog messages.
    The problem is that the ACS Views requires a lot of mandatory attributes that are not generated by my ACS-servers. This results that the syslog messages are dropped by the ACS View Software and so the ACS View cannot make reports of it.
    I can see that if I check the server status page. There I have the red cross on the logs which means "Mandatory Attributes Not Received".
    For example: the "Bypass_Info" is mandatory, although it contains only info if MAC Auth Bypass is used. Otherwhise, the ACS does not send this attribute in the syslog (although it is configured to be sent so I would expect the ACS would send it with an empty value, like: Bypass_Info=)
    Another example is the Athor_Failure_Code which never contains a value on my ACS logs (I can see it in the internal CVS logs that it's empty).
    Does anyone know how I should make it work?

    Ensure that you configure the AAA Server attribute for all logs. If you fail to configure this attribute, ACS View drops the record while collecting data by using syslog and package.cab.
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_view/4.0/user/guide/appendixA.html#wp1004069

  • Urgent - Updating attributes problem

    Hello all,
    I am working with Oracle Database 10g Release 2 Patch 6.
    This is a piece of the complete xml file that I want to update.
    <?xml version="1.0" encoding="UTF-8"?>
    <PlantillaProyecto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.orswegimoarmada.es/ORSWE/PlantillaProyecto http://ZFNARTSGI14:8080/ORSWE/Esquemas/PlantillaProyecto/PlantillaProyecto.xsd" xmlns="http://www.orswegimoarmada.es/ORSWE/PlantillaProyecto">
      <DetallesProyecto>
        <Nombre>Prueba</Nombre>
        <FechaInicio>2006.11.02</FechaInicio>
        <Completado>0</Completado>
        <FechaFinal>0000.00.00</FechaFinal>
      </DetallesProyecto>
      <UsuariosProyecto>
        <UsuarioProyecto Tipo="Administrador de Proyecto" Estado="Habilitado">DEMOADMINPRO</UsuarioProyecto>
        <UsuarioProyecto Tipo="Usuario" Estado="Habilitado" xmlns="http://www.orswegimoarmada.es/ORSWE/PlantillaProyecto">DEMOUSUARIO</UsuarioProyecto>
      </UsuariosProyecto>
    </PlantillaProyecto>The schema PlantillaProyecto was previously registered.
    To update this file I'm using the following code:
    UPDATE PLANTILLAPROYECTO
    SET OBJECT_VALUE = updateXML(OBJECT_VALUE, '/PlantillaProyecto/UsuariosProyecto[UsuarioProyecto="DEMOUSUARIO"]/@Estado', 'Deshabilitado')
    WHERE existsNode(OBJECT_VALUE, '/PlantillaProyecto/DetallesProyecto[Nombre="Prueba"]') = 1or the next:
    UPDATE PLANTILLAPROYECTO
    SET OBJECT_VALUE = updateXML(OBJECT_VALUE, '/PlantillaProyecto/UsuariosProyecto[UsuarioProyecto="DEMOUSUARIO"]/@Estado/text()', 'Deshabilitado')
    WHERE existsNode(OBJECT_VALUE, '/PlantillaProyecto/DetallesProyecto[Nombre="Prueba"]') = 1In both cases, the oracle response is the same: 1 row updated.
    But, when I try to see the result using:
    SELECT extractValue(object_value, '/PlantillaProyecto/UsuariosProyecto[UsuarioProyecto="DEMOUSUARIO"]/@Estado')
    FROM PlantillaProyecto
    WHERE existsNode(OBJECT_VALUE, '/PlantillaProyecto/DetallesProyecto[Nombre="Prueba"]') = 1;Oracle shows me a null value or "" through TOAD and 'E/n-' if I execute the code by means of SQL*Plus for windows.
    If I want to recover the value of an element, for instance, <FechaInicio> with the code
    SELECT extractValue(object_value, '/PlantillaProyecto/DetallesProyecto[Nombre="Prueba"]/FechaInicio')
    FROM PlantillaProyecto
    WHERE existsNode(OBJECT_VALUE, '/PlantillaProyecto/DetallesProyecto[Nombre="Prueba"]') = 1;The value '2006.11.02' is shown as response in TOAD and SQL*Plus.
    Any idea to solve this problem?
    Thanks in advance,
    David.

    Hello mDrake,
    During the tests I have used the namespace also, but always with same error.
    I think, the error was in the XSD definition and how I used those the information to build the XPath.
    I defined the element <UsuarioProyecto> as following:
    <xs:element name="UsuariosProyecto" xdb:SQLName="USUARIOSPROYECTO">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="UsuarioProyecto" maxOccurs="unbounded" xdb:SQLName="USUARIOPROYECTO_COL"
           xdb:SQLCollType="USUARIOPROYECTO_V" xdb:maintainOrder="true">
            <xs:annotation>
              <xs:documentation>USER LOGIN.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:simpleContent>
                <xs:extension base="xs:string">
                  <xs:attribute name="RolUsuario" use="required" xdb:SQLName="ROLUSUARIO" xdb:SQLType="VARCHAR2">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:enumeration value="Administrador de Proyecto"/>
                        <xs:enumeration value="Usuario"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="EstadoUsuario" use="required" xdb:SQLName="ESTADOUSUARIO" xdb:SQLType="VARCHAR2">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:enumeration value="Habilitado"/>
                        <xs:enumeration value="Deshabilitado"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:extension>
              </xs:simpleContent>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>When I was creating the XML, I was using the element <UsuarioProyecto> to store the login value, for instance <UsuarioProyecto .....>DEMOUSUARIO</UsuarioProyecto>.
    After this problem, I have been reading about XPath and I could have found any examples that it use the brackets with a XPath expression to find an element in a collection, the [] only allows to especific the index of an element in a collection to select a node.
    Finally, I have rewritten the XSD and I have created another attribute for this element. Now, I can find the correct node with the XPath expression.
    Thanks for your help mDrake,
    David.
    I have another question, but I am sure that the problem is mine also.
    I create a XML based in the early XSD. This XML have a structure by levels 1, 2, 3, 4 and so on. But after I have updated the XML using appendChildXML or updateXML SQL functions, the order in the document has changed in random order, for example 4,3,1,2.
    How can I ensure the order in the xml???. I need to use the annotations maintainOrder and maintainDOM during the XSD registration process???.
    Thanks in advance mDrake and apologize for me English.
    Regards,
    David.

  • [XML] Attribute problem

    Hi,
    I have an array in $messagebody that is generated from a query of a simple database with 5 rows.  I have the data converted to XML and I'm looking to compare the values in a column to a set variable as follows.  
    ##Return all of the rows and pipe it into the ConvertTo-HTML cmdlet, and then pipe that into our output file
    $messagebody = $dataSet.Tables | select -Expand Rows | select-object  -property Service, Manufactureer, StartDate, "Contract Length", AccountNumber, Renewed, "Invoice Frequency", Cancelled, "Support Group", "Contact Name",
    "Other Information", Expired, EndDate | ConvertTo-HTML -fragment
    $threshhold = get-date
    #$threshhold=10
    $xml=[xml]$messagebody
    $rows=$xml.table.selectNodes('//tr')
    for($i=1;$i -lt $rows.count; $i++){
        $value=$rows.Item($i).lastchild.'#text'
    write-host $value
        #if($value.Length -gt 0 -and [int]$value -lt $threshhold){
        if([datetime]$value -lt $threshhold){
           Write-Host "Candidate found - setting color to red at $value" -fore green
           $attr=$xml.CreateAttribute('style')
           $attr.Value='background-color: red;'
           [void]$rows.Item($i).Attributes.Append($attr)
    $html=$xml.OuterXml|Out-String
    $style='<style type=text/css>#diskTbl { background-color: blue; }</style>'
    $body=ConvertTo-Html -head $style -body $html -Title "Disk Usage Report"|Out-String
    $body | out-file c:\test\colour.html
    The problem I have is with this part -  $value=$rows.Item($i).lastchild.'#text'.  It works but only because I have moved the column I need to the lastchild.  This works but I need to be able to query values of other columsn but need the xml
    node hieracy
    Anyone have any pointers??
    James
    Alter De Ruine

    My guerss is that this is not working the way you need it to:
    $messagebody = $dataSet.Tables |
    select -Expand Rows |
    select Service, Manufacturer,StartDate,'Contract Length',
    AccountNumber, Renewed, 'Invoice Frequency',Cancelled,
    'Support Group', 'Contact Name', 'Other Information',
    Expired, EndDate |
    ConvertTo-HTML -fragment
    It probably should be:
    $messagebody = $dataSet.Tables[0] |
    select Service, Manufacturer,StartDate,'Contract Length',
    AccountNumber, Renewed, 'Invoice Frequency',Cancelled,
    'Support Group', 'Contact Name', 'Other Information',
    Expired, EndDate |
    ConvertTo-HTML -fragment
    This should prevent an extra wrapper of HTML.
    \_(ツ)_/

  • Attributes problem

    Hi guys
    I think this is a bugs in FCS 2, never have such problems in previous version.
    I got inaccurate speed mapping when doing media manager creating online timeline from my offline edit. Basically i choose create offline from media manager and delete unused media from my sequence. The original speed of the clips is 53%, but after the new online timeline is created, it maps it to 1000% over speed which leads to unable reconnecting clips after capturing because the attributes is wrong. I have to manually paste back the attributes which is a hassle. Previous version is ok.
    Any ideas ?>
    QuadCore   Mac OS X (10.4.10)   FCS 2

    <p>Hi, thanks for your reply.  </p><p>We are using essbase 7.1 so the answers to yourquestions....</p><p> </p><p>1) Why not use +/- on company?...  </p><p> I already am using plus company codes for A & B and~ignore Company C codes.  This reflects well in the reportingas Company C is reported separately anyway.</p><p> </p><p>2) Why don't we create a new hierarchy with shared members andwhy bother with attributes?  See this is where I'm confused asI went to the essbase bootcamp and basically got told that this iswhere attributes work best and this is the kind of situation theyare created for.    Using shared members here wouldmean creating a very large duplicated hierarchy and this wouldconfuse the essbase users more than help them.</p><p> </p><p>I'm not sure if what i'm saying makes sense so if anyone elseagrees that shared members will work better here then please let meknow and I will give it a go and see hwo this works.   Ifyou have any other suggestions please don't hesitate.#</p><p> </p><p> </p><p>Thanks</p><p> </p>

  • Mapping UME attribute problem

    Hi all,
    I'm using EP SP16 with a MSADS flat hierarchy datasource.
    I've mapped the attribute "pwdLastSet" in the configuration file but when I list the "attributeNames" of my user, it doesn't exist.
    This mapping is no different than previous mapping I've mapped such as extensionAttribute, company, dn and others all done successfully.
    Can't "pwdLastSet" be mapped?
    Amit

    hie could u please paste the xml configuration file here. Also the attribute pwdLastSet is a read only attribute from ADS.

  • Attribute Problem in BPM 11g

    Hi All
    I trying to declare an attribute of type Integer in BPM 11.1.1.1 ,it is not letting me to do.Pls tell me how can i declare an attribute of type int.
    Regards....

    You try using 'Data Associations Editor' dialogue box to add new data object.
    Open properties for any task and check the Use Associations box and click the pencil to launch data associations editor. On the top RHS right click the process and add a variable of any data type.

  • Custom Tag with boolean Attribute problems

    Hi,
    I've created a simple custom tag that is expecting a boolean attribute called "disabled". In my Tag derived class I've created a setDisabled(boolean b) method and set the following in the tag descriptor:
    <attribute>
         <name>disabled</name>
         <required>false</required>
         <rtexprvalue>true</rtexprvalue>
    </attribute>I'm using a JSTL expression "${someExpression}" which, when I do a c:out on the value, returns true.
    I call the tag like this:
    <mytag disabled="${someExpression}"/>However, in my custom tag class the value is passed as false. I can get true passed in if I hard code it, but that isn't going to work.
    I've tried a number of different combinations and even read through this forum for the last 2 hours and cannot seem to figure it out.
    What am I doing wrong?
    Thanks,
    John

    TLD File, per your previous recommendation:
    <attribute>
         <name>disabled</name>
         <required>false</required>
         <rtexprvalue>true</rtexprvalue>
         <type>boolean</type>
    </attribute>My Tag class (snippet):
    public class ButtonTag extends TagSupport
      private boolean disabled;
      public ButtonTag() {}
      public boolean isDisabled()
         return disabled;
      public void setDisabled(boolean b)
        disabled = b;
    }A sample of the jsp file invoking it:
    <c:set var="result" value="${computedValue}"/>
    <ltm:button disabled="${result}"/>Regardless of the value of result, ("true" or "false") it always passes false to the setDisabled method of the button tag class.

Maybe you are looking for