• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read a File and list the record from DB using Groovy

 
s nar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This post has NOT been accepted by the mailing list yet.
I am using the following code to read a file and store it in a array and giving the array variable as a input to the query. but the query does not list any result. Please let me know what is wrong in the code.



 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first step is to properly format your code and place it in code tags so it is easier to read. I've taken care of that for you this time.

If you do this:



Is the value of ${a} what you expect it to be?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic