Does this mean, that if my bean calls getConnection, and I call prepareStatement, this
does not really prepare, but lookup if
that SQL was prepared before?
> Today I've been hours reading Jonas' sources and I understand more about
> Jonas DataSources. I found that
> org.enhydra.jdbc.standard.StandardPooledConnection keeps a pool of
> preparedStatements (by the way, jdbc 3 specifies that stuff). So, as
> StandardXAConnections are StandardPooledConnections, I can expect to use the
> same statement (if I get the same physical connection from the pool, of
> course) even in different transactions (or non transactional contexts). Of
> course, as you said, inside a transaction I can be sure to obtain always the
> same physical connection and the same statements. Am I wrong?