IDEMPIERE-4047 Minor trx fix for GridTabCSVImporter
This commit is contained in:
parent
cdbb206003
commit
ed90b53e4d
|
@ -133,7 +133,7 @@ public class GridTabWrapper implements InvocationHandler
|
|||
|
||||
private final String getTrxName()
|
||||
{
|
||||
return null;
|
||||
return getGridTab().getTableModel().get_TrxName();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -775,8 +775,9 @@ public class GridField
|
|||
PreparedStatement stmt = null;
|
||||
ResultSet rs = null;
|
||||
try
|
||||
{
|
||||
stmt = DB.prepareStatement(sql, null);
|
||||
{
|
||||
String trxName = m_gridTab != null ? m_gridTab.getTableModel().get_TrxName() : null;
|
||||
stmt = DB.prepareStatement(sql, trxName);
|
||||
rs = stmt.executeQuery();
|
||||
if (rs.next())
|
||||
defStr = rs.getString(1);
|
||||
|
|
Loading…
Reference in New Issue