Use PreparedStatement
ArrayList inplace of Vector