Resolving fanthom references

When Kodo resolves a reference to an object which does not exist in a
database any more it returns null. Is it right behavior or should it throw
an exception the same way as getObjectById() does?

Hi Alex,
This looks like a similar condition to the one described in the "Orphaned Objects" thread.
David Ezzio
Alex Roytman wrote:
>
When Kodo resolves a reference to an object which does not exist in a
database any more it returns null. Is it right behavior or should it throw
an exception the same way as getObjectById() does?

Similar Messages

  • Resolving External References ....in a package

    hi all..
    Resolving External References in IR Subprogram
    CREATE PROCEDURE above_salary
    (emp_id IN NUMBER)
    AUTHID CURRENT_USER
    AS
    emps NUMBER;
    BEGIN
    -- External reference is resolved in schema of current user:
    SELECT * FROM employees
    WHERE employee_id = emp_actions.num_above_salary(emp_id);
    -- External reference is resolved in schema of owner of above_salary:
    emps := emp_actions.num_above_salary(emp_id);
    DBMS_OUTPUT.PUT_LINE
    ('Number of employees with higher salary: ' || TO_CHAR(emps));
    END;
    CALL above_salary(120);
    what are the security reasons for which the references is behaving as above..
    thanks in advance
    gud day

    SELECT * FROM employees
    WHERE employee_id = emp_actions.num_above_salary(emp_id);
    in the above statement package emp_actiosns called indirectly from a select statement ....and while executing the package above_salary which is calling emp_actions..
    the resolution of the name is by currentuser.emp_actions....(INVOKER RIGHTS)
    BUT..
    emps := emp_actions.num_above_salary(emp_id);
    DBMS_OUTPUT.PUT_LINE
    ('Number of employees with higher salary: ' || TO_CHAR(emps));
    in this statement while executing the above salary package .....the package empaction is resolved as owner.emp_action(DEFINER RIGHTS)
    WHY IS THIS DIFFERENCE IMPORTANT..WHAT ARE THE SECURITY REASONS BEHIND IT

  • Resolve self-reference table by alias tables in detail

    Hello Gurus,
            can you tell me how to resolve self-reference table by alias tables in detail?
    Many thanks.

    Hello, for the following step 3, I don't understand, will you please give me some explanation for step 3?
    Save your Staff universe, and test the results in Web Intelligence Rich Client as follows:
    1. Run a query using Manager and Employee. Add a count on both columns.
    2. Add a query with only the Manager object. Add a count. Is this the correct value?
    3. Open your Staff universe in Universe Designer and edit the Manager object. To ensure
    that the data is restricted to only manager data, use the Tables button. Select the
    EMPLOYEE table, to force the object to use the join between the table and restrict the
    data.
    4. Test the result, creating a new query with only the Manager object. It returns the correct
    number of managers.
    5. Edit the query and add Employee. Run and display the count. There are 26 rows. Why?
    The join restricts the data to look only for employees that have managers. However, there
    is a manager that does not have a manager, and is now excluded.
    6. Open your Staff universe in Universe Designer and add an outer join on the MANAGER
    table side.
    7. Save the changes and test the results in Web Intelligence Rich Client.

  • How to avoid resolving character references

    Hi,
    Let's say an xml content contains > -- character reference for (>). After being parsed by DOMParser and processed by XSLProcessor along with a stylesheet, in the end, this character reference is completely resolved to ">". How would I be able to stop this transformation from resolving character reference or only let it resolve to a unicode such as >.
    Prompt help is highly appreciated!
    Frank.

    You cannot prevent character entity resolution to the best of my knowledge.
    What the use case for wanting to do this?

  • Resolving data-reference at runtime ( cl_abap_typedescr)

    Hi all,
    At runtime, I need to find out if a data-reference of created data
    refers to a data-element or not.
    In will give you an example of what I mean:
    data: dummy         TYPE bukrs,
          descr_ref     TYPE REF TO cl_abap_typedescr,
          descr_datael  TYPE REF TO cl_abap_elemdescr,
          p_datael      type string value ''.
    descr_ref = cl_abap_typedescr=>describe_by_data( dummy ).
    MOVE descr_ref ?TO descr_datael.
    p_datael = descr_datael->help_id. "p_datael has now value BUKRS
    How is this done, if we work with a datareferences?
    I'm pretty sure it should be feasible - but I'm stuck here...
    Task: same as above - find out data-element of dummy.
    data: dummy         TYPE ref to data,
          descr_ref     TYPE REF TO cl_abap_typedescr,
          descr_datael  TYPE REF TO cl_abap_elemdescr,
          p_datael      type string value ''.
    create dummy type bukrs.
    descr_ref = cl_abap_typedescr=>describe_by_data( dummy ).
    "descr_ref->type_kind this time indicates, that we work with referenced data.
    "How to progress from here on?
    Thanks in advance. Points will be granted if issue can be solved!

    Hello Edwin
    The sample report ZUS_SDN_RTTI_DATA_ELEMENT shows how to address your question.
    *& Report  ZUS_SDN_RTTI_DATA_ELEMENT
    *& Thread: resolving data-reference at runtime ( cl_abap_typedescr)
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="770681"></a>
    REPORT  zus_sdn_rtti_data_element.
    DATA: gdo_dummy         TYPE REF TO data,
          go_typedescr      TYPE REF TO cl_abap_typedescr,
          go_elemdescr      TYPE REF TO cl_abap_elemdescr,
          p_datael      TYPE string VALUE ''.
    PARAMETERS:
      p_rolln   TYPE  rollname  DEFAULT 'BUKRS'.
    START-OF-SELECTION.
      CREATE DATA gdo_dummy TYPE (p_rolln).
      go_typedescr = cl_abap_typedescr=>describe_by_data_ref( gdo_dummy ).
      go_elemdescr ?= go_typedescr.
      IF ( go_elemdescr->kind = cl_abap_elemdescr=>kind_elem  AND
           go_elemdescr->help_id = 'BUKRS' ).
        MESSAGE 'Is of TYPE BUKRS' TYPE 'S'.
      ELSE.
        MESSAGE 'Is not of TYPE BUKRS' TYPE 'S'.
      ENDIF.
    END-OF-SELECTION.
    Regards
      Uwe

  • Resolve Checklist Reference

    Hi,
    While creating a new project if one uses the Checklist Templates & wants the details of the checklist items to be seen in the project structure, he/she has to set the flag for "Resolve Checklist Reference" on the home page.
    Is there a way that this flag can be set by default?
    Regards
    Deepak

    Hi Bjorn,
    Thank you very much for all your help & replying patiently to all my querries. I succeeded, at last, in resolving the issue, rather "Resolve Checklist Reference".
    For everyones benefit I am putting below the steps to be followed for defaulting the flag:
    1. Call the report BSP_CUSTOMIZE in transaction SE38. Using the report for the BSP application cProjects, create a new BSP application in  the customer namespace:  Decide where you want to make the changes, and enter cprojects, cprojects_cp, or prp (In our case for checklist reference it is cprojects) under Name of Application and a name in the customer namespace, “z_.....” as the new name.
    2. Select “Copy Application” from the selection screen. Click “Execute (F8)”
    3. Copy the view "toolsprj.bsp". Assign a package & create a workbench request.
    4. Open the customized BSP application “z_.....” in transaction SE80.
    5. Double click on the toolsPrj.bsp, under views of your customized application & insert the following code:
    <htmlb:checkbox id      = "resolve"
                                onClick = "resolve"
                                checked = "X"
                                tooltip = "<%= otr(development_projects_ui_bsp/resolve_checklist_ref) %>" >
                </htmlb:checkbox>
    6. Then copy the 2 controllers Tools.do and error.do from cprojects to yout own "z......" BSP application.
    7. Activate both the controllers & BSP page toolsPrj.bsp
    8. Activate your change and activate your own application using the BSP_CUSTOMIZE report. You can check this, by searching for CPROJECT in the BSP_APPLC table.
    Table BSP_APPLC
    SAPAPPL      CUSAPPL     ACTIVE
    CPROJECTS    Z......     X
    Here you should find the entry above activated.
    After doing the above settings, when you open your cProjects browser & create a project, you would see that the Resolve Checklist Reference flag is set by default.
    Regards
    Deepak

  • Unable to resolve a reference to a  variable

    I am having an error message telling me that it is unable to a resolve a reference to a variable when I try to query a certain data block. I have debugged the form and have made certain that the correct variables are in the form. Why am I getting this error? Here is my code:
    Declare     
         n_proj_id t_assignment.proj_id%TYPE := NULL;
         n_con_id t_consultant.con_id%TYPE;
    begin
         n_con_id := :t_consultant.con_id;
         SELECT proj_id
         INTO n_proj_id
         FROM t_consultant
         WHERE t_consultant.con_id = n_con_id;
         IF n_proj_id IS NOT NULL THEN
              Set_Block_Property('t_assignment', ONETIME_WHERE, 'proj_id = :n_proj_id');
              go_block('t_assignment');
              execute_query;
         END IF;
    end;

    it's the n_proj_id variable that can't be reference. Just wanted to clarify.

  • "Couldn't resolve the reference' when opening file

    I am trying to open a WB file that I have copied from another drive. As it looks through the new drive searching for all the media, it keeps giving me this message about not being able to 'resolve the reference' when trying to relink with the media. What causes this and how can I fix it?

    If the file doesn't contain Audio data, but merely refers to it (as is quite common & an option you can choose if you don't want to duplicate Audio files), then it needs to know where those Audio data files are. And if you've moved them or deleted them, it won't be able to find them… hence the message. If you know where those files are, you can put them back where they were previously, & that might fix things. Or — simply make a new file.
    You may prefer in future to save the files with the audio data included. Of course, you will get a much bigger file, but it will be self-contained & you won't get this problem again.
    P.S.: of course, you said it yourself (& I didn't notice at first) — you copied this WB file from another drive. So of course the audio files you want are still on that other drive! Hooray!

  • Could not resolve this reference. Could not locate the assembly "MySql.Data, Version=6.8.3.0

    I am getting the subject error message when I try to compile, using VS, a VB Forms app which I had been developing on a desktop machine but which I am now developing on a laptop.  I am using exactly the same VS files as they are in Dropbox.  (And
    incidentally I no longer have access to the desktop machine.)
    The subject error message points to:  Imports MySql.Data.MySqlClient
    I have been down this path before and can usually, eventually, resolve it by installing something and then creating a reference to the right dll.  For me that's an iterative process as it's not always obvious, to me, what I need to install and which
    file needs to be referenced.  
    But the only help I am seeking from this groups is:  What makes VS think that it needs "Version=6.8.3.0"?  I am pretty certain that I never told it that it needed that version.  And how can I change its mind so that it will compile
    using a different version? 
    I keep telling it to use 
    ... but it doesn't like it and I don't know if the problem is that it's the wrong version or if the problem is that it doesn't contain the right stuff.
    Thanks for whatever guidance anyone can offer.
    Thanks,  Bob

    The version shown here does not say that this is the version that is required, it indicates the version of the assembly that was referenced.
    What will determine the version that is required, or if a specific version is required, will be the properties that you set on the reference, which can be viewed by clicking on the reference in Visual Studio and setting "Specific Version" to true
    or false, the software in question and if the signatures match up to what you are binding to.
    Now, for your specific issue, I tend to add a NuGet reference for SQLite and it makes updating versions, and maintaining specific version requirements, much nicer than using a globally installed version of the SQLite libraries.
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.
    Thank you very much TSoftware.  Especially for telling me about "Specific Version" - I changed that to false and they the app compiled.  Thanks very much.  Bob

  • XSDBuilder fails to resolve DTD references

    I am evaluating XDK 9.2.0.5.0 for Java and have encountered a problem
    with XML Schema support.
    I am using XSDBuilder to build an XMLSchema object from several .xsd
    files. The main .xsd file is secext.xsd, and this file imports other
    .xsd files. I assign an EntityResolver to the XSDBuilder so that all
    imported schema files will be read from my local file system, rather
    than being retrieved from the Internet.
    XSDBuilder does call my EntityResolver to resolve the import
    statements in the XML Schema files; however, it fails to call my
    EntityResolver to resolve XMLSchema.dtd reference in the DOCTYPE
    declaration of xml.xsd.
    I am using Oracle XDK version 9.2.0.5.0 on Solaris 8 with Java 1.4. I
    have also tried version 10.1.0.0.0 beta and received the same results.
    Here is the test case:
    Download the following files and save them in /tmp/xsd/.
    http://schemas.xmlsoap.org/ws/2002/04/secext/secext.xsd
    http://www.w3.org/2001/xml.xsd
    http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd
    http://www.w3.org/2001/XMLSchema.dtd
    Compile and run OracleSchemaTest.java, passing 'secext.xsd' as the
    command line arg.
    java dfranklin.OracleSchemaTest secext.xsd
    It produces the following output:
    resolveEntity: null, secext.xsd
    resolved to /tmp/xsd/secext.xsd
    resolveEntity: http://schemas.xmlsoap.org/ws/2002/04/secext, http://www.w3.org/2001/xml.xsd
    resolved to /tmp/xsd/xml.xsd
    <Line 2, Column 80>: XML-0112: (Fatal Error) Error opening external DTD 'XMLSchema.dtd'.
    Exception in thread "main" oracle.xml.parser.schema.XSDException: Error opening external DTD 'XMLSchema.dtd'.
    at oracle.xml.parser.schema.XSDBuilder.parseIncludeAndImport(XSDBuilder.java:814)
    at oracle.xml.parser.schema.XSDBuilder.parseTopLevelElem(XSDBuilder.java:662)
    at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:486)
    at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:304)
    at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:249)
    at dfranklin.OracleSchemaTest.buildXMLSchema(OracleSchemaTest.java:48)
    at dfranklin.OracleSchemaTest.run(OracleSchemaTest.java:29)
    at dfranklin.OracleSchemaTest.main(OracleSchemaTest.java:23)
    The output shows that the EntityResolver is not being called to
    resolve 'XMLSchema.dtd'.
    === begin OracleSchemaTest.java ===
    package dfranklin;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.InputStream;
    import oracle.xml.parser.schema.XMLSchema;
    import oracle.xml.parser.schema.XSDBuilder;
    import oracle.xml.parser.schema.XSDException;
    import oracle.xml.parser.v2.XMLError;
    import org.xml.sax.InputSource;
    public class OracleSchemaTest
    implements org.xml.sax.EntityResolver
    private static String xsdstr;
    private static String basepath = "/tmp/xsd";
    public static void main(String[] args)
    throws Exception
    xsdstr = args[0];
    new OracleSchemaTest().run();
    public void run()
    throws Exception
    XMLSchema xmlSchema = buildXMLSchema(xsdstr);
    System.out.println("xmlSchema=" + xmlSchema);
    public XMLSchema buildXMLSchema(String systemId)
    throws Exception
    XSDBuilder xsdBuilder = new XSDBuilder();
    xsdBuilder.setEntityResolver(this);
    InputStream xsdin = null;
    InputSource insrc = resolveEntity(null, xsdstr);
    if (insrc != null) {
    xsdin = insrc.getByteStream();
    if (xsdin == null) {
    throw new IOException("Can't resolve entity " + xsdstr);
    XMLSchema xmlSchema = (XMLSchema)xsdBuilder.build(xsdin, null);
    return xmlSchema;
    public InputSource resolveEntity(String publicId, String systemId)
    throws
    org.xml.sax.SAXException,
    java.io.IOException
    System.err.println("resolveEntity: " + publicId + ", " + systemId);
    String fn;
    if ("http://www.w3.org/2001/xml.xsd".equals(systemId)) {
    fn = basepath + "/" + "xml.xsd";
    } else if ("http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd".equals(systemId)) {
    fn = basepath + "/" + "xmldsig-core-schema.xsd";
    } else if ("http://www.w3.org/2001/XMLSchema.dtd".equals(systemId)) {
    fn = basepath + "/" + "XMLSchema.dtd";
    } else {
    fn = basepath + "/" + systemId;
    try {
    InputStream in = new FileInputStream(fn);
    System.err.println("resolved to " + fn);
    InputSource insrc = new InputSource(in);
    insrc.setSystemId(systemId);
    return insrc;
    } catch (FileNotFoundException e) {
    return null;
    ==== end OracleSchemaTest.java ===

    I am evaluating XDK 9.2.0.5.0 for Java and have encountered a problem
    with XML Schema support.
    I am using XSDBuilder to build an XMLSchema object from several .xsd
    files. The main .xsd file is secext.xsd, and this file imports other
    .xsd files. I assign an EntityResolver to the XSDBuilder so that all
    imported schema files will be read from my local file system, rather
    than being retrieved from the Internet.
    XSDBuilder does call my EntityResolver to resolve the import
    statements in the XML Schema files; however, it fails to call my
    EntityResolver to resolve XMLSchema.dtd reference in the DOCTYPE
    declaration of xml.xsd.
    I am using Oracle XDK version 9.2.0.5.0 on Solaris 8 with Java 1.4. I
    have also tried version 10.1.0.0.0 beta and received the same results.
    Here is the test case:
    Download the following files and save them in /tmp/xsd/.
    http://schemas.xmlsoap.org/ws/2002/04/secext/secext.xsd
    http://www.w3.org/2001/xml.xsd
    http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd
    http://www.w3.org/2001/XMLSchema.dtd
    Compile and run OracleSchemaTest.java, passing 'secext.xsd' as the
    command line arg.
    java dfranklin.OracleSchemaTest secext.xsd
    It produces the following output:
    resolveEntity: null, secext.xsd
    resolved to /tmp/xsd/secext.xsd
    resolveEntity: http://schemas.xmlsoap.org/ws/2002/04/secext, http://www.w3.org/2001/xml.xsd
    resolved to /tmp/xsd/xml.xsd
    <Line 2, Column 80>: XML-0112: (Fatal Error) Error opening external DTD 'XMLSchema.dtd'.
    Exception in thread "main" oracle.xml.parser.schema.XSDException: Error opening external DTD 'XMLSchema.dtd'.
    at oracle.xml.parser.schema.XSDBuilder.parseIncludeAndImport(XSDBuilder.java:814)
    at oracle.xml.parser.schema.XSDBuilder.parseTopLevelElem(XSDBuilder.java:662)
    at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:486)
    at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:304)
    at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:249)
    at dfranklin.OracleSchemaTest.buildXMLSchema(OracleSchemaTest.java:48)
    at dfranklin.OracleSchemaTest.run(OracleSchemaTest.java:29)
    at dfranklin.OracleSchemaTest.main(OracleSchemaTest.java:23)
    The output shows that the EntityResolver is not being called to
    resolve 'XMLSchema.dtd'.
    === begin OracleSchemaTest.java ===
    package dfranklin;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.InputStream;
    import oracle.xml.parser.schema.XMLSchema;
    import oracle.xml.parser.schema.XSDBuilder;
    import oracle.xml.parser.schema.XSDException;
    import oracle.xml.parser.v2.XMLError;
    import org.xml.sax.InputSource;
    public class OracleSchemaTest
    implements org.xml.sax.EntityResolver
    private static String xsdstr;
    private static String basepath = "/tmp/xsd";
    public static void main(String[] args)
    throws Exception
    xsdstr = args[0];
    new OracleSchemaTest().run();
    public void run()
    throws Exception
    XMLSchema xmlSchema = buildXMLSchema(xsdstr);
    System.out.println("xmlSchema=" + xmlSchema);
    public XMLSchema buildXMLSchema(String systemId)
    throws Exception
    XSDBuilder xsdBuilder = new XSDBuilder();
    xsdBuilder.setEntityResolver(this);
    InputStream xsdin = null;
    InputSource insrc = resolveEntity(null, xsdstr);
    if (insrc != null) {
    xsdin = insrc.getByteStream();
    if (xsdin == null) {
    throw new IOException("Can't resolve entity " + xsdstr);
    XMLSchema xmlSchema = (XMLSchema)xsdBuilder.build(xsdin, null);
    return xmlSchema;
    public InputSource resolveEntity(String publicId, String systemId)
    throws
    org.xml.sax.SAXException,
    java.io.IOException
    System.err.println("resolveEntity: " + publicId + ", " + systemId);
    String fn;
    if ("http://www.w3.org/2001/xml.xsd".equals(systemId)) {
    fn = basepath + "/" + "xml.xsd";
    } else if ("http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd".equals(systemId)) {
    fn = basepath + "/" + "xmldsig-core-schema.xsd";
    } else if ("http://www.w3.org/2001/XMLSchema.dtd".equals(systemId)) {
    fn = basepath + "/" + "XMLSchema.dtd";
    } else {
    fn = basepath + "/" + systemId;
    try {
    InputStream in = new FileInputStream(fn);
    System.err.println("resolved to " + fn);
    InputSource insrc = new InputSource(in);
    insrc.setSystemId(systemId);
    return insrc;
    } catch (FileNotFoundException e) {
    return null;
    ==== end OracleSchemaTest.java ===

  • How to resolve class reference in java?please join in!!

    Hello all!
    In delphi ,there is a statment of reference of class,like "class of TSomeClass,I have some code write in delphi expediently,but in java hardly,please give some suggestion.here are my codes in obj.pas writed in delphi:
    TObjClass = class of TObj;
    TObj = class(TObject); //TObj is a base class..
    class procedure TObj.basemethod(..)
    begin
    end;
    TApp=class(TObj);//TApp inherted from TObj;
    class procedure TApp.basemethod(...)//override the method in TObj
    begin
    end;
    TProp=class(TObj);//TProp inherted from TObj too..;
    class procedure TProp.basemethod(...) //override the method in TObj
    begin
    end;
    TObjlist=class(TObjectlist); //anther third class
    private Itemclass:TObjclass;
    constructor TObjlist.Create(AClass : TObjclass);
    begin
    Itemclass:=AClass;
    end;
    public TObjlist.somemethod();
    begin
    Itemclass.create; //hardly writed in java;
    itemclass.basemethod(); ////hardly writed in java to invoke class method;
    end;

    You need to study the javadocs for java.lang.Class and for java.reflect.*;
    Each class in a program has an associated Class object which you can get from the classname as MyClass.class or from an object as myObject.getClass()
    From the class object you can create a new instance, or you can get a Method or Constructor object from the class and invoke that.

  • [Repost] Kodo do not use cache when resolving references to objects?

    Abe,
    I noticed that if object A references object B and we read multiple A
    object which reference the same B object, this B object will be re-read
    from database for every fetched A object. If I read 100 A-object
    referencing the same B it will do 100 selects on the same B. I use
    optimistic transactions with retain values = true
    Could you please comment on it
    Thank you very much
    Alex

    Was there something else about this you'd like me to comment on?_
    No Abe that is it. I was not sure I am not doing something wrong. I
    seemed very strange to me that internal reference resolution completely
    ignore cache.
    I think it is quite important - you want believe how much it slows down
    object graph retrieval. It does not seem to be hard to implement. :-)_
    I guess when resolving a reference you would have to use the same
    validate _true/false settings as for retrieving  object?
    -----Original Message-----
    From: White, Abe [mailto:[email protected]]
    Sent: Monday, August 06, 2001 6:10 PM
    To: JDO-ListServ
    Subject: RE: [Repost] Kodo do not use cache when resolving references to
    objects?
    this B object will be re-read_
    from database for every fetched A object_Yes, this seems like inefficient behavior that we should optimize. The
    same B instance is returned from each relation, so it is not a bug, but
    obviously it is something we could be doing a little more intelligently.
    Thanks for pointing it out!
    Was there something else about this you'd like me to comment on?_

  • Kodo do not use cache when resolving references to objects?

    I noticed that if object A references object B and we read multiple A
    object which reference the same B object, this B object will be re-read
    from database for every fetched A object. If I read 100 A-object
    referencing the same B it will do 100 selects on the same B
    Alex

    Was there something else about this you'd like me to comment on?_
    No Abe that is it. I was not sure I am not doing something wrong. I
    seemed very strange to me that internal reference resolution completely
    ignore cache.
    I think it is quite important - you want believe how much it slows down
    object graph retrieval. It does not seem to be hard to implement. :-)_
    I guess when resolving a reference you would have to use the same
    validate _true/false settings as for retrieving  object?
    -----Original Message-----
    From: White, Abe [mailto:[email protected]]
    Sent: Monday, August 06, 2001 6:10 PM
    To: JDO-ListServ
    Subject: RE: [Repost] Kodo do not use cache when resolving references to
    objects?
    this B object will be re-read_
    from database for every fetched A object_Yes, this seems like inefficient behavior that we should optimize. The
    same B instance is returned from each relation, so it is not a bug, but
    obviously it is something we could be doing a little more intelligently.
    Thanks for pointing it out!
    Was there something else about this you'd like me to comment on?_

  • Javax.naming.Reference

    Hi all,
    I have deployed an EJB module in PI 7.1, but when i am checking in netweaver administrators -> "problem monitor" -> JNDI browser, it is coming as <JNDI NAME> -> class Name: javax.naming.Reference. What can be the cause of this error.
    Please help if possible! Thanks!
    Mayank

    hi Volker,
    How to check audit log entries using NWA (for trace).
    I had used module correctly in communication channel i.e. localejbs/<JNDI Name>. But when i am executing the scenario, i am getting following error from RWB:
    Message processing failed. Cause: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name localejbs/createPDFModule, cannot resolve object reference. [Root exception is javax.naming.NamingException: Error occurs while the EJB Object Factory trying to resolve JNDI reference Reference Class Name: Type: clientAppName Content: <vendor name>/AdapterModulesPDF Type: interfaceType Content: local Type: ejb-link Content: Createpdf Type: jndi-name Content: createPDFModule Type: local-home Content: com.sap.aii.af.lib.mp.module.ModuleLocalHome Type: local Content: com.sap.aii.af.lib.mp.module.ModuleLocal javax.ejb.EJBException: nested exception is: java.rmi.RemoteException: http://ERROR CODE DPL.DS.6125 Error occurred while starting application locally and wait.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: http://ERROR CODE DPL.DS.5082 Exception while preparing start of application <vendor name>/AdapterModulesPDF. at com.sap.engine.services.ejb3.runtime.impl.DefaultContainerRepository.startApp
    Regards,
    Mayank
    Edited by: Mayank  Gupta on Sep 2, 2009 6:29 AM

  • Phantom circular reference errors in spreadsheet

    I'm getting phantom circular reference errors in one of my Appleworks spreadsheets.
    I'm trying to compute the average of several sets of pairs of numbers, I have max of three pairs per line, and I'm using COUNT to determine how many pairs are present. I'm getting "can't resolve circular reference" errors occasionally when I fill down and add data for a new line, even though there aren't any circular references.
    Columns
    A= date, B=average X, C=averageY, D=number of pairs for this line
    E F = first pair, G H = second pair, I J = third pair.
    The second and third pair don't occur every day.
    These are the formulas I'm using,
    B average_X =(E_line# + G_line# + Iline#)/Dline#
    C average_Y =(F_line# + H_line# + Jline#)/Dline#
    D numPairs =COUNT(Eline#...Jline#)/2
    I add a new line each day.
    Its worked just fine until I went over 100 lines and now I occasionally get "can't resolve circular reference" erros, and the calculation cells, but there AREN'T any circular references.
    Anyone have any idea whats going on?

    I'm using AW 6.2.7 I'm on OS X 10.3.9
    I tried it with removing the AVERAGE and COUNT functions and it still happens.
    Seems like its somehow related to any references to columns J and K, even if there's no data in those cells, and no references to other cells.
    Its related to the COUNT function.
    If I drop off the last two columns it all seems to work ok.
    =(F153+H153)/(E153/2)
    where E153 is =COUNT(F153..I153)
    But if I try to use the last pair (columns J and K) it gets errors
    =(F153H153I153)/(E153/2)
    where E153 is =COUNT(F153..K153)
    DOES the COUNT function have a limitation to how many cells it can reference?
    It seems like for some reason the J column is corrupted. sometimes if there is any number in colum J it gets "circular reference error" EVEN though there is NO circulare reference only a number.
    BUT when I delete the number from Column J the error goes away.

Maybe you are looking for

  • MAC PRO 2.66, XT1900 & 3GB RAM for Aperture?

    Hi, I have read a lot of post about the performance of Aperture and CS2 and budget-wise I am thinking in buying a MAC PRO 2.66, XT1900 & 3GB RAM. Will this configuration be OK to work with Aperture and CS2? I shoot primary weedings using 8MP Canon RA

  • RDS 2012 (An Authentication error has occurred 0x607) - WINDOWS 8 ONLY

    Hi - please help. I've read many posts relating to this error, but none have fixed my issue. We have an RDS 2012 setup.  2 Servers.  Both session hosts.  only 1 is the broker.  Cert from official CA. My authentication is set to ONLY allow devices wit

  • Mac pro is operating slowly

    mac book pro is running slowly

  • Multiple users of a subscription?

    Hi. Maybe I should know this by now, but honestly the skype website is uber confusing. I want to set up a subscription to a particular country, but I'm wondering if its possible to give all the people in my skype manager access to it? I have about se

  • Scrollbar for XML text area

    HI, A newbie here and on Flash, Sorry for my poor englih too, I'm French. My pb : I the attach file you will find forfaits.fla which is connected to xml/forfaits.xml. The pb is the UI Component SROLL BAR for the textarea for the img description doesn