Hi John,
I've rechecked my SQL statement by running it through the DBMS.
Hehehhe...sure enough there was no problem when I executed it but it still
didn't work. Then I realised it was the syntax in my SQL which somehow
worked in JDBC and the Access database I used by logically, would not be
executed.
Thanks very much for your help.
regards,
Cheong Takhoe
----------
From: John Larson[SMTP:[EMAIL PROTECTED]]
Reply To: A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology.
Sent: Thursday, April 22, 1999 8:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Mysterious DB transaction
Cheong,
You might try issuing a Commit statement as a part of the transactions.
John
Cheong Takhoe wrote:
>
> Hi,
>
> I have a servlet that updates an entry in the database using JDBC-ODBC
bridge.
> All of the transactions work fine except for one which is giving me a
crack in the head.
>
> What happens is that a transaction was said to be completed but then,
when I check
> the database, the change is not there. Worst still, it nullied my
previous values.
> I've done extensive debugging on it and can't seem to find what is the
problem since
> the JDBC statements and the SQL statements are correct.
>
> Anyone met this kind of problem before and solved it?
> Thanks
>
> regards,
> Cheong Takhoe
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html