Skip to Content
0
Feb 27, 2007 at 09:38 AM

Delete Operation in JDBC Sender Adapter not works

152 Views

Hi,

I have one student table which contains the fields ID,Name,BirthMonth,BirthYear,ReadFlag fields. ReadFlag is a character field or lenght 1 which contains only values either 'Y' or ' '.

I want to execute delete operation in this table ie to delete the records which contains the readflag = 'Y'. So, I set the below values for the following parameters.

DELETE FROM student WHERE READFLAG = ' Y '

Query SQL Statement : SELECT * FROM student WHERE readflag = 'Y'

Update SQL Statement : DELETE FROM student WHERE READFLAG = 'Y'

Poll Interval : 60 Seconds.

There are more records in this table which contains readflag = 'Y'. But, the Adapter does not delete those records from the table i.e delete operation is not executed. At the same time, in Comm. Channel monitoring it does not show any error, but the delete operation is not carried out in the table.

I tried after 'COMMIT' the table also. But it does not work. What could be the reason ? or How to use Delete Operation effectively on the table ?

Kindly help me friends to solve this problem.

Thanking you.

Kind Regards,

Jeg.