BF[2861697] Incorrect string conversion in ImportHelper
https://sourceforge.net/tracker/index.php?func=detail&aid=2861697&group_id=176962&atid=879332
This commit is contained in:
parent
2ace0a4c93
commit
6c617e53e8
|
@ -70,6 +70,9 @@ import org.w3c.dom.NodeList;
|
||||||
* @author victor.perez@e-evolution.com, www.e-evolution.com
|
* @author victor.perez@e-evolution.com, www.e-evolution.com
|
||||||
* <li>BF[2836406] Error when try get ID but do not is the first field
|
* <li>BF[2836406] Error when try get ID but do not is the first field
|
||||||
* <li>
|
* <li>
|
||||||
|
* @author michael.judd@akunagroup.com, http://www.akunagroup.com
|
||||||
|
* <li> BF[2861697] Incorrect string conversion
|
||||||
|
* <li> https://sourceforge.net/tracker/index.php?func=detail&aid=2861697&group_id=176962&atid=879332
|
||||||
*/
|
*/
|
||||||
public class ImportHelper {
|
public class ImportHelper {
|
||||||
|
|
||||||
|
@ -643,7 +646,7 @@ public class ImportHelper {
|
||||||
|| col.getAD_Reference_ID() == DisplayType.TableDir
|
|| col.getAD_Reference_ID() == DisplayType.TableDir
|
||||||
|| col.getAD_Reference_ID() == DisplayType.Table)
|
|| col.getAD_Reference_ID() == DisplayType.Table)
|
||||||
{
|
{
|
||||||
String stringValue = (String)values[i];
|
String stringValue = (String)values[i].toString();
|
||||||
int value = Integer.parseInt(stringValue);
|
int value = Integer.parseInt(stringValue);
|
||||||
pstmt.setInt(i+1, value);
|
pstmt.setInt(i+1, value);
|
||||||
log.info("pstmt.setInt["+(i+1)+"] = [" + value +"]");
|
log.info("pstmt.setInt["+(i+1)+"] = [" + value +"]");
|
||||||
|
|
Loading…
Reference in New Issue