File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

stmt.executeUpdate(sql) - exception null

 
Miran Cvenkel
Ranch Hand
Posts: 172
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have somthing like this, and falls into red marked code


The sql is plain simple, this:



I run like 15 sql like this with other values and it dies on exactly this one, the rest of them works ok.

Any tip ?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of exception are you getting? Change the code to handle the exception to this:

Then copy & paste the stack trace that is printed here.
 
Miran Cvenkel
Ranch Hand
Posts: 172
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for tip.

Getting somewhere, connection is null for some reason ....
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic