[OS-JIRA] Created: (CAY-315) classloader problem in dataport

From: jira-norepl..bjectstyle.org
Date: Wed May 11 2005 - 08:03:30 EDT

  • Next message: Andrus Adamchik: "Re: Custom PK generation"

    Message:

      A new issue has been created in JIRA.

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

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

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-315
        Summary: classloader problem in dataport
           Type: Bug

         Status: Assigned
       Priority: Minor

        Project: Cayenne
       Fix Fors:
                 1.2 [DEV]
       Versions:
                 1.2 [DEV]

       Assignee: Andrus Adamchik
       Reporter: Tore Halset

        Created: Wed, 11 May 2005 8:02 AM
        Updated: Wed, 11 May 2005 8:02 AM
    Environment: Mac OS X 10.4

    Description:
    http://objectstyle.org/cayenne/lists/cayenne-user/2005/05/0097.html
    http://objectstyle.org/cayenne/lists/cayenne-user/2005/05/0098.html

    One possible fix is to bootstrap the Configuration in CayenneDataPort.execute() by adding the following line before the Configuration are initialized.

            Configuration.bootstrapSharedConfiguration(this.getClass());

    This works, but I do not know if this is the best way to solve this problem.

    Would it be possible to move data-port from examples to the core cayenne distribution? It should also have at last one unit test that tries to port a database.

     - Tore.

    ---------------------------------------------------------------------
    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 : Wed May 11 2005 - 08:03:33 EDT