SHARE
TWEET

ErrorCode

a guest Apr 18th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Apr 18, 2019 2:40:09 PM person.Employee jButtonEditActionPerformed
  2. SEVERE: null
  3. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Gender ='Male', DateOfBirth = '2019-04-04', MaritalStatus = 'Married' WHERE ID =' at line 1
  4.     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  5.     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  6.     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  7.     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  8.     at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
  9.     at com.mysql.jdbc.Util.getInstance(Util.java:386)
  10.     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
  11.     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
  12.     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
  13.     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
  14.     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
  15.     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2788)
  16.     at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1816)
  17.     at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1730)
  18.     at person.Employee.jButtonEditActionPerformed(Employee.java:535)
  19.     at person.Employee.access$300(Employee.java:19)
  20.     at person.Employee$4.actionPerformed(Employee.java:117)
  21.     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
  22.     at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
  23.     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
  24.     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
  25.     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
  26.     at java.awt.Component.processMouseEvent(Component.java:6539)
  27.     at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
  28.     at java.awt.Component.processEvent(Component.java:6304)
  29.     at java.awt.Container.processEvent(Container.java:2239)
  30.     at java.awt.Component.dispatchEventImpl(Component.java:4889)
  31.     at java.awt.Container.dispatchEventImpl(Container.java:2297)
  32.     at java.awt.Component.dispatchEvent(Component.java:4711)
  33.     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
  34.     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
  35.     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
  36.     at java.awt.Container.dispatchEventImpl(Container.java:2283)
  37.     at java.awt.Window.dispatchEventImpl(Window.java:2746)
  38.     at java.awt.Component.dispatchEvent(Component.java:4711)
  39.     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
  40.     at java.awt.EventQueue.access$500(EventQueue.java:97)
  41.     at java.awt.EventQueue$3.run(EventQueue.java:709)
  42.     at java.awt.EventQueue$3.run(EventQueue.java:703)
  43.     at java.security.AccessController.doPrivileged(Native Method)
  44.     at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
  45.     at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
  46.     at java.awt.EventQueue$4.run(EventQueue.java:733)
  47.     at java.awt.EventQueue$4.run(EventQueue.java:731)
  48.     at java.security.AccessController.doPrivileged(Native Method)
  49.     at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
  50.     at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
  51.     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
  52.     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
  53.     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
  54.     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
  55.     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
  56.     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top