Abstract
Configuring 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.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2014 The Author(s)
About this chapter
Cite this chapter
Vohra, D. (2014). Configuring Databases for a JRuby Web Application. In: JRuby Rails Web Application Development. SpringerBriefs in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-319-03934-3_5
Download citation
DOI: https://doi.org/10.1007/978-3-319-03934-3_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-03933-6
Online ISBN: 978-3-319-03934-3
eBook Packages: Computer ScienceComputer Science (R0)