Hi all,

just i i say in the post title, i want to write a reader and a writer in java code instead throught conf file.

In reader i want to read from a database and handle possible exceptions

How can i do thist?? I've been searched throught internet but i haven't found anything.

In writer i want to write each row processed from the reader in the same database, doing an update query. If everything is ok, i have to do an update sentence but if something is wrong i have to do another update sentence. how do i have to handle this??.

Thanks in advance.