Use JNDI instead of direct JDBC configurations.

In this way it is possible to avoid having the production configuration
in the repository.