public static void fastcloseStmt(PreparedStatement pstmt) throws SQLException
    {
        pstmt.close();
    }
Closes a statement. This method should be called within the try section of
your database logic when you reuse a statement. It may throws an exception,
so don't place it in the finally section.<br>
Example:

<pre>
 public void doSomething(Connection con) {
     PreparedStatement pstmt = null;
     try {
         pstmt = con.prepareStatement("select * from dual");
         pstmt.executeUpdate();
         ...
         <b>ConnectionManager.fastcloseStmt(pstmt);</b>
         pstmt = con.prepareStatement("select * from blah");
         ...
     }
     ...
} </pre>

@param pstmt the statement to close.
@throws SQLException if an exception occurs closing the statement
xmppserver/src/main/java/org/jivesoftware/database/DbConnectionManager.java