public class Dao
{
public int ifSuccess(UploadForm form) throws NamingException, SQLException
{
FormFile file=form.getFile();
Dbutil db=new Dbutil();
String sql="insert into photoform values(message_s.nextval,EMPTY_BLOB())";
int count=db.UpdateSql(sql);
return count;