Jump to content
Changes to the Jaspersoft community edition download ×

Does jasperreports use bind variables?


ed4becky

Recommended Posts

... or string concatenation. if ${P1} = 3, is the query:

 

select type from hospital where id = ${P1}

 

resolved to:

 

select type from hospital where id + ${P1}.toString()

 

or

 

select type from hospital where id = ?

 

with ${P1} bound to ? at run time.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...