I am using java-hibernate-mysql combination
When i m doing update query i m getting following error. I don\'t understand what is wrong with hibernate. Following i have
to summarise
1.you should set all named params 2. when you dynamically set values to name param, there should not be : in it. in case you have : you should use string concatenation and drop the approach of named param. as said in first answer.