[OS-JIRA] Created: (CAY-229) Runtime Error with Stored Procedure

From: jir..bjectstyle.org
Date: Thu Nov 04 2004 - 11:04:46 EST

  • Next message: jir..bjectstyle.org: "[OS-JIRA] Created: (CAY-230) DataContext.deleteObject(...)"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-229

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-229
        Summary: Runtime Error with Stored Procedure
           Type: Bug

         Status: Assigned
       Priority: Major

        Project: Cayenne
     Components:
                 Cayenne Core Library
                 CayenneModeler GUI
       Versions:
                 1.1

       Assignee: Andrus Adamchik
       Reporter: Beth Williams

        Created: Thu, 4 Nov 2004 11:04 AM
        Updated: Thu, 4 Nov 2004 11:04 AM
    Environment: Modeler Gui run on Windows 2000, DB Oracle run on Linux

    Description:
    When I try to import or reverse engineer a stored procedure from oracle into the Modeler we then run into problems at runtime with the error below being thrown. It seems to be having trouble with the procedure-parameter tag in the xml file, but the xml looks to be well formed. The problems seems to be just with this procedure (as seen in the *map.xml file) as we have been able to import other procedures with no problems. Any help would be much appreciated.
    Thanks,
    Beth
    org.objectstyle.cayenne.ConfigurationException: [v.1.1RC1 October 3 2004] Error during Configuration initialization. [v.1.1RC1 October 3 2004] Load failures. Main configuration class: org.objectstyle.cayenne.conf.DefaultConfiguration, details:
    domain.map.name=MembershipMap, domain.map.location=MembershipMap.map.xml, reason: map loading failed - [v.1.1RC1 October 3 2004] Wrong DataMap format, last processed tag: <procedure-parameter
    at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:304)
    at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:278)
    at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:261)
    at org.objectstyle.cayenne.conf.Configuration.getSharedConfiguration(Configuration.java:224)
    at org.objectstyle.cayenne.access.DataContext.createDataContext(DataContext.java:251)
    at org.nfib.core.service.employee.EmployeeServicesImpl.main(EmployeeServicesImpl.java:35)
    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:324)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
    Caused by: org.objectstyle.cayenne.ConfigurationException: [v.1.1RC1 October 3 2004] Load failures. Main configuration class: org.objectstyle.cayenne.conf.DefaultConfiguration, details:
    domain.map.name=MembershipMap, domain.map.location=MembershipMap.map.xml, reason: map loading failed - [v.1.1RC1 October 3 2004] Wrong DataMap format, last processed tag: <procedure-parameter
    at org.objectstyle.cayenne.conf.RuntimeLoadDelegate.finishedLoading(RuntimeLoadDelegate.java:560)
    at org.objectstyle.cayenne.conf.ConfigLoader.loadDomains(ConfigLoader.java:115)
    at org.objectstyle.cayenne.conf.DefaultConfiguration.initialize(DefaultConfiguration.java:185)
    at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:296)
    ... 10 more
    Exception in thread "main"

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Thu Nov 04 2004 - 11:04:48 EST