• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IllegalArgumentExcepton node to traverse can not be null

 
Suraj Ratnaparkhi
Greenhorn
Posts: 1
Hibernate Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am getting IllegalArgumentExcepton node to traverse can not be null on following code

public void updateCustomer(int id,String customerName)
{
try
{
int row=getHibernateTemplate().bulkUpdate("update Customer set customerName =" +customerName +"where id =" +id);
if (row == 0)
{
System.out.println("Doesn't updated any row!");
}
else{
System.out.println("Updated Row: " + row);
}

}
catch (DataAccessException e) {
System.out.println("Error While updating values!!");
e.printStackTrace();
}
}
 
John Jai
Rancher
Posts: 1776
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Suraj,

Welcome to the Ranch

What's your question? Please take time to read HowToAskQuestionsOnJavaRanch.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic