public Long create(String name) {
        boolean isCreated = false;
        Long genre_id = -1L;
        if (DataUtils.isEmpty(name)) {
            logger.warn("Contains null fields");
        } else {
            try {
                prepSt = prepStatements[CREATE_GENRE];
                prepSt.setString(1, name.toLowerCase());
                isCreated = prepSt.executeUpdate() > 0;
                if (isCreated) {
                    logger.debug("genre: " + name + " was created");
                    conn.commit();
                } else {
                    conn.rollback();
                }
            } catch (SQLException ex) {
                logger.error("while trying to create new GENRE", ex);
            }
        }
        if (isCreated) {
            genre_id = get(name).getId();
        }
        return genre_id;
    }