openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pinaki Poddar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-891) JPA2 LockTypeMode Support
Date Mon, 09 Mar 2009 19:55:50 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680247#action_12680247
] 

Pinaki Poddar commented on OPENJPA-891:
---------------------------------------

> 3. SQLExceptions
>>Not sure what this is referring to.

Just a minor comment. In the following code LockManager lm is never used. 

public static OpenJPAException getStoreSQLException(
        OpenJPAConfiguration config, SQLException se, DBDictionary dict,
        int level) {
        OpenJPAException storeEx = SQLExceptions.getStore(se, dict);
        String lm = config.getLockManager();
        if (storeEx.getSubtype() == StoreException.LOCK) {
            LockException lockEx = (LockException) storeEx;
            lockEx.setLockLevel(level);
        }
        return storeEx;
    }

> JPA2 LockTypeMode Support
> -------------------------
>
>                 Key: OPENJPA-891
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-891
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: jpa
>    Affects Versions: 2.0.0
>            Reporter: Albert Lee
>            Assignee: Albert Lee
>             Fix For: 2.0.0
>
>


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


Mime
View raw message