I'm a begginer java programmer. In my dummy projects I'm using the mysql JDBC 5.17 driver for connect to my database
Today I have a simply query
SELECT * FROM books WHERE idb IN (?)
I have this Array of int:
int[2] idBooks = new int{1,2};
and I would to select the books with the id in idBooks
When I use the API "createArrayOf" the JVM throws on the console this error:
java.sql.SQLFeatureNotSupportedException
I know that my driver not support the "createArrayOf" method, there are other solution for do that?
I hope my question is not trivial :)
Thanks a lot in advance, sorry for my english Thanks to all!!