This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am Implementing a MadelDriven interface with its getModel() mehtod in Action class and passing an object of an bean(POJO) class
to save the bean boject but it thrown an Exception like that
javax.servlet.ServletException: could not insert: [beans.CapabilityBuildingDTO]
suraj savaratkar wrote:
org.hibernate.exception.SQLGrammarException: could not insert: [beans.CapabilityBuildingDTO]
Its hibernate that's causing the problem, and this is not the right forum to ask Hibernate related question. A moderator will soon move you the appropriate forum, Meanwhile post the DB code which inserts the record here.