Using JDBC Data Source with a JNDI
暂无分享,去创建一个
We used connection parameters driver, url, username and password in the database.yml to configure the production environment database. Alternatively, we may configure the production database as a data source with a JNDI (Java™ Naming and Directory Interface) name in database.yml. In this chapter we shall configure a data source in Oracle™ WebLogic Server and use the data source JNDI in the database.yml to connect to Oracle™ database.