Does your cache model have a flushOnExecute for that insert statement?

Larry


On Dec 13, 2007 12:22 AM, AVenkatesan <[EMAIL PROTECTED]> wrote:
>
>
> 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: [email protected] ; 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

Reply via email to