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
Are you executing an sql string with the : character in them? If so, Hibernate is expecting a parameter and you're not setting it.
String sql = "update SomeTable set someColumn = :value";
Using this you would usually set the value parameter using
SQLQuery query = getSession().createSQLQuery(sql);
query.setString("value", "Some value with : in it");
or similar. I can only assume your value has a : in it which does not signify a parameter so you should build this as a string and set that as the parameter.