Might be a stupid consideration, but based on which database you use and how you retrieve connections to it, you must explicitly call the method commit() on Connection to actually save data on the database. Just my 2 cents.
Joined: Mar 22, 2008
Originally posted by Peter van de Riet: If the email doesn't exists then the statement rs.next() return false. I think you have to move the else-part to the other if.
its update the email now if exists but not inserting new record into db