This week's giveaway is in the Testing forum. We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line! See this thread for details.
You Used PreparedStatement getGeneratedKeys() which returns ResultSet object. ResultSet Need to be checked before using it. I mean before using ResultSet object you need to check whether data is exist or not.
Vipul.
We're all out of roofs. But we still have tiny ads:
Free, earth friendly heat - from the CodeRanch trailboss