1. Is it because the first set uses standard JDBC connection, and the "connection.datasource" uses the JNDI lookup for a container managed datasource ? i.e. we configure the datasource somewhere else and specifies in this config file ?
2. Can I say that if we use the second approach, then we do NOT have to include the "password" in our config file, but if we go with JDBC connection, we have to include that password in this hibernate config file ?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads