IDEMPIERE-1125 2Pack: Deadlock in AdempireActivator.

This commit is contained in:
Heng Sin Low 2013-07-02 12:46:05 +08:00
parent 98150a1dea
commit 4879ef281c
1 changed files with 1 additions and 1 deletions

View File

@ -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) {