You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Patrick Linskey (JIRA)" <ji...@apache.org> on 2008/01/23 20:33:33 UTC

[jira] Resolved: (OPENJPA-500) OpenJPAEntityManager.isManaged() is a confusing method name

     [ https://issues.apache.org/jira/browse/OPENJPA-500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Linskey resolved OPENJPA-500.
-------------------------------------

    Resolution: Fixed

Deprecated isManaged() and added isTransactionManaged() instead.

> OpenJPAEntityManager.isManaged() is a confusing method name
> -----------------------------------------------------------
>
>                 Key: OPENJPA-500
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-500
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: jpa
>    Affects Versions: 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1
>            Reporter: Patrick Linskey
>             Fix For: 1.1.0
>
>
> OpenJPAEntityManager.isManaged() is too close naming-wise to isTransient(Object), isDirty(Object), etc. We should deprecate this method and change the method name to something more self-documenting.

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