Problema ao compilar meu código?

1 resposta
programaçãojavamysql
Lua_Nobrega

Pessoal me ajudem, estou programando um sisteminha com banco de dados e todas as vezes que tento executar aparece esse erro:

Exception in thread AWT-EventQueue-0 java.lang.UnsupportedOperationException: Not supported yet.

at connection.Connectionfactory$getConnection.close(Connectionfactory.java:138)

at connection.Connectionfactory.closeConnection(Connectionfactory.java:58)

at connection.Connectionfactory.closeConnection(Connectionfactory.java:67)

at model.dao.funcionarioDAO.salvar(funcionarioDAO.java:44)

at projetopoo.teladecadastro.button1ActionPerformed(teladecadastro.java:246)

at projetopoo.teladecadastro.access$300(teladecadastro.java:14)

at projetopoo.teladecadastro$4.actionPerformed(teladecadastro.java:96)

at java.awt.Button.processActionEvent(Button.java:409)

at java.awt.Button.processEvent(Button.java:377)

at java.awt.Component.dispatchEventImpl(Component.java:4889)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)

at java.awt.EventQueue.access$500(EventQueue.java:97)

at java.awt.EventQueue$3.run(EventQueue.java:709)

at java.awt.EventQueue$3.run(EventQueue.java:703)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)

at java.awt.EventQueue$4.run(EventQueue.java:731)

at java.awt.EventQueue$4.run(EventQueue.java:729)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

CONSTRUÍDO COM SUCESSO (tempo total: 23 segundos)

1 Resposta

Diego_Sampaio

manda mais informações que tipo de banco ta usando? como ta a conexão? esse erro é quando faz o que?
só assim fica dificil a galera ajudar.

Criado 2 de abril de 2017
Ultima resposta 2 de abr. de 2017
Respostas 1
Participantes 2