public Boolean estocarNovos(List<Estoque> estoques) {
        Boolean sucesso = false;
        if (estoques != null) {
            Connection connection = conexao.getConnection();
            try {
                String valorDoComandoUm = comandos.get("estocarNovos" + 1);
                String valorDoComandoDois = comandos.get("estocarNovos" + 2);
                StringBuilder query = new StringBuilder(valorDoComandoUm);
                for (int i = 0; i < estoques.size(); i++) {
                    query.append("\n").append(valorDoComandoDois);
                }
                connection.setAutoCommit(false);
                PreparedStatement preparedStatement = connection.prepareStatement(query.toString());
                query.delete(0, query.length());
                int indice = 1;
                for (Estoque estoque : estoques) {
                    preparedStatement.setInt(indice++, estoque.getMaterial().getCodigo());
                    preparedStatement.setString(indice++, estoque.getLocalLogicoFisico());
                }
                preparedStatement.execute();
                connection.commit();
                connection.setAutoCommit(true);
                sucesso = true;
            } catch (SQLException ex) {
                try {
                    connection.rollback();
                } catch (SQLException ex1) {
                }
                throw new RuntimeException(ex.getMessage());
            } catch (NullPointerException ex) {
                throw new RuntimeException(ex.getMessage());
            } catch (Exception ex) {
                throw new RuntimeException(ex.getMessage());
            } finally {
                conexao.fecharConnection();
            }
        }
        return sucesso;
    }