This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jasper - Query with parameters

 
Pablo M´┐Żller
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm starting to use jasper and I need to pass some parameters to a query for the where clause, but if the parameters are null (or "", etc) I don't want the where to be there. Is there any way to do this without providing the whole query as a parameter?
Thanks,
Pablo
 
Marco All
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I love to recover old "discussion"

I use JasperServer and iReport.

I've a query like: "SELECT * FROM contact WHERE code='01' " and I would like that the user could decide to enter the code 01 or the code 02 before the launch.

I've tried to use the input control but that was a good way to do that...


Do you have any suggestion?
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marco,

We try to NotWakeTheZombies. Can you post your problem in a new thread please
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic