You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2010/12/31 13:51:47 UTC

[jira] Created: (OPENJPA-1909) enhance unit tests with the correct persistence.xml

enhance unit tests with the correct persistence.xml
---------------------------------------------------

                 Key: OPENJPA-1909
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1909
             Project: OpenJPA
          Issue Type: Bug
          Components: build / infrastructure
    Affects Versions: 2.0.1, 2.0.0, 2.1.0
            Reporter: Mark Struberg
             Fix For: 2.1.0, 2.2.0


in OPENJPA-1900 I found out that we do not enhance our entities with the configuration which get used later while running the unit tests.

But enhancing sometimes has a huge implication on the behaviour! Thus we should always try to use the same persistence.xml for enhancing as we do for running the unit tests.

This small patch fixes the usage for our proxy tests which use openjpa.DetachState=fetch-groups (leading to Externalizable entities)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OPENJPA-1909) enhance unit tests with the correct persistence.xml

Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dick reassigned OPENJPA-1909:
-------------------------------------

    Assignee: Michael Dick

Is the update to the maven plugin version needed here? I'm not opposed to upgrading, but it seems extraneous for this problem. 

> enhance unit tests with the correct persistence.xml
> ---------------------------------------------------
>
>                 Key: OPENJPA-1909
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1909
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: build / infrastructure
>    Affects Versions: 2.0.0, 2.0.1, 2.1.0
>            Reporter: Mark Struberg
>            Assignee: Michael Dick
>             Fix For: 2.1.0, 2.2.0
>
>         Attachments: OPENJPA-1909.patch
>
>
> in OPENJPA-1900 I found out that we do not enhance our entities with the configuration which get used later while running the unit tests.
> But enhancing sometimes has a huge implication on the behaviour! Thus we should always try to use the same persistence.xml for enhancing as we do for running the unit tests.
> This small patch fixes the usage for our proxy tests which use openjpa.DetachState=fetch-groups (leading to Externalizable entities)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1909) enhance unit tests with the correct persistence.xml

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg updated OPENJPA-1909:
-----------------------------------

    Attachment: OPENJPA-1909.patch

> enhance unit tests with the correct persistence.xml
> ---------------------------------------------------
>
>                 Key: OPENJPA-1909
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1909
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: build / infrastructure
>    Affects Versions: 2.0.0, 2.0.1, 2.1.0
>            Reporter: Mark Struberg
>             Fix For: 2.1.0, 2.2.0
>
>         Attachments: OPENJPA-1909.patch
>
>
> in OPENJPA-1900 I found out that we do not enhance our entities with the configuration which get used later while running the unit tests.
> But enhancing sometimes has a huge implication on the behaviour! Thus we should always try to use the same persistence.xml for enhancing as we do for running the unit tests.
> This small patch fixes the usage for our proxy tests which use openjpa.DetachState=fetch-groups (leading to Externalizable entities)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1909) enhance unit tests with the correct persistence.xml

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978824#action_12978824 ] 

Mark Struberg commented on OPENJPA-1909:
----------------------------------------

it's not needed, should get moved to an own issue.

> enhance unit tests with the correct persistence.xml
> ---------------------------------------------------
>
>                 Key: OPENJPA-1909
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1909
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: build / infrastructure
>    Affects Versions: 2.0.0, 2.0.1, 2.1.0
>            Reporter: Mark Struberg
>            Assignee: Michael Dick
>             Fix For: 2.2.0
>
>         Attachments: OPENJPA-1909.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> in OPENJPA-1900 I found out that we do not enhance our entities with the configuration which get used later while running the unit tests.
> But enhancing sometimes has a huge implication on the behaviour! Thus we should always try to use the same persistence.xml for enhancing as we do for running the unit tests.
> This small patch fixes the usage for our proxy tests which use openjpa.DetachState=fetch-groups (leading to Externalizable entities)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1909) enhance unit tests with the correct persistence.xml

Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dick updated OPENJPA-1909:
----------------------------------

    Fix Version/s: 2.1.0

> enhance unit tests with the correct persistence.xml
> ---------------------------------------------------
>
>                 Key: OPENJPA-1909
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1909
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: build / infrastructure
>    Affects Versions: 2.0.0, 2.0.1, 2.1.0
>            Reporter: Mark Struberg
>            Assignee: Michael Dick
>             Fix For: 2.1.0, 2.2.0
>
>         Attachments: OPENJPA-1909.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> in OPENJPA-1900 I found out that we do not enhance our entities with the configuration which get used later while running the unit tests.
> But enhancing sometimes has a huge implication on the behaviour! Thus we should always try to use the same persistence.xml for enhancing as we do for running the unit tests.
> This small patch fixes the usage for our proxy tests which use openjpa.DetachState=fetch-groups (leading to Externalizable entities)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1909) enhance unit tests with the correct persistence.xml

Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dick updated OPENJPA-1909:
----------------------------------

         Fix Version/s:     (was: 2.1.0)
    Remaining Estimate: 0h
     Original Estimate: 0h

> enhance unit tests with the correct persistence.xml
> ---------------------------------------------------
>
>                 Key: OPENJPA-1909
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1909
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: build / infrastructure
>    Affects Versions: 2.0.0, 2.0.1, 2.1.0
>            Reporter: Mark Struberg
>            Assignee: Michael Dick
>             Fix For: 2.2.0
>
>         Attachments: OPENJPA-1909.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> in OPENJPA-1900 I found out that we do not enhance our entities with the configuration which get used later while running the unit tests.
> But enhancing sometimes has a huge implication on the behaviour! Thus we should always try to use the same persistence.xml for enhancing as we do for running the unit tests.
> This small patch fixes the usage for our proxy tests which use openjpa.DetachState=fetch-groups (leading to Externalizable entities)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENJPA-1909) enhance unit tests with the correct persistence.xml

Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dick resolved OPENJPA-1909.
-----------------------------------

    Resolution: Fixed

> enhance unit tests with the correct persistence.xml
> ---------------------------------------------------
>
>                 Key: OPENJPA-1909
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1909
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: build / infrastructure
>    Affects Versions: 2.0.0, 2.0.1, 2.1.0
>            Reporter: Mark Struberg
>            Assignee: Michael Dick
>             Fix For: 2.2.0
>
>         Attachments: OPENJPA-1909.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> in OPENJPA-1900 I found out that we do not enhance our entities with the configuration which get used later while running the unit tests.
> But enhancing sometimes has a huge implication on the behaviour! Thus we should always try to use the same persistence.xml for enhancing as we do for running the unit tests.
> This small patch fixes the usage for our proxy tests which use openjpa.DetachState=fetch-groups (leading to Externalizable entities)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.