[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PreparedStatment vs. CallableStatement



Title: PreparedStatment vs. CallableStatement

I'm reading the docs in the java.sql package and trying to determine if I should be using PreparedStatements or CallableStatements.  I'm more or less wrapping a table row with a java object, and there are a lot of "get" and "set" methods.  Which is faster and what are the pro's and con's of each?  Recommendations?

Thanks,
Dan