Thank For your reply Axel
But at last i tried following whicvh got worked,
 
 sqlMapClient.startTransaction();
        sqlMapClient.insert("Code.insertCode",code);
        sqlMapClient.flushDataCache();
        sqlMapClient.commitTransaction();
        sqlMapClient.endTransaction();
 
Thanks
Venkatesan
----- Original Message -----
From: Leucht, Axel
To: user-java@ibatis.apache.org ; AVenkatesan
Sent: Thursday, December 13, 2007 1:03 PM
Subject: AW: Mysql Database not showing the inserted record

Instead of calling update() try
 Object primaryKey = sqlMapSession.insert("insertCode",code);

/Axel