jdbc homework Karsa Peter

These casts are not needed.