IDEMPIERE-1125 2Pack: Deadlock in AdempireActivator.
This commit is contained in:
parent
98150a1dea
commit
4879ef281c
|
@ -81,7 +81,7 @@ public class AdempiereActivator implements BundleActivator, ServiceTrackerCustom
|
||||||
|
|
||||||
String where = "Name=? AND PK_Version LIKE ?";
|
String where = "Name=? AND PK_Version LIKE ?";
|
||||||
Query q = new Query(Env.getCtx(), X_AD_Package_Imp.Table_Name,
|
Query q = new Query(Env.getCtx(), X_AD_Package_Imp.Table_Name,
|
||||||
where.toString(), trxName);
|
where.toString(), null);
|
||||||
q.setParameters(new Object[] { getName(), version + "%" });
|
q.setParameters(new Object[] { getName(), version + "%" });
|
||||||
X_AD_Package_Imp pkg = q.first();
|
X_AD_Package_Imp pkg = q.first();
|
||||||
if (pkg == null) {
|
if (pkg == null) {
|
||||||
|
|
Loading…
Reference in New Issue