Actually till now i am just doing ant and building the project,because till now client did not told to implement it on their environment.till now build is successfull but i am confused in passing string array.
Whether i have to pass it like this to HQL or what? columns or columns Please give me suggestion just to pass a string array in the parameterlist..
According to your example above you have a collection. You can pass it as is, you don't have to convert it to an Array. Referring to the question at hand, you only need to now that the elements in the parametersList must be of the same type or belong to the same interface that it's known to hibernate and must match the type of the property that you're querying to. Meaning that if you are passing an array of String then the property that you're querying it's a String.