This figure shows that a prepareStatement or a prepareCall method automatically triggers a search of the cache for the statement being created. If the statement exists in cache, it is re-initialized and returned. If the statement does not exist in cache, it is created and then returned.