Let's assume we are using oracle driver, How the JDBC driver knows that the given Prepared statement is already parsed ?.
Will it take some status from the "Oracle DB Shared Pool " for that Prepared statement . (Or ) within the JDBC driver it is mantaining some Pool for the Prepared Statements ?.
It can be different depending on the database, but from waht I've heard, Oracle matches the (case-sensitive) String. As long as you pass the same String it will be matched by the database. If you pass a slightly different string... it will be a different PreparedStatement.
If you settle for what they are giving you, you deserve what you get. Fight for this tiny ad!
a bit of art, as a gift, the permaculture playing cards