I am creating webapplication using JSF2.0 where in mysql, I am storing images using datatype as MEDIUMBLOB.
MEDIUMBLOB
To insert values, I am using PreparedStateme
What is going wrong these days? I get solution after I ask question :(
psmnt.setNull(3, java.sql.Types.BLOB); did the trick.
psmnt.setNull(3, java.sql.Types.BLOB);