Configuring Databases for a JRuby Web Application
2013; Springer Nature; Linguagem: Inglês
10.1007/978-3-319-03934-3_5
ISSN2191-5776
Autores Tópico(s)Service-Oriented Architecture and Web Services
ResumoConfiguring databases implies configuring database parameters in a configuration file (database.yml) so that the JRuby on Rails application may access a database. For Oracle™ database, to use ActiveRecord JDBC configure the activerecord-jdbc-adapter adapter in the database.yml. For Oracle database, configure Oracle Database in two environment modes: development and production. The Oracle™ WebLogic Server, even when started in development mode, requires the production database to be configured in database.yml. For running rake tasks such as db:migrate and db:create the development database is required. At the least the url and driver parameters are required to configured. For MySQL™ database configure the activerecord-jdbcmysql-adapter adapter. The parameters for MySQL database are different than for Oracle database.
Referência(s)