I need Stored procedure for my select query.
My problem is i have String array it's contain multiple mobile numbers to compare db table if available or not.if available return row values.
I am using mysql 5.1.It's not supported for comparing array values in select query.
I got error Mysql feature not supported exception.so i will change my code using String builder. I already asked.
My question:[Mysql Stored procedure with java String Array
So if any possible to compare array values using Store procedure. My select query is :
SELECT USER_ID, USER_NAME, REGISTRATION_ID, IMEI_CODE, MOBILE_NUMBER FROM USER WHERE MOBILE_NUMBER IN (String_array);
In this query return if
`String_array = "one_string_values";
It return single rows.[Using java jdbc queryforObject]
If string_array = "array_of_values"`
It return nothing i got exception Mysql feature not supported exception
Any possibilities available for using Stored procedure in my scenario.