[ 1854455 ] PO.initPO doesn't have transaction support

- Fixed a mistake discover by carlos.
This commit is contained in:
Heng Sin Low 2007-12-19 23:33:14 +00:00
parent f61dd20986
commit 2c79b7ff79
1 changed files with 2 additions and 2 deletions

View File

@ -59,10 +59,10 @@ public class POInfo implements Serializable
POInfo retValue = (POInfo)s_cache.get(key); POInfo retValue = (POInfo)s_cache.get(key);
if (retValue == null) if (retValue == null)
{ {
retValue = new POInfo(ctx, AD_Table_ID, false); retValue = new POInfo(ctx, AD_Table_ID, false, trxName);
if (retValue.getColumnCount() == 0) if (retValue.getColumnCount() == 0)
// May be run before Language verification // May be run before Language verification
retValue = new POInfo(ctx, AD_Table_ID, true); retValue = new POInfo(ctx, AD_Table_ID, true, trxName);
else else
s_cache.put(key, retValue); s_cache.put(key, retValue);
} }