This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi all, I am trying to execute a program to insert values into a table named Contact present in mysql. This same program was working about a two weeks back. I did not touch it for the last two weeks. Now when i run it i am getteing the following message:
The table Contact which is in MYSQL looks like the following:
Column Type --------------------------- ID int FIRSTNAME varchar LASTNAME varchar EMAIL varchar
My .hbm.xml file looks like the following:
The class Contact looks like the following:
And the class InsertExample.java in which i do the data insertion looks like the following: