Advertisement
Kvarz

Database Derby saving URL ERROR

Sep 8th, 2014
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. java.sql.SQLSyntaxErrorException: Syntax error: Encountered ":" at line 1, column 31.
  2. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
  3. at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
  4. at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
  5. at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
  6. at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
  7. at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
  8. at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
  9. at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
  10. at myapp.Sites.insertRestaurants(Sites.java:75)
  11. at myapp.Sites.main(Sites.java:42)
  12. Caused by: java.sql.SQLException: Syntax error: Encountered ":" at line 1, column 31.
  13. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
  14. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
  15. ... 10 more
  16. Caused by: ERROR 42X01: Syntax error: Encountered ":" at line 1, column 31.
  17. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
  18. at org.apache.derby.impl.sql.compile.ParserImpl.parseStatement(Unknown Source)
  19. at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
  20. at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
  21. at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
  22. ... 4 more
  23. PAGE NAME CITY
  24. -------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement