Hi ranchers, I am new to JDBC, I wonder if the statement can be used in multi-thread. I mean i create a statement object by Connection. And pass the reference to mutli-thread, then mutli-thread uses the statement to executeQuery, can it work? And can preparedStatement work that way?
I know Connection can be used concurrently by many users, but how many is appropriate?
Thank you in advance, William.
Java is better and better, yet bitter and bitter.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com