Advertisement
vamsiampolu

Error inserting to db

Apr 8th, 2014
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.90 KB | None | 0 0
  1. Insert into ZMAPERP_GIS_DB (GISUNIQKEY,OBJTYPE,OBJKEY,LATITUDE,LONGITUDE) values(38607726665A1ED392B6975982C9111D,EQUI,123456,-29.152161283318915,144.052734375);
  2.       com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column '38607726665A1ED392B6975982C9111D' in 'field list'
  3.     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  4.     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
  5.     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  6.     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
  7.     at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
  8.     at com.mysql.jdbc.Util.getInstance(Util.java:384)
  9.     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
  10.     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
  11.     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
  12.     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
  13.     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
  14.     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2832)
  15.     at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1755)
  16.     at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1679)
  17.     at com.hastha.marerp.googlemaps.DBUtils.insertValues(DBUtils.java:86)
  18.     at com.hastha.marerp.googlemaps.LoadCreateScenarioServlet.doGet(LoadCreateScenarioServlet.java:71)
  19.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
  20.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
  21.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
  22.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  23.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
  24.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
  25.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  26.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
  27.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
  28.     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
  29.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  30.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
  31.     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
  32.     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
  33.     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
  34.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  35.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  36.     at java.lang.Thread.run(Thread.java:744)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement