You are on page 1of 1

Tell us more

Make it easier for other people to find your content by providing more information about it. In this example you will learn how the Spring JDBCTemplate simplifies the code you need to write to perform the database-related operations. The insertFo aredStatement.setString(3, forum.getForumDesc()); 45./** 46.* Execute the statement 47.*/ 48.preparedStatement.execute(); 49.} catch (SQLException e) { 50./** 51.* Handle any exception 52.*/ 53.e.printStackTrace(); 54.} finally { 55.try { 56./** 57.* Close the preparedStatement 58.*/ 59.if (preparedStatement != null) { 60.preparedStatement.cl

You might also like