• Post Reply Bookmark Topic Watch Topic
  • New Topic

Invalid Column Name from Java

 
santosh batta
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

A query giving "Invalid Column Name "%Threshold%" " error while executing from Java. It works fine when I try to execute it through sql dbx. Here is the query I'm reading from property file.



Does it require any extra formatting? Any help is really appreciated.. Thanks in advance.
 
Mohamed Sanaulla
Bartender
Posts: 3168
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you try using '%Threshold%' in place of "%Threshold%"?

More over which DB are you using?
 
santosh batta
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mohamed.. It worked. FYI.. I'm using sybase..
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!