Hi, all, i need to put a web application stable and
i found that all the query follows the same structure:
public synchronized Vector getProfile(Integer profileId) throws SQLException {
try {
conn = con.getConnection();
pstmt = conn.prepareStatement("select...
while (rs.next()) {
// ADD DATA IN A VECTOR
}
} catch (SQLException e) {
finally{
// close resources
}
return vector;
}
I need to know if the reserved word is necessary when i
retrieve data from a DataBase. And if they are one of posibles causes of my application crash down
I will apreciate your comments.
i found that all the query follows the same structure:
public synchronized Vector getProfile(Integer profileId) throws SQLException {
try {
conn = con.getConnection();
pstmt = conn.prepareStatement("select...
while (rs.next()) {
// ADD DATA IN A VECTOR
}
} catch (SQLException e) {
finally{
// close resources
}
return vector;
}
I need to know if the reserved word is necessary when i
retrieve data from a DataBase. And if they are one of posibles causes of my application crash down
I will apreciate your comments.