I am very sorry to lead you down the wrong path. This is a prepared statement; not a stored procedure. I got my terminology mixed up.
This is MySQL and I do not think that the fact I am using java is relevant. As long as I can get the MySQL to produce the correct output then the rest will follow (i.e., I am passing lots of other information without any issues). The following code, as I stated, works in producing a simgle css name:
Produces the cssString of cssItalic. And this works. However, I want to be able to pass more than one css name to the client side. For this to work the client side needs to receive the css names in square brackets, quotes and separated by commas, e.g.,:
To achieve this I have tired:
I am using prepared statements for security reasons (e.g., prevent SQL injection).