stmt = conn.prepareStatement(sql);
stmt = prepareStatementWithKeys(conn, sql, entryId);
    public WorkflowEntry createEntry(String workflowName) throws StoreException {        Connection conn = null;        PreparedStatement stmt = null;        try {            conn = getConnection();            String sql = "INSERT INTO " + entryTable + " (" + entryId + ", " + entryName + ", " + entryState + ") VALUES (?,?,?)";            if (log.isDebugEnabled()) {                log.debug("Executing SQL statement: " + sql);            }            stmt = conn.prepareStatement(sql);            long id = getNextEntrySequence(conn);            stmt.setLong(1, id);            stmt.setString(2, workflowName);            stmt.setInt(3, WorkflowEntry.CREATED);            stmt.executeUpdate();            return new SimpleWorkflowEntry(id, workflowName, WorkflowEntry.CREATED);        } catch (SQLException e) {            throw new StoreException("Error creating new workflow instance", e);        } finally {            cleanup(conn, stmt, null);        }    }