• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IllegalArgumentExcepton node to traverse can not be null

 
Greenhorn
Posts: 1
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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();
}
}
 
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Suraj,

Welcome to the Ranch

What's your question? Please take time to read HowToAskQuestionsOnJavaRanch.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic