Jump to content
We've recently updated our Privacy Statement, available here ×

How to use IN in SQL


awinter17

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

So it looks like you have the syntax right for the comparison in sql. Then set up a parameter with class Collection and then nested type name as whatever your list is made of (eg Integer). Then you can either define a static paramter on the server or define your list of available values from a query based input. You can also assign a default value for the list like so '(java.util.Collection)(Arrays.asList(1,2,3))'

Link to comment
Share on other sites

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...