Javaee IDE Eclipse

Asked

Viewed 19 times

0

Good evening Guys I’m new in the group and I’m having a problem with my code someone could give me a hint this is the error that the system is returning me:

com.mysql.jdbc.exceptions.jdbc4.Mysqlsyntaxerrorexception: Unknown column 'Login' in 'field list' at sun.reflect.Nativeconstructoraccessorimpl.newInstance0(Native Method) at sun.reflect.Nativeconstructoraccessorimpl.newInstance(Nativeconstructoraccessorimpl.java:57) at sun.reflect.Delegatingconstructoraccessorimpl.newInstance(Delegatingconstructoraccessorimpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.Util.getInstance(Util.java:386) at com.mysql.jdbc.SQLError.createSQLException(Sqlerror.java:1052) at com.mysql.jdbc.MysqlIO.checkErrorPacket(Mysqlio.java:3609) at com.mysql.jdbc.MysqlIO.checkErrorPacket(Mysqlio.java:3541) at com.mysql.jdbc.MysqlIO.sendCommand(Mysqlio.java:2002) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(Mysqlio.java:2163) at com.mysql.jdbc.ConnectionImpl.execSQL(Connectionimpl.java:2624) com.mysql.jdbc.PreparedStatement.executeInternal(Preparedstatement.java:2127) com.mysql.jdbc.PreparedStatement.execute(Preparedstatement.java:1362) at br.com.worldinformaticasystemassoftware.jdbc.Classusuariodao.Cadastrar(Classusuariodao.java:31) at br.com.worldinformaticasystemassoftware.teste.Classusuarioteste.Testetrar(Classusuarioteste.java:27) at br.com.worldinformaticasystemassoftware.teste.Classusuarioteste.main(Classusuarioteste.java:10)

  • 1

    Could you enter the code? edit the question and use the button { } to format it

  • Classusuarioteste

  • Use the link edit and add the problem(s) method(s). Take advantage of and see how the site structure works on tour

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.