This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar


Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I receive this exception when I try to save object, using HibernateTemplate, during integration of one par of application (The part where I test Hibernate/Spring in conjuction), into present Struts 2 application.
In other words I have a Struts 2 applicatio, which work with JDBC database comunication (low level, I write every insertion, selection, and so on...).
Now, I would like to integrate Hibernate in it, so HibernateTemplate can perform such an operation. I tested this part of code where Hibernate communicate with database separately (where Spring create beans for Hibernate), and perform successful saving of objects. Now when I want to corporate this part of code with struts2 application, I get the exception from title.
What goes wrong? I 've read that 'An object of this class is thrown by Method.invoke() and Constructor.newInstance() when an exception is thrown by the method or constructor invoked through those methods', but I cannot get it what should I do. Does anyone know maybe solution???
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!