[jira] [Closed] (OFBIZ-11312) DatabaseUtil.getColumnInfo(...) does not retrieve primary keys due to connection-locks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-11312) DatabaseUtil.getColumnInfo(...) does not retrieve primary keys due to connection-locks

Nicolas Malin (Jira)

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

Jacques Le Roux closed OFBIZ-11312.
-----------------------------------
    Fix Version/s: 17.12.01
                   18.12.01
       Resolution: Fixed

Thanks Benjamin,

Good job, you did not oversimplified, you [rather improved what was there before furure was used|http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/jdbc/DatabaseUtil.java?revision=1053722&view=markup&pathrev=1139851]


> DatabaseUtil.getColumnInfo(...) does not retrieve primary keys due to connection-locks
> --------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-11312
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11312
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework/webtools
>    Affects Versions: Trunk
>            Reporter: Benjamin Jugl
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: 18.12.01, 17.12.01
>
>         Attachments: OFBIZ-11312_getColumnInfo_connection_locks_001.patch
>
>
> The method DatabaseUtil.getColumnInfo(...) uses an elaborate algorithm using a  List<Future<AbstractCountingCallable>> object. This does not work properly as it runs into connection-locks. When debugging the error does not occur. I assume that the slower pace of debugging prevents the error.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)