Indique qual deve ser o comando seguinte:
ResultSet rs = st.executeUpdate("select * from ALUNOS");
List< Aluno > ls = st.executeQuery("select * from ALUNOS");
List ls = st().executeUpdate("select * from ALUNOS");
List< Aluno > ls = st.prepareStatement("select * from ALUNOS");
ResultSet rs = st.executeQuery("select * from ALUNOS");
Para escrever sua resposta aqui, entre ou crie uma conta
Compartilhar